At this point there are no command line options to configure it -- currently only /dev/input/js0 is supported and there are no command line options. The left analog stick moves the mouse. The X, O, and Triangle buttons generate Left, Right, and Middle mouse clicks. The mouse speed is tied to the axis value on the analog stick, so moving the analog stick very slightly will allow slow movement of the mouse, and moving it to the fullest extent moves the mouse quickly.
Also there's no signal handler yet so if you start it from a terminal window by itself, Ctrl-C won't stop it. You'd need to close the terminal window it was started from, or use "killall -9 sixaxis2mouse" from another terminal window.
Typical usage is to run before another application and kill on exit.
Example: sixaxis2mouse & firefox && killall sixaxis2mouse
There's no messing with xorg.conf or anything else -- it just works. Mostly.
sixaxis2mouse seems to work fine for all applications running in a window, but it has trouble with some when running full screen. For example, you can't use it to control quake2 or alephone. But you can use it to control Pingus. And you can use it to control the menu screen for alephone games like marathon2, just don't enable mouse control support. Also at this point, you can't use it to click-drag or adjust window sizes because it only generates "clicks" (down and up) when you press X, O, or Triangle.
Note that it currently requires xvkbd to generate the mouse clicks and that package is only on ps3bodega for YDL 6.2, so you need to have the ps3bodega repo for YDL 6.2 setup correctly to install it. If you already have that done, then just:
- Code: Select all
su
<root password>
- Code: Select all
yum install sixaxis2mouse
- Code: Select all
exit