joycontrol Code
Status: Beta
Brought to you by:
dmakreshanski
File | Date | Author | Commit |
---|---|---|---|
src | 2011-02-16 | dmakreshanski | [r1] initial beta version |
CMakeLists.txt | 2011-02-16 | dmakreshanski | [r1] initial beta version |
README | 2011-02-16 | dmakreshanski | [r1] initial beta version |
TODO | 2011-02-17 | dmakreshanski | [r2] added todo file |
joycontrol.cfg | 2011-02-16 | dmakreshanski | [r1] initial beta version |
joycontrol is a program that can convert a joystick into a remote controller for the computer. using the confugration file, you can customize each button and axis of the joystick for various purposes like mouse emulation or keyboard emulation or command execution. unlike some existing programs where you can only asign keys to buttons, with joycontrol you can assign multiple commands to a single button by assigning commands to button sequences. For example you can set one command for pressing on Button5 while Button6 and Button7 are pressed and another command for pressing Button5 while only Button6 is pressed for example. to compile, install and run follow these steps: 1. first you need to have these packages preinstalled: xdotool linux-libc-dev (for linux/joystick.h) libconfig++8-dev (for libconfig.h++) 2. next, to compile and install run: cmake . sudo make install 3. to run execute joycontrol <device> <config-file> where <device> can be e.g. /dev/input/js0 and <config-file> is a configuration file, sample is joycontrol.cfg