English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 18 April 2018, 03:54   #1
xga
 
Posts: n/a
Does the QuitKey option support multiple buttons?

Hi guys,

I've discovered that some WHDLoad games (e.g. Battle Squadron V1.6) allow you to quit the game by pressing FORWARD+REVERSE+PLAY on the CD32 joypad. I'm wondering if it is technically possible to set the QuitKey option to use this same three button combination in the WHDLoad global configuration (WHDLoad.prefs) and if so, how?

Thanks in advance!
 
Old 18 April 2018, 13:27   #2
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
This is currently not possible. Only single keys can be setup for QuitKey.
See http://whdload.de/docs/en/rawkey.html
Wepl is offline  
Old 19 April 2018, 05:23   #3
xga
 
Posts: n/a
Thanks for your reply, Wepl.

Hopefully this is something that can be implemented into WHDLoad in a future version.
 
Old 20 April 2018, 23:20   #4
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Yeah quitting WHDLoad via a global CD32 joypad combination would be amazing for CD32 users.
CD32Load resets on a combination, this would also work I guess, but quitting would be cleaner.
Amiga1992 is offline  
Old 16 June 2018, 09:19   #5
wairnair
Registered User
 
Join Date: Jul 2017
Location: Budapest
Posts: 355
FORWARD + RELEASE + PLAY sounds good for a global quit key too.
Even games that use the shoulder buttons as shift keys (wing commander, liberation, subwar 2050, anything else?) don't involve the play button in their combinations, AFAIK.
This would be a great feature!
wairnair is offline  
Old 28 January 2019, 11:04   #6
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
I have added a new quitkey for this combination. Use $11a for joypad in port #1. See also http://whdload.de/docs/en/rawkey.html and note that using joypad buttons as quitkey in WHDLoad will make it impossible for the installed game to check the joypad buttons.
Latest beta 18.4: http://whdload.de/whdload/whd184.lha
Wepl is offline  
Old 28 January 2019, 21:21   #7
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
Bert you're halfway through remapping joypad buttons to keys like CD32load or JST do.
jotd is offline  
Old 28 January 2019, 23:37   #8
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
Quote:
Originally Posted by jotd View Post
Bert you're halfway through remapping joypad buttons to keys like CD32load or JST do.
But AFAIK this remapping is in game. The change here is only for the splash window.
I see demand to control the splash window options via stick/pad but don't have an idea how to do this via intuition.
Wepl is offline  
Old 19 January 2023, 23:05   #9
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,436
Quote:
Originally Posted by Wepl View Post
I have added a new quitkey for this combination. Use $11a for joypad in port #1. See also http://whdload.de/docs/en/rawkey.html and note that using joypad buttons as quitkey in WHDLoad will make it impossible for the installed game to check the joypad buttons.
Latest beta 18.4: http://whdload.de/whdload/whd184.lha

I tried that and generally it works great with my pad and quitkey=$11a. But it causes issues with some games. The actual slave from Midnight Resistance crashes always after the title screen. And in Lionheart the background graphics flickers like hell. Setting a normal keyboard quitkey works pefectly fine with both games. No poblem at all.


So, my question: Is this problem fixable via slave update (or a WHDLoad update)? Or is this some kind of interrupt problem that happens if you decide to use the joypad combo quitkey (with $11a)? I would assume other games could cause similar problems.

edit: Or does it happen for both games because they have full CD32 controller support via slave? All CD32 button mappings are fine though, they work as intended with a $11a quitkey.

Last edited by Retro-Nerd; 19 January 2023 at 23:20.
Retro-Nerd is offline  
Old 01 February 2023, 23:55   #10
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
It very probably happens because these installs/games ask the joypad itself.
But it's strange that Midnight does crash. This should not happen. You could open a bugreport.
Wepl is offline  
Old 02 February 2023, 00:27   #11
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,436
Thanks, Wepl. Will open a bugreport then the next days (if i don't forget).
Retro-Nerd is offline  
Old 02 February 2023, 01:08   #12
Hungry Horace
Wipe-Out Enthusiast
 
Hungry Horace's Avatar
 
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
The CD32 pad reading code used on Mid Res might not be as good as some of the updated code doing the rounds these days - it might be worth updating it.

I had a CD32 adaptor which refused to work on Cybernoid, possibly due to similar reasons, and I was thinking of revisiting these to see if the new CD32read code fixed them.
Hungry Horace is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
68000 Quitkey option wishes lolafg project.WHDLoad 14 12 June 2013 11:24
Map spare gamepad buttons to left/right mouse buttons (for skipping intros) dreamkatcha support.FS-UAE 6 02 February 2013 23:03
Changing the Quitkey option Jherek Carnelia project.WHDLoad 2 29 June 2008 23:42
Quitkey in WHDload killergorilla support.Games 2 05 April 2004 19:16
Quitkey in WHDLoad Locash support.Apps 4 26 October 2003 18:11

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:41.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.18211 seconds with 15 queries