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 invert the axis (see here for REL_Y)Īn other 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 a 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 buttons and note the result on paper. Display names of every keys, axis, buttons of the gamepad. I conclude that my gamepad's event is /dev/input/event8 3. 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 I did it this way sudo modprobe uinput + sudo modprobe joydev 2. Install also uinput and joydev if needed. Install xboxdrv 0.8.2 from Ubuntu Software Center. 11.Following Grumbel's answer, I tried xboxdrv solution with the support of his link and specially this page: 1.11.4 Setting and Returning to Milestones.8.2.2 GTK3 specific command-line options.8.1.2 SDL specific command-line options.7.9 VSID-specific commands and settings.7.8.2.2 CBM-II system ROM command line options.7.8 CBM-II-specific commands and settings.7.7.4.2 PET system ROM command-line options.7.7.3.2 PET I/O extension command-line options.7.6.5.2 PLUS4 system ROM command-line options.7.6.4.2 PLUS4 I/O extension command-line options All about the best gamepad mapper: reWASD Controller mapping with reWASD Latest Popular reWASD 6.2.7.6.2.2 PLUS4 cartridge command-line options.7.6 PLUS4-specific commands and settings.7.5.6.2 VIC20 system ROM command-line options.7.5.5.2 VIC20 memory configuration command-line options.7.5.5.1 VIC20 memory configuration resources.7.5.3.2 VIC20 cartridge command-line options.7.5 VIC20-specific commands and settings.7.4 SCPU64-specific commands and settings.7.3 C64DTV-specific commands and settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |