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

    Help with ZX Spectrum controls

    Scheduled Pinned Locked Moved Help and Support
    zx spectrumcontroller
    5 Posts 3 Posters 3.7k 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.
    • P
      prl
      last edited by prl

      Hello,

      I'm having a weird problem configuring the controller for ZX Spectrum in Retropie and any help would be appreciated.

      A bit of context: I have a custom arcade bartop that I build with Retropie (4.4) on a Raspberry Pi (3 B+) and have a couple of joysticks with 6 buttons plus start and select for each player and a hotkey.

      The A/B/X/Y/L/R buttons are configured as in this picture:

      alt text

      I have several emulators working (NES, SNES, Genesis, Arcade, NeoGeo, ...) and the controllers work fine in all the platforms, all the buttons are well configured (for example: A/B/C buttons in Genesis games are correctly mapped to 3 of my buttons).

      The problem is with the controls in ZX Spectrum. I added Chuckie Egg to the system but the controls are not working correctly. The D-Pad doesn't (only the up direction is working and it moves the character to the left). Buttons B/X/Y in the layout above also move the character to the left and the A Button moves it to the right. I'm using Sinclair Joystick 1 as the User 1 Device Type.

      I'm using lr-fuse as the emulator for the game. I already tried several things like re-configuring the input in Emulation Station, tried to rebind input controls in Retroarch and even reinstalling lr-fuse and using ZEsarUX.

      This is the configuration in Retroarch:

      alt text

      I also went through the docs at https://github.com/retropie/retropie-setup/wiki/ZX-Spectrum but didn't get much help rom there. Any help would be great.

      Thanks

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @prl
        last edited by

        @prl Chuckie Egg didn't support joysticks so a keyboard would normally be required. Fortunately it is possible to map a joypad to a keyboard in lr-fuse and ZEsarUX.

        I have added a section in the wiki on how to do this in lr-fuse: https://github.com/RetroPie/RetroPie-Setup/wiki/ZX-Spectrum#joypad-to-keyboard-mapping

        If you wish to map a joypad to a keyboard in ZEsarUX, then you can follow this guide: https://dosonthepi.blogspot.com/2015/08/mapping-keys-to-game-controllers-in.html

        1 Reply Last reply Reply Quote 1
        • P
          prl
          last edited by

          @dudleydes thank you for your reply. I'll test this later on and give some feedback.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            To save, return to Quick menu -> Options in the RGUI and select Game-options file. This will save the mappings to a game specific options file.

            That is from the linked help file, which is nice to know. I was using Retroarch's save-per-game, and it didn't save the mappings, now I know why.
            BTW, Chuckie egg only needs mapping for the "Up" key - No.4 or No.9. Then use "Cursor Keys" for your User 1 Device Type, and select option 2, in-game, for cursor keys.

            1 Reply Last reply Reply Quote 0
            • P
              prl
              last edited by

              @dudleydes that worked, thank you so much!

              1 Reply Last reply Reply Quote 0
              • 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.