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

    ScummVM map keys

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 7 Posters 4.4k 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.
    • J
      Jzooor
      last edited by

      Is it possible to remap keys for scummvm? I have an arcade panel with a track ball and all of the switches mapped to various keyboard buttons with none mapped to mouse clicks. I would like to remap controls in scummvm to use keyboard inputs for clicks and whatnot. Is this possible? I see there is a [keymapper] entry in the scummvm.ini but I can't find any information about mapping keys.

      herb_fargusH mattrixkM B 3 Replies Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @Jzooor
        last edited by herb_fargus

        @Jzooor keys are hard coded. You'll have to dig into the source code and recompile if you want them remapped.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • mattrixkM
          mattrixk @Jzooor
          last edited by

          @Jzooor I followed this guide to get my PS3 controller to work with ScummVM. I don't know if it will help you with your problem, but it might be a place to start.

          My ES themes: MetaPixel | Spare | Io | Indent

          S 1 Reply Last reply Reply Quote 0
          • S
            Sevik @mattrixk
            last edited by Sevik

            @mattrixk said in ScummVM map keys:

            @Jzooor I followed this guide to get my PS3 controller to work with ScummVM. I don't know if it will help you with your problem, but it might be a place to start.

            I used this guide now for several version of retropie and it works perfect. Takes a bit oft time to compile (less than an hour on rpi3).
            Only drawback using this combination is, in the last versions there is a "mouse lag" with the controller but I'm quite sure it has nothing to do with the mentioned guide (but with the change to sdl2 or how's it called)

            mattrixkM 1 Reply Last reply Reply Quote 0
            • mattrixkM
              mattrixk @Sevik
              last edited by

              @Sevik
              Yeah, I did notice the mouse lag, but haven't spent any real time playing scumm games on my Pi. I actually spend more time setting it up than playing games on it. I've been making themes lately. It's fun.

              In hoping someone has a fix for the mouse lag, but haven't spent any time looking into it. It's on the to-do list, but it's pretty far down.

              My ES themes: MetaPixel | Spare | Io | Indent

              1 Reply Last reply Reply Quote 0
              • J
                Jzooor
                last edited by

                I think I'll just try to work in mapping a couple of mouse buttons to my panel. Maybe even run a script that loads a scummvm specific mapping and reset it after the emulator closes. I'll still want to experiment with layout options for the other keys like load/save slots, etc so having to recompile any time I want to tinker with it is undesirable.

                1 Reply Last reply Reply Quote 0
                • daeksD
                  daeks
                  last edited by

                  Currently I am also using a bluetooth controller with scummvm. It is working fine so far, but I am unable to quit a game with the controller. Is there any button available for quitting the game without a wireless keyboard connected and without recompiling the emu?

                  1 Reply Last reply Reply Quote 0
                  • B
                    backstander @Jzooor
                    last edited by backstander

                    @Jzooor
                    there's also @mediamogul Advanced Controller Mappings Guide:
                    https://retropie.org.uk/forum/topic/2861/guide-advanced-controller-mappings
                    https://github.com/RetroPie/RetroPie-Setup/wiki/Universal-Controller-Calibration-&-Mapping-Using-xboxdrv

                    I personally haven't been able to make heads or tails of it and when I tried it, ScummVM wouldn't load anymore so I just deleted the runcommand-onstart.sh file I made to get it to even launch again.

                    I just use a $14 wireless mini keyboard/mouse that works pretty good.

                    @mattrixk

                    I actually spend more time setting it up than playing games on it. I've been making themes lately. It's fun.

                    Yeah, I also spend more time setting up and tweaking than I do actually playing games sometimes lol

                    mediamogulM 1 Reply Last reply Reply Quote 1
                    • mediamogulM
                      mediamogul Global Moderator @backstander
                      last edited by

                      @backstander said in ScummVM map keys:

                      when I tried it, ScummVM wouldn't load anymore

                      Mileage always varies, but the default method worked well on my setup. There's also an alternative launch technique in the guide that @MadHorse contributed that might work better. At the end of the day, external mapping can be a bit of a bear no matter how you go about it. Personally, I think it's all worthwhile to get these games working as comfortably as possible when it comes time to play them.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      B 1 Reply Last reply Reply Quote 1
                      • B
                        backstander @mediamogul
                        last edited by

                        @mediamogul
                        I do plan on giving it another go but its further down on my to-do list :)

                        mediamogulM 1 Reply Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @backstander
                          last edited by

                          @backstander

                          I'm always hoping that the options for this stuff opens up a bit. I really can't complain about the versatility of the current mapping options, but a simplified implementation would be most welcome.

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          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.