Page 1 of 1

Linux joysticks and gamepads

Posted: Tue Jan 11, 2011 7:18 pm
by mcarans
I have updated the section: http://wiki.alioth.net/index.php/Linux_ ... d_Gamepads which describes how to configure controllers under Linux for use in Oolite.

The explanation covers an XBox 360 controller, but the author of xboxdrv has extended it to also work with non-XBox controllers, so if anyone tries this and gets it to work, please expand the wiki page. (xboxdrv author wrote: support for reading from evdev, this allows the use of regular PC joysticks or the Playstation 3 controllers with xboxdrv, useful if you need configurability or joy2key-like functionality, but don't have a Xbox360 gamepad.)

Re: Linux joysticks and gamepads

Posted: Wed Jan 12, 2011 9:35 am
by Getafix
I've slightly changed steps 6 and 7.

Re: Linux joysticks and gamepads

Posted: Thu Jan 13, 2011 2:30 pm
by mcarans
Getafix wrote:
I've slightly changed steps 6 and 7.
Ok cool. Thanks very much

Re: Linux joysticks and gamepads

Posted: Sat Feb 12, 2011 9:57 am
by mcarans
I've released a new version of runxboxdrv available here: http://www.box.net/shared/koxvusxtap (same link as in wiki)

Gradually the functions of runxboxdrv are being assimilated into xboxdrv so after the config file facility was absorbed, the latest one to go is that the game can be launched directly from xboxdrv massively simplifying runxboxdrv as it no longer has to deal with shutdown of separate processes and hence no longer need asynchronous Python processes. I've asked the author of xboxdrv to consider putting the few remaining functions into xboxdrv. These functions are:

1. rmmod xpad
2. modprobe uinput
3. modprobe joydev
4. Change access rights to /dev/input/uinput