Code: Select all
!/bin/bash cd /home/pi/xbox xboxdrv --config /home/pi/xbox/mapping --silent
Posting your config here would help a lot of peopleteeth_03 wrote:
I can try posting my config if i have time. I used the tool found in retroarch-rpi/tools that can help you map the buttons, but you still need to manually edit the retroarch.cfg with them. The tool also didnt recognize all the buttons and axis, so i had to do some trial and error.
Raspbmc user here trying to use the precompiled driver with a classic XBox controller with no luck at allteeth_03 wrote:I wonder if there is something wrong with the precompiled driver vs compiling it yourself. I havent seen anyone before me mention anything about this problem.
I went through and double checked the libraries, and they are all there.
Code: Select all
# XBMC Configuration # ================== # # This configuration file that with XBMC by emulating a wireless # Xbox360 controller connected to the xpad kernel driver. It uses the # configuration files that come with XBMC, so it should work out of # the box without any further configuration of XBMC. # # [xboxdrv] ui-clear = true extra-devices=false extra-events=false deadzone=6000 device-name = "Xbox 360 Wireless Receiver" [ui-buttonmap] #A=BTN_A A=KEY_ENTER #B=BTN_B B=KEY_BACKSPACE X=KEY_X Y=KEY_ESC #Steuerkreuz Links macht A, Steuerkreuz Rechts macht B #DU=BTN_0 DU=KEY_UP #DD=BTN_1 DD=KEY_DOWN #DL=BTN_LEFT DL=KEY_LEFT #DR=BTN_RIGHT DR=KEY_RIGHT START=BTN_START GUIDE=BTN_MODE BACK=BTN_BACK LB=BTN_TL RB=BTN_TR #TL=BTN_THUMBL TL=BTN_RIGHT #TR=BTN_THUMBR TR=BTN_LEFT RT=KEY_EQUAL LT=KEY_MINUS [ui-axismap] #x2=REL_RX:10 #y2=REL_RY:-10 x1=REL_X:10 y1=REL_Y:10 # The resp filter moves the neutral position to zero to work around a # bug in XBMC, that causes bogus events when neutral position is # elsewhere. It loses a bit of precision in the trigger as result, but # that isn't noticable. LT^resp:127:255=ABS_Z RT^resp:127:255=ABS_RZ # EOF #