Possible Hypseus Cliff Hanger Control issue
-
@DirtBagXon I was going to file a bug at your repo, but before I do, wanted to check with you first. I'm using a Dual Shock 4 controller and noticed a while back that Cliff Hanger's "Foot" button stopped working for me. It was historically mapped to the DS4 "X" button (AKA "1" in hypinput.ini speak).
What I believe is that Cliff has always been a weird one. The arcade cabinet had no real "START" button. "Hand" and "Foot" where the only buttons and "Foot" was used to start the game.
You'll note that the START button can actually be used for "Foot" which is correct behavior, but historically in Daphne and the earlier years of Hypseus,
KEY_BUTTON2
could also be used for "Foot". LALT works fine, as mapped by default.After banging my head for a bit, determined that this will not work:
KEY_BUTTON2 = SDLK_LALT 1 1
Again, this should map to the blue X button on the DS4 controller, but pressing the button yields no response. I can confirm "1 1" does not exist for any other item and is unique to this line when tested.But oddly, the following works and maps correctly to the red Circle button on the DS4 controller
KEY_BUTTON2 = SDLK_LALT 1 2
I cannot, under any circumstance use "1" as a value here, but only for Cliff Hanger. I suspect it may have to do with its unique configuration and some historic change to Hypseus.
Hope this isn't a false alarm, but I'm fairly confident there is an issue here.
Cheers!
-ros -
Heya @roslof ,
I can't replicate this, I can set XBox360 'A' button (checked in
hypjsch
as001
) in Joystick API Config:hypinput.ini
:KEY_BUTTON2 = SDLK_LALT 0 1
Works fine.
I can set the 'A' button in the Game Controller API config:
hypinput_gamepad.ini
KEY_BUTTON2 = SDLK_LALT 0 BUTTON_A 0 0
Works fine.
You are correct Cliff is weird and
START
acts asBUTTON2
as seen in the source: https://github.com/DirtBagXon/hypseus-singe/blob/master/src/game/cliff.cpp#L526 - asFEET
withBUTTON1
acting asHANDS
You are aware of the config file change that occurred in 2.11.5. As per the release notes:
The default config file for -gamepad has changed to hypinput_gamepad.ini Ensure you copy any existing config for Gamepads to the new file location. If the config file does not exist, a new default keymap file will be generated. This location can be overridden, as previously, with the -keymapfile argument.
But from the way you explained your config, it seems you don't use
-gamepad
and are using the old Joystick API config. But in any case both seem to work fine on current source tree. -
For the record the 'X' button on my XBox360 Controller is detected as
003
viahypjsch
So I doubled checked that against the Joystick API config:
KEY_BUTTON2 = SDLK_LALT 0 3
And again 'X' was
FEET
and played fine.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.