arup610 / android-x86

Automatically exported from code.google.com/p/android-x86
0 stars 0 forks source link

G-Sensor not working in Viewpad 10 #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
G-Sensor not working.

What is the expected output? What do you see instead?
Instead of changeing from horizantal to portrait, it highlights certain button 
as G-sensor become a directional button.

What version of the product are you using? On what operating system?
Viewpad 10 20110111 nightly build.

Please provide any additional information below.

Original issue reported on code.google.com by zivk...@gmail.com on 11 Jan 2011 at 4:40

GoogleCodeExporter commented 9 years ago
It doesn't seem that the Viewpad has a GSensor/accelerometer. It just has a 
basic orientation sensor (which can tell portrait/landscape) which it seems 
behaves like a castrated AT keyboard. That device sends ctrl+alt+arrow events 
in addition to events for the buttons on the right panel.

Somewhere in Android we will need to trap these key events and tell Android to 
change the orientation. Otherwise it will just behave as if someone typed these 
keys on an external keyboard.

Original comment by sumansa...@gmail.com on 15 Jan 2011 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by al@alsutton.com on 22 Jan 2011 at 5:30

GoogleCodeExporter commented 9 years ago
well then i'm not really good in linux coding. In this case, would it be 
simpler to make it happens? trapping key event and instructing the android 
would be easier than finding the driver for a real g-sensor izzit? sorry but i 
really don't know anything.

sometimes i really wish to know to how open up the image so i can take a look 
and try it out some copy and paste from stock donut build.

Original comment by zivk...@gmail.com on 23 Jan 2011 at 3:39

GoogleCodeExporter commented 9 years ago
libsensors was added to address the issue.

Original comment by cwhuang%...@gtempaccount.com on 3 May 2011 at 1:55