Nyko Playpad Pro or * as Xbox 360 controller on linux
This is basically a fancy note to self. Last year in my pre vacation spending spree, I boughy myself (and my brother) a NYKO Playpad Pro. A pretty cool gamepad for Android. I had lots of fun playing GTA Vice CIty on my trip to Italy. Playing SNES games etc.
However I tried to hook it up to my Linux pc and thought I would be able to use it with my new go to MetroidVania platformer: Guacamelee. Especially with Co-Op because I only have one Xbox 360 controller. In comes xboxdrv.
Basically I need to enter this into my terminal and it runs (be sure to install 0.8.5 version (and up I guess) of xboxdrv)
Of course depending on what input event devices it is mapped to.
sudo xboxdrv --evdev /dev/input/event13 --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_GAS=RT,ABS_BRAKE=LT,ABS_Z=X2,ABS_RZ=y2 --evdev-keymap BTN_A=A,BTN_B=b,BTN_X=x,BTN_Y=y,BTN_START=start,BTN_SELECT=back,BTN_THUMBL=tl,BTN_THUMBR=tr,BTN_TL=LB,BTN_TR=RB