edoceo

How To: xboxdrv - XBox 360 Controller on Linux

rmmod xpad
modprobe uinput
xboxdrv --verbose

Configuring for FakeNES

For this configuration we map buttons X to B then A is A Either the right side analog stick, or the D-Pad can be used to control. We map these to Keys on the Keyboard which must be configured in FakeNES.

[xboxdrv]
silent=true
dpad-as-button=true
# trigger-as-button=true

[ui-buttonmap]
start=KEY_ENTER
back=KEY_BACKSPACE

[ui-buttonmap]
a=KEY_A
b=KEY_B
x=KEY_B
y=KEY_A

[ui-buttonmap]
du=KEY_UP
dd=KEY_DOWN
dl=KEY_LEFT
dr=KEY_RIGHT

Configuring for Nintendo 64 / Mupen64Plus

xboxdrv --quiet

Configuring for PS2 / PSCX

The Bottom two buttons need to mapped from Triggers to Buttons

[xboxdrv]
silent=true
# dpad-as-button=true
trigger-as-button=true

[ui-buttonmap]
lt=BTN_TL2
rt=BTN_TR2

See Also

Loading Comments from Disqus...