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.5k 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.
    • ExarKunIvE
      ExarKunIv @escc1986
      last edited by

      @escc1986

      ok so looking at what you have, they are just the files that get installed when you install scrummvm.

      have you tryed anything from the controller guide like finding your key presses and what not?

      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

        i dont know if you may need this

        https://dropmefiles.com/Iz5A2

        this is whats in my
        /opt/retropie/supplementary/xboxdrv/bin

        folder

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

          im here with you now , trying to follow your steps ... im sorry for any lateness , son is home today sick in bed so watching over him , also im pretty slow at trying to understand which im sorry

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

            so my first was

            This is Where im at in terms of steps

            "Install xboxdrv"

            • Go To RetroPie Setup ('RetroPie' menu of Emulation Station)
            • Navigate To 'Configuration / Tools'
            • Select 'xboxdrv - XBox / XBox360 gamepad driver'
            • Enabled it ( it read:
              xboxdrv enabled in /ect/rc.local with the following config
              "/opt/retropie/supplmentary/xboxdrv/bin/xboxdrv"
              it will be started on next boot
            • Started it up on Reboot
            • Loaded ScummVM
            • Loaded "Day of the Tenticle"
            • The Dpad Does not work , The (B) button works , The (A) Button Does Not Work) , Start & Select Does Not Work

            now i dont know what to do

            the whole progress of setting up the controller was confusing to me

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

              What Should be My Next Step ?

              i will send you any info you need , so you may help me

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                Scummvm-sdl1 package works with dpad for mouse control.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                  @BuZz

                  Thank you Buzz for the Suggestion
                  i have used scummvm sdl , but i dont seem to enjoy it as much as the basic version .... so im just trying to learn and use mouse (Controoler)with the basic scummvm , Thank you , i apprecite the suggestion

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

                    @escc1986
                    Yes now that you have the driver installed you need to make the mapping file and get it to launch.

                    So take a look at the post I have my first post. Once you find my name you see me explaining the steps you need to do.

                    I'm at home now. But I'll be able to help more tomorrow once I'm back at 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

                      im a bit confused , but i will try my best to follow and will report to you all i have done ...

                      i will await for you reply tomorrow , Thank you for the Help

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

                        ok , i ran into a problem while following steps ... :

                        Now that we have all the event codes from the controller, we can begin mapping them to the virtual XBox360 controller in a command that will be added to /etc/rc.local so that it may launch along with RetroPie as it boots up. Below is a template that illustrates the command format. In essence, this command is simply mapping each of the event codes from the physical controller to the virtual XBox360 controller that xboxdrv will create. The specific information gathered from the steps above are marked with [•]. A legend for the virtual Xbox 360 controls can be found here.

                        sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv
                        --evdev /dev/input/by-id/[•]
                        --silent
                        --detach-kernel-driver
                        --force-feedback
                        --deadzone-trigger 15%
                        --deadzone 4000
                        --mimic-xpad
                        --evdev-absmap ABS_[•]=x1,ABS_[•]=y1,ABS_[•]=x2,ABS_[•]=y2,ABS_[•]=lt,ABS_[•]=rt,ABS_[•]=dpad_x,ABS_[•]=dpad_y
                        --evdev-keymap BTN_[•]=a,BTN_[•]=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_[•]=tl,BTN_[•]=tr,BTN_[•]=guide,BTN_[•]=back,BTN_[•]=start
                        &

                        My Controller Map :

                        Up / Down = ABS_HATOY

                        Left/Right = ABS_HAT0X

                        Select = BTN_TL2

                        Start = BTN_TR2

                        B = SOUTH

                        A = EAST

                        So I Fill in The Blanks

                        and i get an Error ... not sure what i did wrong ... if you could help me

                        pi@retropie:~ $ sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \

                        --evdev /dev/input/event2 \
                        --silent \
                        --detach-kernel-driver \
                        --force-feedback \
                        --deadzone-trigger 15% \
                        --deadzone 4000 \
                        --mimic-xpad \
                        --dpad-as-button \
                        --evdev-absmap ABS_HAT0X=x1,ABS_HAT0Y=y1,ABS_HAT0X=x2,ABS_HAT0Y=y2,ABS_NA=lt,ABS_NA=rt,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_[•]=tl,BTN_[•]=tr,BTN_[•]=guide,BTN_TL2=back,BTN_TR2=start \
                        &
                        

                        [1] 2128
                        pi@retropie:~ $
                        -- [ ERROR ] ------------------------------------------------------
                        error: invalid argument '--evdev-absmap ABS_HAT0X=x1,ABS_HAT0Y=y1,ABS_HAT0X=x2,ABS_HAT0Y=y2,ABS_NA=lt,ABS_NA=rt,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y'
                        couldn't convert 'ABS_NA' to enum, not a member of EV_ABS

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

                          I ALSO TRYED

                          "pi@retropie:~ $ sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \

                          --evdev /dev/input/event2 \
                          --silent \
                          --detach-kernel-driver \
                          --force-feedback \
                          --deadzone-trigger 15% \
                          --deadzone 4000 \
                          --mimic-xpad \
                          --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAY0Y=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 tl=void,tr=void,guide=void \
                          &
                          

                          [1] 3463
                          pi@retropie:~ $
                          -- [ ERROR ] ------------------------------------------------------
                          error: invalid argument '--evdev-absmap ABS_HAT0X=dpad_x,ABS_HAY0Y=dpad_y'
                          couldn't convert 'ABS_HAY0Y' to enum, not a member of EV_ABS"

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

                            @escc1986

                            Can you post what you get for the following

                            cat /proc/bus/input/devices ( it will show all your connected devices

                            evtest /dev/input/event[•] will show all your buttons for your controller (event)(is where you put you controller number)

                            Sorry for the format not being right. I'm on my phone

                            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

                              @ExarKunIv said in ScummVM Controlller Issues:

                              cat /proc/bus/input/devices

                              cat /proc/bus/input/devices

                              cat /proc/bus/input/devices
                              I: Bus=0003 Vendor=413c Product=2003 Version=0110
                              N: Name="Dell Dell USB Keyboard"
                              P: Phys=usb-3f980000.usb-1.2/input0
                              S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:413C:2003.0001/input/input0
                              U: Uniq=
                              H: Handlers=sysrq kbd leds event0
                              B: PROP=0
                              B: EV=120013
                              B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
                              B: MSC=10
                              B: LED=7

                              I: Bus=0003 Vendor=0461 Product=4d0f Version=0111
                              N: Name="PixArt USB Optical Mouse"
                              P: Phys=usb-3f980000.usb-1.4/input0
                              S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0461:4D0F.0002/input/input1
                              U: Uniq=
                              H: Handlers=mouse0 event1
                              B: PROP=0
                              B: EV=17
                              B: KEY=70000 0 0 0 0 0 0 0 0
                              B: REL=103
                              B: MSC=10

                              I: Bus=0005 Vendor=057e Product=2007 Version=0001
                              N: Name="NES Controller (L)"
                              P: Phys=b8:27:eb:7b:bc:a9
                              S: Sysfs=/devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:11/0005:057E:2007.0003/input/input2
                              U: Uniq=ec:c4:0d:a4:92:4a
                              H: Handlers=event2 js0
                              B: PROP=0
                              B: EV=10001b
                              B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
                              B: ABS=3001b
                              B: MSC=10

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

                                @ExarKunIv said in ScummVM Controlller Issues:

                                evtest /dev/input/event[•]

                                evtest /dev/input/event2
                                Input driver version is 1.0.1
                                Input device ID: bus 0x5 vendor 0x57e product 0x2007 version 0x1
                                Input device name: "NES Controller (L)"
                                Supported events:
                                Event type 0 (EV_SYN)
                                Event type 1 (EV_KEY)
                                Event code 304 (BTN_SOUTH)
                                Event code 305 (BTN_EAST)
                                Event code 306 (BTN_C)
                                Event code 307 (BTN_NORTH)
                                Event code 308 (BTN_WEST)
                                Event code 309 (BTN_Z)
                                Event code 310 (BTN_TL)
                                Event code 311 (BTN_TR)
                                Event code 312 (BTN_TL2)
                                Event code 313 (BTN_TR2)
                                Event code 314 (BTN_SELECT)
                                Event code 315 (BTN_START)
                                Event code 316 (BTN_MODE)
                                Event code 317 (BTN_THUMBL)
                                Event code 318 (BTN_THUMBR)
                                Event code 319 (?)
                                Event type 3 (EV_ABS)
                                Event code 0 (ABS_X)
                                Value 32768
                                Min 0
                                Max 65535
                                Fuzz 255
                                Flat 4095
                                Event code 1 (ABS_Y)
                                Value 32768
                                Min 0
                                Max 65535
                                Fuzz 255
                                Flat 4095
                                Event code 3 (ABS_RX)
                                Value 32768
                                Min 0
                                Max 65535
                                Fuzz 255
                                Flat 4095
                                Event code 4 (ABS_RY)
                                Value 32768
                                Min 0
                                Max 65535
                                Fuzz 255
                                Flat 4095
                                Event code 16 (ABS_HAT0X)
                                Value 0
                                Min -1
                                Max 1
                                Event code 17 (ABS_HAT0Y)
                                Value 0
                                Min -1
                                Max 1
                                Event type 4 (EV_MSC)
                                Event code 4 (MSC_SCAN)
                                Key repeat handling:
                                Repeat type 20 (EV_REP)
                                Repeat code 0 (REP_DELAY)
                                Value 250
                                Repeat code 1 (REP_PERIOD)
                                Value 33
                                Properties:
                                Testing ... (interrupt to exit)
                                Event: time 1581384792.771063, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value -1
                                Event: time 1581384792.771063, -------------- SYN_REPORT ------------
                                Event: time 1581384792.921040, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value 0
                                Event: time 1581384792.921040, -------------- SYN_REPORT ------------
                                Event: time 1581384793.656070, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value 1
                                Event: time 1581384793.656070, -------------- SYN_REPORT ------------
                                Event: time 1581384793.806042, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value 0
                                Event: time 1581384793.806042, -------------- SYN_REPORT ------------
                                Event: time 1581384794.376036, type 3 (EV_ABS), code 16 (ABS_HAT0X), value -1
                                Event: time 1581384794.376036, -------------- SYN_REPORT ------------
                                Event: time 1581384794.541031, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
                                Event: time 1581384794.541031, -------------- SYN_REPORT ------------
                                Event: time 1581384795.036039, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 1
                                Event: time 1581384795.036039, -------------- SYN_REPORT ------------
                                Event: time 1581384795.216068, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
                                Event: time 1581384795.216068, -------------- SYN_REPORT ------------
                                Event: time 1581384795.696032, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
                                Event: time 1581384795.696032, type 1 (EV_KEY), code 312 (BTN_TL2), value 1
                                Event: time 1581384795.696032, -------------- SYN_REPORT ------------
                                Event: time 1581384795.950511, type 1 (EV_KEY), code 312 (BTN_TL2), value 2
                                Event: time 1581384795.950511, -------------- SYN_REPORT ------------
                                Event: time 1581384795.951042, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
                                Event: time 1581384795.951042, type 1 (EV_KEY), code 312 (BTN_TL2), value 0
                                Event: time 1581384795.951042, -------------- SYN_REPORT ------------
                                Event: time 1581384796.431037, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
                                Event: time 1581384796.431037, type 1 (EV_KEY), code 313 (BTN_TR2), value 1
                                Event: time 1581384796.431037, -------------- SYN_REPORT ------------
                                Event: time 1581384796.690515, type 1 (EV_KEY), code 313 (BTN_TR2), value 2
                                Event: time 1581384796.690515, -------------- SYN_REPORT ------------
                                Event: time 1581384796.701046, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
                                Event: time 1581384796.701046, type 1 (EV_KEY), code 313 (BTN_TR2), value 0
                                Event: time 1581384796.701046, -------------- SYN_REPORT ------------
                                Event: time 1581384797.196037, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
                                Event: time 1581384797.196037, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 1
                                Event: time 1581384797.196037, -------------- SYN_REPORT ------------
                                Event: time 1581384797.450510, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 2
                                Event: time 1581384797.450510, -------------- SYN_REPORT ------------
                                Event: time 1581384797.451027, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
                                Event: time 1581384797.451027, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 0
                                Event: time 1581384797.451027, -------------- SYN_REPORT ------------
                                Event: time 1581384797.946042, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
                                Event: time 1581384797.946042, type 1 (EV_KEY), code 305 (BTN_EAST), value 1
                                Event: time 1581384797.946042, -------------- SYN_REPORT ------------
                                Event: time 1581384798.186045, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
                                Event: time 1581384798.186045, type 1 (EV_KEY), code 305 (BTN_EAST), value 0
                                Event: time 1581384798.186045, -------------- SYN_REPORT ------------

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

                                  no problem if your on your phone ... im sorry for bothring ..

                                  im sorry if this is all confusing for me

                                  i swear i followed all the steps 3 times and nothing seems to work for me .... i dont know what im doing wrong

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

                                    here are a few steps i have followed results ... its mainly just info .. if you could help me compile them correctly ?

                                    https://dropmefiles.com/1c5dq

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

                                      Here is a Txt Documents of alll the steps i Tested With no success

                                      if you could review it a maby make a an easy guide for me .. or if you need more info , then please inform me and i will follow your instructions and provide you info ...

                                      thank you

                                      https://dropmefiles.com/7zVui

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

                                        @escc1986 ok im taking a look at everything that you gave me. it does seems like you have all the info for us to get this up and going. i just need a bit to remember how to go about it this way.

                                        i go about using xdrv a different way now, but we will get you up and going.

                                        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

                                          Thanks for taking a look , take your time , as i know i provided alot , just hope we can get this controller working :)

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

                                            @escc1986 step 1

                                            remove this from rc.local

                                            sudo nano /etc/rc.local
                                            
                                            sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                                                --evdev /dev/input/event2 \
                                                --silent \
                                                --detach-kernel-driver \
                                                --force-feedback \
                                                --deadzone-trigger 15% \
                                                --deadzone 4000 \
                                                --mimic-xpad \
                                                --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAY0Y=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 tl=void,tr=void,guide=void \
                                                &
                                            

                                            still working on the rest

                                            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 .

                                            ExarKunIvE 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.