OSDN Git Service

android-x86/hardware-libsensors.git
9 years agohdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ) android-x86-4.4-r1 android-x86-4.4-r2
Tanguy Pruvot [Sat, 14 Jun 2014 13:06:39 +0000 (15:06 +0200)]
hdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ)

Allow also to tune axis signs and to swap axis like X<>Y

setprop hal.sensors.axis.revert "1,-1,1" # to revert Y axis
setprop hal.sensors.axis.order "1,0,2" # for Y,X,Z

This could be required for tablet pc with Accelerometers in Base
and not in Screen part (Acer 1425P has a rotative screen)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years agokbdsensor: fix crashing if no device found
Chih-Wei Huang [Fri, 27 Jun 2014 11:55:39 +0000 (19:55 +0800)]
kbdsensor: fix crashing if no device found

9 years agow500: fix loop segfault in input devices list
Tanguy Pruvot [Fri, 13 Jun 2014 21:44:41 +0000 (23:44 +0200)]
w500: fix loop segfault in input devices list

9 years agohdaps: support Pegatron Lucid Tablet Accelerometer
Chih-Wei Huang [Wed, 26 Feb 2014 02:24:00 +0000 (10:24 +0800)]
hdaps: support Pegatron Lucid Tablet Accelerometer

10 years agoadd reverse button rotation
Kyle Evans [Mon, 10 Jun 2013 15:43:02 +0000 (10:43 -0500)]
add reverse button rotation

10 years agoallow one button rotation to be soft coded.
Kyle Evans [Mon, 10 Jun 2013 15:35:52 +0000 (10:35 -0500)]
allow one button rotation to be soft coded.

10 years agokbdsensor: fix kitkat-x86 building errors
Chih-Wei Huang [Wed, 25 Sep 2013 02:24:00 +0000 (10:24 +0800)]
kbdsensor: fix kitkat-x86 building errors

11 years agoadd WMI hotkey support
Kyle Evans [Tue, 12 Feb 2013 18:38:26 +0000 (13:38 -0500)]
add WMI hotkey support

SW_TABLET_MODE & KEY_DIRECTION, these are two events common to tablet
PC's. The first detects when the laptop is entering tablet mode and
rotates the screen to 90 if not already rotated, then back to 0 when
returning to laptop mode. The second is just a single button rotation
that can still be used when the keyboard is covered up.

11 years agoupdate for jb-x86
Chih-Wei Huang [Mon, 4 Feb 2013 08:35:44 +0000 (16:35 +0800)]
update for jb-x86

Now all sensors libraries are built into the iso image.
Use the property hal.sensors to select the correct one.

11 years agoallow to select rotation keys at runtime
Chih-Wei Huang [Sun, 3 Feb 2013 02:28:21 +0000 (10:28 +0800)]
allow to select rotation keys at runtime

hal.sensors.kbd.keys - define all keys configuration
hal.sensors.kbd.type - predefined configuration type

11 years agoadd s103t_sensor.c for S10-3t tablet
Chih-Wei Huang [Sun, 15 Jul 2012 11:04:08 +0000 (19:04 +0800)]
add s103t_sensor.c for S10-3t tablet

Moved from libsensors_s103t of device/lenovo/s103t with a bugfix.

12 years agoadd alternate button config, F5-F8
Kyle Evans [Thu, 1 Mar 2012 18:44:57 +0000 (13:44 -0500)]
add alternate button config, F5-F8

12 years agoadd module for HDAPS accelerometer found in many IBM Thinkpads
Stefan Seidel [Fri, 10 Feb 2012 16:24:24 +0000 (17:24 +0100)]
add module for HDAPS accelerometer found in many IBM Thinkpads

12 years agoremove remapping keys via uinput
Chih-Wei Huang [Fri, 3 Feb 2012 06:49:22 +0000 (14:49 +0800)]
remove remapping keys via uinput

Now we use the keylayout file to remap or ignore key events.

12 years agofix ics rotation issue
Chih-Wei Huang [Thu, 2 Feb 2012 14:03:35 +0000 (22:03 +0800)]
fix ics rotation issue

The ics framework checks the events more restrictly.
The timestamp delta must be less than one second.

Use clock_gettime() to get more precise timestamp,
suggested by RvdB.

12 years agosupport rotation keys configuration honeycomb-x86
Chih-Wei Huang [Sun, 13 Nov 2011 07:25:02 +0000 (15:25 +0800)]
support rotation keys configuration

12 years agofix issues on honeycomb-x86
Chih-Wei Huang [Tue, 16 Aug 2011 02:21:05 +0000 (10:21 +0800)]
fix issues on honeycomb-x86

13 years agoupdate to use new sensor interface of gingerbread gingerbread-x86
Chih-Wei Huang [Wed, 20 Apr 2011 08:37:39 +0000 (16:37 +0800)]
update to use new sensor interface of gingerbread

13 years agochange to C++ style struct initializer
Chih-Wei Huang [Tue, 19 Apr 2011 07:54:10 +0000 (15:54 +0800)]
change to C++ style struct initializer

13 years agoinitial import of kbdsensor
Chih-Wei Huang [Thu, 24 Mar 2011 08:05:10 +0000 (16:05 +0800)]
initial import of kbdsensor