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

    Cannot get Rii K25 keyboard working in ScummVM

    Scheduled Pinned Locked Moved Help and Support
    scummvmkeyboardcontroller
    21 Posts 3 Posters 1.6k 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.
    • mituM
      mitu Global Moderator @pfaux
      last edited by

      @pfaux said in Cannot get Rii K25 keyboard working in ScummVM:

      Executing (via xinit): bash /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh monkey-vga

      That's not the default launch command for ScummVM - via xorg. How exactly did you configure it ? Can you post your /opt/retropie/configs/scummvm/emulators.cfg ?

      P 1 Reply Last reply Reply Quote 0
      • P
        pfaux @mitu
        last edited by pfaux

        Sure thing:

        pi@retropie:~ $ cat /opt/retropie/configs/scummvm/emulators.cfg 
        scummvm = "bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
        default = "scummvm"
        
        

        In the above example I was launching The Secret of Monkey Island to test, hence the "monkey-vga" parameter at the end as the %BASENAME%.

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          The emulators.cfg seems ok - but your runcommand shows that xorg is used to launch ScummVM. Did you do any other configurations for scummvm from the default installation ?

          P 1 Reply Last reply Reply Quote 0
          • P
            pfaux @mitu
            last edited by

            I made modifications to the ~/.config/scummvm/scummvm.ini file to change the graphics mode to super-eagle, and add some additional key-mappings (since the Rii remote lacks function keys).

            Other than that, I don't recall any modifications to anything that would control how ScummVM launches.

            I just tried reinstalling ScummVM and will see if that changes anything.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              Can you post the /opt/retropie/configs/all/backends.cfg file from your installation ?

              P 1 Reply Last reply Reply Quote 0
              • P
                pfaux @mitu
                last edited by

                Ah, this looks suspicious:

                pi@retropie:~ $ cat /opt/retropie/configs/all/backends.cfg 
                smw="dispmanx"
                scummvm="x11-c"
                
                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by mitu

                  Ok, so ScummVM is configured to run through x11/xorg - that's not a default configuration. Did you add the configuration yourself ? RetroPie doesn't configure it like this by default - it needs to be user choice.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    pfaux @mitu
                    last edited by

                    I don't recall adding that (it's possible I did something many months ago I don't remember), but I can remove it and make sure it works as expected.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @pfaux
                      last edited by

                      @pfaux So, do you still have an issue if you remove the configuration of scummvm from backends.cfg ?

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pfaux @mitu
                        last edited by

                        @mitu That did the trick! The keyboard now works in ScummVM. Thank you for your insight and expertise!

                        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.