
- Xbox 360 controller keyboard joystick mapper how to#
- Xbox 360 controller keyboard joystick mapper install#
- Xbox 360 controller keyboard joystick mapper software#
I think the project is quite new but for me it seems to work almost perfectly so far.
Xbox 360 controller keyboard joystick mapper how to#
If someone knows how to do it, I would be interested to know how to setup a kind of "center area" qhere the mouse cursor don't move, even if the stick is not perfectly in the middle.

This way, you can also use the gamepad to replace your mouse. I tried to do that like the advanced gamepad mode on the famous N64 Game 007 - GoldenEye. However most games on GNU/Linux do not support very well gamepad. My aim was to set this up to play to first person shoot games, as I am not used to play with mouse and keyboard. It works fine, it's the best solution for me. To avoid launching it with sudo, create a udev rule. Launch it sudo xboxdrv -config xboxdrv-mouse.ini Note that value for REl_X and REL_Y seems to define the speed of the mouse, and by defining a negative value it inverts the axis (see here for REL_Y)Īnother example with more button definition Here I set gamepad buttons 2 for left mouse button and 3 for right mouse button: Press Ctrl-c to quit, use '-silent' to suppress the event outputĬreate an xboxdrv-mouse.ini file to set X Y axis and left and right mouse button. Your Xbox/Xbox360 controller should now be available as: $ sudo xboxdrv -evdev /dev/input/event8 -evdev-debug The idea is to launch xboxdrv and test every button and note the result on paper. I conclude that my gamepad's event is /dev/input/event8ĭisplay names of every key, axis, button of the gamepad.

UDEV - the event which udev sends out after rule processing Monitor will print the received events for: Launch udevadm monitor -udev and then plug the game pad: $ udevadm monitor -udev
Xbox 360 controller keyboard joystick mapper install#
Install also uinput and joydev if needed.

Xbox 360 controller keyboard joystick mapper software#
Install xboxdrv 0.8.2 from Ubuntu Software Center. Following Grumbel's answer, I tried * xboxdrv solution with the support of this website and especially this page:
