I have found some free time (long night) to implement a kernel module which converts the axis reported by the HTC Shift G-Sensor accelerometer (see previous post!) into a Joystick input event device.
Download the tarball, extract it to some temporary directory, compile and install it:
# make # make install
Load the needed modules:
#modprobe i2c_i801 #modprobe i2c_dev #modprobe gsensor-joy #modprobe joydev
If you want that automatically loaded every boot, you can also add them to
For X.org configuration see the README file included in the tarball.
Here’s a demo video playing TuxRacer…