gsensor-joy: HTC Shift G-Sensor Joystick Linux kernel module

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

gsensor-joy-1.1.tar.gz

Install Instructions

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 /etc/modules.

For X.org configuration see the README file included in the tarball.

Here’s a demo video playing TuxRacer…

Demo Video


6 comentaris per a “gsensor-joy: HTC Shift G-Sensor Joystick Linux kernel module”

quetzal
June 6th, 2008 @ 08:41    

Iep Mussol,

Un cop més, chapeau! Quin crack estàs fet. Me deixes bocabadat amb cada post. Jo en temes de herdware no m’hi he ficat mai… no sé ni per on començar, la veritat. Pero m’has comvençut!

Començaré a estalviar ara mateix per poder comprar un d’aquests aparells a vore que en puc fer (això si no ho has fet tu ja abanas jeje).

Salutacions d’un membre del clan garrotxa! ;)

frommelmak
June 6th, 2008 @ 09:17    

Awesome !

sergi
June 7th, 2008 @ 11:53    

No coneixia el TuxRacer!… Quines birgueries que té la shift!… A l’època “clan garrotxa” (half decade ago) diria que no teniem cap laptop!… saludus!

avdzm
August 3rd, 2008 @ 23:36    

how can I make sure that the modules r working and if i have them installed? coz there is no msg and no effect.

and how do u run tuxracer? i keep on getting an error about the resolution is not big enough.

avdzm
September 5th, 2008 @ 00:42    

has the bug in xserver been fixed, concerning the joystick???

Trackbacks i Pingbacks

[...] Update (05/06/2008): gsensor-joy: HTC Shift G-Sensor Joystick Linux kernel module [...]

Deixa el teu comentari...