Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Dreamcast › Reply To: Dreamcast
12/31/2015 at 17:27
#112796
eightkiller
Participant
Hy, I read the whole thread and all the other ones on the forum, but i don’t manage to make my XBox 360 wired controller work.
I have the same problem of being stuck not being able to press the “select” button to validate the date.
I copied the Hex values in my controller_XboxGamepad(userspacedriver).cfg:
[emulator]
mapping_name = Xbox 360 Controller (xboxdrv userspace driver)
btn_escape = 0x13a
[dreamcast]
btn_a = 0x130
btn_b = 0x131
btn_c = 0x136
btn_d = 0x137
btn_x = 0x133
btn_y = 0x134
btn_z = 0x13d
btn_start = 0x13b
axis_x = 0x00
axis_y = 0x01
axis_trigger_left = 0x0a
axis_trigger_right = 0x09
[compat]
axis_dpad1_x = 0x10
axis_dpad1_y = 0x11
And here is my emu.cfg:
[audio]
backend = oss
disable = 0
[config]
Debug.SerialConsoleEnabled = 0
Dreamcast.Broadcast = 4
Dreamcast.Cable = 3
Dreamcast.RTC = 2082730217
Dreamcast.Region = 3
Dynarec.Enabled = 1
Dynarec.idleskip = 1
Dynarec.unstable-opt = 0
aica.LimitFPS = 1
aica.NoBatch = 0
aica.NoSound = 0
axis.0 = Axis_X
axis.1 = Axis_Y
bios.UseReios = 0
pvr.MaxThreads = 3
pvr.Subdivide = 0
pvr.SynchronousRendering = 0
pvr.rend = 0
rend.UseMipmaps = 1
rend.WideScreen = 0
ta.skip = 0
[input]
evdev_device_id_1 = 0
evdev_device_id_2 = -1
evdev_device_id_3 = -1
evdev_device_id_4 = -1
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_XboxGamepad(userspacedriver).cfg
joystick_device_id = -1
[reios]
ElfFile =
[validate]
OpenGlChecks = 0[input]
I also tried to add this to my emu.cfg:
[Xbox 360 Controller (xboxdrv userspace driver)]
button.0=DPad_Up
button.1=DPad_Down
button.2=DPad_Left
button.3=DPad_Right
button.4=Btn_A
button.5=Btn_B
button.6=Btn_X
button.7=Btn_Y
button.10=Axis_LT
button.11=Axis_RT
button.12=Quit
button.13=Btn_Start
axis.0=Axis_X
axis.1=Axis_Y
But it does nothing more, i was wondering if the evdev_device_id was correct set to 0 ? I have tagged my usb XBox controller on the top-left usb port on my Raspbery 2.
Thanks in advance for your help, i think i missed something or didn’t understand something !