aboutsummaryrefslogtreecommitdiffstats
path: root/android/hw-sensors.h
diff options
context:
space:
mode:
authorOla Albertsson <ola.albertsson@sonyericsson.com>2010-12-17 14:53:44 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-12-17 15:27:51 +0100
commit7c8397abd80cd6ba6a2665ef22739e603ae4c290 (patch)
treec442455d331cdc28e9fa98b905aa496ade32c6fd /android/hw-sensors.h
parente3936ca43e99a066e714cea18f95ac22d8392b91 (diff)
downloadexternal_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.zip
external_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.tar.gz
external_qemu-7c8397abd80cd6ba6a2665ef22739e603ae4c290.tar.bz2
Adding proximity sensor simulation
Proximity sensor is added in emulator and avd ini file is modified to be able add a proximity seensor to a avd. Change-Id: I4d2645c0c4861511451b606e18d2fd9b9a2d27ed
Diffstat (limited to 'android/hw-sensors.h')
-rw-r--r--android/hw-sensors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hw-sensors.h b/android/hw-sensors.h
index 37bf20e..5cfc748 100644
--- a/android/hw-sensors.h
+++ b/android/hw-sensors.h
@@ -26,6 +26,7 @@ extern void android_hw_sensors_init( void );
SENSOR_(MAGNETIC_FIELD,"magnetic-field") \
SENSOR_(ORIENTATION,"orientation") \
SENSOR_(TEMPERATURE,"temperature") \
+ SENSOR_(PROXIMITY,"proximity") \
typedef enum {
#define SENSOR_(x,y) ANDROID_SENSOR_##x,