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.)
Linux joysticks and gamepads
Moderators: winston, another_commander, Getafix
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: Linux joysticks and gamepads
I've slightly changed steps 6 and 7.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Re: Linux joysticks and gamepads
Ok cool. Thanks very muchGetafix wrote:I've slightly changed steps 6 and 7.
Re: Linux joysticks and gamepads
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
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