jachd

jachd (pronounced like "jack"), is an ach publisher that reads linux joystick devices. If you have a logitech gamepad, and want to push the state of its buttons and axes to an ach channel, this is what you should be using.

It's simple:

$ ./jachd -C

This will start the daemon, and create a channel called "joystick-data"

For an example of how to listen to this channel, run:

$ ./jach_listen_and_print --channel="joystick-data"

There is also a daemon for the space navigator 6-axis mouse, which uses the same message type. Here's how to use that:


$ ./snachd -C

This will start the daemon, and create a channel called "spnav-data"

For an example of how to listen to this channel, run:

$ ./jach_listen_and_print --channel="spacenav-data"

** Don't forget you'll also need to install the spacenav drivers to use this library. Instructions can be found at spacenav config on ubuntu

For detailed API overview, see the Doxygen