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 Controlller Issues

    Scheduled Pinned Locked Moved Help and Support
    scummvm
    168 Posts 3 Posters 27.1k 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.
    • E
      escc1986
      last edited by

      ok i lied , there are 2 other buttons on the top an L and an R , im sorry i didnt include them ... i just wanted it to be simple with less buttons to map

      controller link

      https://www.nintendo.com/switch/online-service/nes/?cid=A1005-01:ch=pdpd&msclkid=0ea08d12a8f1150aaee0d3507e34c4fb

      ExarKunIvE 1 Reply Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @escc1986
        last edited by

        @escc1986

        thats fine, i was just looking at it and was theres alot here. lol

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        1 Reply Last reply Reply Quote 0
        • E
          escc1986
          last edited by escc1986

          nes-controllers.png

          sorry should of sent this

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @escc1986
            last edited by

            @escc1986

            it all good, lol

            --evdev-keymap KEY_#305=a,KEY_#304=b,KEY_#307=x,KEY_#308=y,KEY_#310=tl,KEY_#311=tr,KEY_#314=back,KEY_#315=start \
            

            this is your keymap for the controller.

            now with

            --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \
            

            you map what said buttons will do

            again im still messing with the dpad

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            1 Reply Last reply Reply Quote 0
            • E
              escc1986
              last edited by escc1986

              @ExarKunIv said in ScummVM Controlller Issues:

              #!/bin/sh

              Thank you ... as of right now .. it should look like this right ?

              #!/bin/sh

              if [ "$1" = "scummvm" ]
              then
              sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv
              sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1
              --evdev /dev/input/event0
              --silent
              --detach-kernel-driver
              --force-feedback
              --deadzone-trigger 15%
              --deadzone 4000
              --mimic-xpad
              --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y
              --evdev-keymap BTN_SOUTH=a,BTN_EAST=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start
              --dpad-only
              --ui-axismap lt=void,rt=void
              --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC
              &
              f1

              1 Reply Last reply Reply Quote 0
              • E
                escc1986
                last edited by escc1986

                i dont know why

                the

                /

                isnt coming after event0 /

                when i post the template

                it doesnt matter ... only matters when i really save it on the pi

                thanks for pointing that mistake out to me

                ExarKunIvE 1 Reply Last reply Reply Quote 0
                • ExarKunIvE
                  ExarKunIv @escc1986
                  last edited by ExarKunIv

                  @escc1986

                  when you post something like that
                  put ```
                  before and after
                  then it will come up with the colored box around it

                  like this
                  

                  just to help

                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                  Maintainer of RetroPie-Extra .

                  1 Reply Last reply Reply Quote 0
                  • E
                    escc1986
                    last edited by escc1986

                    @ExarKunIv said in ScummVM Controlller Issues:

                    like this 
                    
                     ``` like this
                    
                    humm didnt work for me 
                    
                    '''
                    
                    i donkt know .. i guess it doesnt matter ... sorry for the bother
                    
                    ohhhhh got it !!!!
                    
                    
                    '''
                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv @escc1986
                      last edited by

                      @escc1986 nice

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      1 Reply Last reply Reply Quote 0
                      • E
                        escc1986
                        last edited by escc1986

                        Thank you

                        so with that button modiyfed

                        it didnt seem to work

                        i pasted it

                        i rebooted

                        and its the same

                        the buttons

                        start doesn not work

                        select doesnt not work

                        B button works for left mouse click

                        A Does not work

                        with the new button lay out it didnt change anything ... i dont know .. werid

                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                        • ExarKunIvE
                          ExarKunIv @escc1986
                          last edited by

                          @escc1986

                          post what you pasted here how i showed you

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          1 Reply Last reply Reply Quote 0
                          • E
                            escc1986
                            last edited by escc1986

                            im trying , i cant .. keep saying its spam

                            ExarKunIvE 2 Replies Last reply Reply Quote 0
                            • ExarKunIvE
                              ExarKunIv @escc1986
                              last edited by ExarKunIv

                              @escc1986

                              lol

                              hit enter after fi for what you just posted

                              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                              Maintainer of RetroPie-Extra .

                              1 Reply Last reply Reply Quote 0
                              • E
                                escc1986
                                last edited by escc1986

                                i cant seem to do it .. hummmm

                                #!/bin/sh
                                
                                
                                if [ "$1" = "scummvm" ]
                                then
                                sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv
                                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 \
                                --evdev /dev/input/event0 \
                                --silent
                                --detach-kernel-driver
                                --force-feedback
                                --deadzone-trigger 15%
                                --deadzone 4000
                                --mimic-xpad
                                --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y
                                --evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start
                                --dpad-only
                                --ui-axismap lt=void,rt=void
                                --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \
                                &
                                f1
                                
                                ExarKunIvE 1 Reply Last reply Reply Quote 0
                                • ExarKunIvE
                                  ExarKunIv @escc1986
                                  last edited by

                                  @escc1986

                                  my bad

                                  use the key next to the 1

                                  thats the key you want

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  1 Reply Last reply Reply Quote 0
                                  • ExarKunIvE
                                    ExarKunIv @escc1986
                                    last edited by

                                    @escc1986 perfect

                                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                    Maintainer of RetroPie-Extra .

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      escc1986
                                      last edited by

                                      how does it look ... did i do it right ?

                                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                                      • ExarKunIvE
                                        ExarKunIv @escc1986
                                        last edited by

                                        @escc1986

                                        its a start.
                                        now we need to get it to work.

                                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                        Maintainer of RetroPie-Extra .

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          escc1986
                                          last edited by escc1986

                                          i dont know why the buttons are not correctly working

                                          i dont understand

                                          we didnt map the 2 top buttons l button and r button

                                          L = Space

                                          R = f5

                                          what is going on with this controller

                                          ExarKunIvE 1 Reply Last reply Reply Quote 0
                                          • ExarKunIvE
                                            ExarKunIv @escc1986
                                            last edited by

                                            @escc1986

                                            the f5 you do. thats how you bring up the menu in scrumm to save and quit

                                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                            Maintainer of RetroPie-Extra .

                                            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.