Haptik has been once ported to GNU/Linux, and used on a single project internally. The port lacks many features if compared to the Windows version and hasn't been actively maintained since then.
Following is a list of open issues:
You can help mantaining the GNU/Linux port of Haptik by trying it with your distro and devices, and reporting any problems/issues you may encounter.
- There is no automatic checking for newer versions.
- Error is reported to user through console I/O i.e. You have to always check the log file.
- Phantom devices are not yet enumerated and reported device info are uncomplete.
- Dual devices are not supported for phantom devices, but this is actually a limitation of OpenHaptics for Linux.
- due to differences between Visual C++ and GCC in handling void pointers the
FUNCTION_ADDRESS() macro is provided to use procedure callbacks.
Callbacks are implemented using timings facilities provided by native APIs or by accessing the
/dev/rtc device through the
librtctimer library, but we plan to include support for RTAI as soon as possible.
Currently the GNU/Linux version is provided in source-form only from the download section.
Make sure to read carefully included readme files before running anything!
Sources have been tested using gcc 4.0 on a Kubuntu distro.
Special thanks go to Mario Vigliar for providing knowledge and support on linux programming.
The Mouse Spectre running under GNU/Linux.