• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 24.8k 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 escc1986 2 Nov 2020, 17:01 11 Feb 2020, 16:58

    @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 !!!!
    
    
    '''
    E 1 Reply Last reply 11 Feb 2020, 17:02 Reply Quote 0
    • E
      ExarKunIv @escc1986
      last edited by 11 Feb 2020, 17:02

      @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 2 Nov 2020, 17:06 11 Feb 2020, 17:03

        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

        E 1 Reply Last reply 11 Feb 2020, 17:14 Reply Quote 0
        • E
          ExarKunIv @escc1986
          last edited by 11 Feb 2020, 17:14

          @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 2 Nov 2020, 17:25 11 Feb 2020, 17:21

            im trying , i cant .. keep saying its spam

            E 2 Replies Last reply 11 Feb 2020, 17:22 Reply Quote 0
            • E
              ExarKunIv @escc1986
              last edited by ExarKunIv 2 Nov 2020, 17:22 11 Feb 2020, 17:22

              @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 2 Nov 2020, 17:26 11 Feb 2020, 17:25

                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
                E 1 Reply Last reply 11 Feb 2020, 17:26 Reply Quote 0
                • E
                  ExarKunIv @escc1986
                  last edited by 11 Feb 2020, 17:26

                  @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
                  • E
                    ExarKunIv @escc1986
                    last edited by 11 Feb 2020, 17:26

                    @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 11 Feb 2020, 17:28

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

                      E 1 Reply Last reply 11 Feb 2020, 17:29 Reply Quote 0
                      • E
                        ExarKunIv @escc1986
                        last edited by 11 Feb 2020, 17:29

                        @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 2 Nov 2020, 17:33 11 Feb 2020, 17:30

                          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

                          E 1 Reply Last reply 11 Feb 2020, 17:37 Reply Quote 0
                          • E
                            ExarKunIv @escc1986
                            last edited by 11 Feb 2020, 17:37

                            @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
                            • E
                              escc1986
                              last edited by escc1986 2 Nov 2020, 17:50 11 Feb 2020, 17:44

                              yeah the f5 button is very importyant , your right

                              i just dont see how f5 is mapped to the

                              R Button

                              i didnt map

                              R button

                              or

                              L button

                              do you know why they are mapped .. and the other button are not mapped

                              TL2 = SELECT

                              TR2 = START

                              on my controller under test menu (evtest /dev/input/event0)

                              E 1 Reply Last reply 11 Feb 2020, 17:54 Reply Quote 0
                              • E
                                escc1986
                                last edited by 11 Feb 2020, 17:51

                                video of showing you

                                https://dropmefiles.com/vTVGk

                                1 Reply Last reply Reply Quote 0
                                • E
                                  ExarKunIv @escc1986
                                  last edited by ExarKunIv 2 Nov 2020, 17:58 11 Feb 2020, 17:54

                                  @escc1986

                                  --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \ this came from my setup, since you need these for play anyways

                                  the rest is on you

                                  --evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start
                                  

                                  BTN_[•] this just means its blank till you add what button goes to it

                                  this is what you have

                                  so far the buttons you have mapped are btn east and south, and your TL buttons

                                  thx for the vid.

                                  this is a good thing cuz it is working, we just need to get the keys to do what we want

                                  the big part is getting the dpad to work.
                                  bad part is my xdrive is now not working. so i cant test it on mine just yet

                                  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 2 Nov 2020, 18:02 11 Feb 2020, 17:58

                                    you welcome for the video

                                    but i dont have an X , Y , LB , RB button

                                    ok let me see

                                    ok

                                    R button = Z

                                    L Button = WEST

                                    --evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_TL2=back,BTN_TR2=start
                                    
                                    
                                    E 1 Reply Last reply 11 Feb 2020, 18:00 Reply Quote 0
                                    • E
                                      ExarKunIv @escc1986
                                      last edited by 11 Feb 2020, 18:00

                                      @escc1986
                                      yeah the swtich controller have some messed up names for the buttons.
                                      once you find out what name goes with what button then you can map it

                                      use a note pad and write it down as you press them thats what i did

                                      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
                                        ExarKunIv
                                        last edited by 11 Feb 2020, 18:03

                                        heres what i have at the moment, i cant test cuz my xdriv is just not working now.
                                        change the buttons maps at you need them, but i hope that the dpad will work, cuz thats more on what i was working on

                                        if [ "$1" = "scummvm" ]
                                        then
                                        sudo killall > /dev/null 2>&1 xboxdrv
                                        sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \
                                           --evdev /dev/input/event0 \
                                           --silent \
                                        	--detach-kernel-driver \
                                        	--force-feedback \
                                        	--mimic-xpad \
                                        	--trigger-as-button \
                                        	--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 \
                                        	--ui-axismap dpad_x=REL_X:10,dpad_y=REL_Y:10 \
                                        	--ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \
                                        	--ui-buttonmap guide=void,x=void,y=void,lb=void,rb=void,tl=void,tr=void,lt=void,rt=void, \
                                        	&
                                        fi
                                        
                                        

                                        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 11 Feb 2020, 18:06

                                          @ExarKunIv said in ScummVM Controlller Issues:

                                          if [ "$1" = "scummvm" ]
                                          then
                                          sudo killall > /dev/null 2>&1 xboxdrv
                                          sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1
                                          --evdev /dev/input/event0
                                          --silent
                                          --detach-kernel-driver
                                          --force-feedback
                                          --mimic-xpad
                                          --trigger-as-button
                                          --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
                                          --ui-axismap dpad_x=REL_X:10,dpad_y=REL_Y:10
                                          --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC
                                          --ui-buttonmap guide=void,x=void,y=void,lb=void,rb=void,tl=void,tr=void,lt=void,rt=void,
                                          &
                                          fi

                                          let me test it .... lets see .. fingers crossed

                                          1 Reply Last reply Reply Quote 0
                                          81 out of 168
                                          • First post
                                            81/168
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received