
Documentation
libfreespace enables rapid development of applications for Hillcrest Labs Freespace® devices. It provides access to extended information beyond mouse, keyboard and USB HID consumer page functionality. This includes:
- - Discovering and connecting to Freespace devices
- - Getting calibrated acceleration and rotational velocity measurements
- - Getting calibrated sensor orientation
- - Reading device status such as battery life and statistics
- - Turning off idle detection
- - Updating the configuration and firmware of the device
The libfreespace library is a cross platform user-mode driver. It is written in C with few external dependencies to enable easy integration with applications. Both synchronous and asynchronous APIs are provided. The asynchronous API exposes file descriptors to enable integration with a select or poll based event loop. Language bindings are available for C#, Java, and Python.
API Documentation
- Programmer documentation is available for libfreespace and jfreespace:
- libfreespace 0.5 [0.4] - Migration guide from 0.4 to 0.5
- jfreespace 0.5
The libfreespace-examples release (also on the download page) demonstrates various uses of the library and is helpful for getting started. See the FAQ and Forums for additional support.
Additional Documentation
While libfreespace abstracts many of the details of the Freespace USB HID interface, Freespace and USB HID documentation can be useful. The following documentation is publicly available:
