PDA

View Full Version : Use the Shift G-Sensor as a Joystick


pof
05-06-2008, 11:40 PM
Like gaming? :rolleyes:

Now you can use the accelerometer inside HTC Shift (G-Sensor) as a Joystick :eek:

See video (2min) playing TuxRacer: :cool:

http://www.youtube.com/watch?v=6m4mzFPdtUA



For more information:

gsensor-joy: HTC Shift G-Sensor Joystick Linux kernel module (http://pof.eslack.org/blog/2008/06/05/gsensor-joy-htc-shift-g-sensor-joystick-linux-kernel-module/)
i2c-gsensor: LIS3LV02DL accelerometer on HTC Shift G-Sensor (http://pof.eslack.org/blog/2008/06/03/i2c-gsensor-lis3lv02dl-accelerometer-on-htc-shift-g-sensor/)


Enjoy ;-)

gemito138
05-06-2008, 11:51 PM
Amazing... total

JEM
06-06-2008, 12:43 AM
any idea what he's using to rotate the screen?

pof
06-06-2008, 12:48 AM
I use 'xrandr' command to rotate the screen:

sudo xrandr -o right
sudo xrandr -o left
sudo xrandr -o inverted
sudo xrandr -o normal

FOOFTR
06-06-2008, 06:02 AM
Man I wish I knew what you guys are talking about...I am Linux incompetent...

EinSiedler
06-06-2008, 08:50 AM
Is there anything like that for Windows?
Any software to just display movement?

Slikdave
06-06-2008, 09:06 AM
How does he rotate the screen on his Shift and is he running vista or is it some other operating system??? :confused::confused:

koala996
06-06-2008, 10:37 AM
waw pof ! you are amazing ! sure I will have Linux on the shift !

Snorry
06-06-2008, 09:03 PM
How does he rotate the screen on his Shift and is he running vista or is it some other operating system??? :confused::confused:

He's using ubuntu 8.04. To be specific I think he's using Kubuntu.

pof
06-06-2008, 09:31 PM
To be specific I think he's using Kubuntu.

no, it's just Ubuntu 8.04, not Kubuntu :)

ferrett1968
06-06-2008, 10:42 PM
every day a new amazing news.

Thanks POF!

LordDeath
07-06-2008, 07:10 PM
Did you install Ubuntu on an additional partition next to Vista or did you replace Vista? Is enough space on the HDD for Vista and Ubuntu togehter?

pof
07-06-2008, 08:45 PM
Did you install Ubuntu on an additional partition next to Vista or did you replace Vista? Is enough space on the HDD for Vista and Ubuntu togehter?

you can keep vista if you want, there's enough space for both.

Sangheili
11-06-2008, 06:09 AM
you can keep vista if you want, there's enough space for both.

Please please please please figure out how to make the screen rotate in Vista. Please? :-D Someone? Anyone? :-(

DARKHAMSTER
14-07-2008, 04:39 PM
im also interested if it exist any portaation to Vista for using the G-Sensor in any application(screen rotation)

Pfeffa-rah
20-07-2008, 05:46 PM
im also interested if it exist any portaation to Vista for using the G-Sensor in any application(screen rotation)

Yeah!
Would that be possible? To use the sensor in Vista (or maybe snapvue/WM?)

yuvanesh
24-07-2008, 12:14 PM
Im new to linux...Ive installed Ubuntu in my Shift and facing trouble setting up the G-Sensor...can anyone explain the procedure in easy words.?