/spaceball_driver

Spaceball 4000FLX/5000 Serial configurable driver for Windows

Primary LanguageC++

This driver allows you to setup Spaceball either as a 6-axis joystick (via vJoy: http://vjoystick.sourceforge.net/site/ ) or as a mouse.

Related projects:
http://jedi.ks.uiuc.edu/~johns/projects/libsball/
https://github.com/rbsriobr/SBW

Usage:
driver.exe [--hide] [settings file]



settings.txt:

(integer) - vjoy device id or 0 to disable joystick support
(string) - COM port name connected to Spaceball
(integer) (hex string)... - Initialization string sent to Spaceball  ( old protocol spec: http://spacemice.org/pdf/SpaceBall_2003-3003_Protocol.pdf )

(6 * 3 numbers) - Min, max and gamma for each axis

(6 * 6 numbers) - Linear input sensitivity matrix

(6 numbers) - Offset for each axis

(12 strings) - Key names to which 12 buttons are bound to (1-9 and A,B,C)

(6 * 2) - Mouse mode and sensitivity for each axis:
0 - disabled
1 - horizontal mouse movement
2 - vertical mouse movement
3 - horizontal mouse wheel
4 - mouse wheel