Hello, i would like to use the xbox 360 joypad as a keyboard, ie each button on the joypad should correspond to a key of the keyboard. I created a config file for xboxdrv and everything seems to work, emulators are ok, terminal is ok. Yet emulationstaton is not reading it. if i press any botton it gives no key, and if i use the guided installation it doesn’t read the joypad as either joypad or keybord.
command xboxdvr:
sudo xboxdrv --silent --wid 0 --config /home/pi/configuration/xboxdrv_mapping.ini --detach-kernel-driver --dbus session &
my xboxdrv_mapping.ini file is:
[xboxdrv]
led = 2
silent = true
deadzone = 6000
dpad-as-button = true
trigger-as-button = true
extra-devices = false
extra-events = false
device-name = "Microsoft Xbox 360 Wireless Controller (PC)"
[ui-buttonmap]
A = KEY_ENTER
B = KEY_BACKSPACE
x = KEY_SPACE
y = KEY_X
lb = KEY_Q
rb = KEY_R
back = KEY_GRAVE
guide = KEY_ESC
start = KEY_I
du = KEY_LEFTBRACE
dd = KEY_RIGHTBRACE
dl = KEY_DOT
dr = KEY_COMMA
lt=KEY_5
rt=BTN_LEFT
[ui-axismap]
x2 = KEY_KPMINUS:KEY_KPPLUS
y2 = KEY_M:KEY_T
x1 = KEY_LEFT:KEY_RIGHT
y1 = KEY_UP:KEY_DOWN
# XBMC BUG SOLVE
LT^resp:127:255=ABS_Z
RT^resp:127:255=ABS_RZ
# EOF#