RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Possible Hypseus Cliff Hanger Control issue

    Scheduled Pinned Locked Moved Help and Support
    hypseusdualshock 4controlcliffhanger
    3 Posts 2 Posters 255 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • roslofR
      roslof
      last edited by

      @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

      DirtBagXonD 1 Reply Last reply Reply Quote 0
      • DirtBagXonD
        DirtBagXon @roslof
        last edited by DirtBagXon

        Heya @roslof ,

        I can't replicate this, I can set XBox360 'A' button (checked in hypjsch as 001) 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 as BUTTON2 as seen in the source: https://github.com/DirtBagXon/hypseus-singe/blob/master/src/game/cliff.cpp#L526 - as FEET with BUTTON1 acting as HANDS

        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.

        Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
        Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
        Hypseus Discord: https://discord.gg/dgCsCfmRfJ

        1 Reply Last reply Reply Quote 0
        • DirtBagXonD
          DirtBagXon
          last edited by

          For the record the 'X' button on my XBox360 Controller is detected as 003 via hypjsch

          So I doubled checked that against the Joystick API config:

          KEY_BUTTON2 = SDLK_LALT 0 3
          

          And again 'X' was FEET and played fine.

          Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
          Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
          Hypseus Discord: https://discord.gg/dgCsCfmRfJ

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          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.