summaryrefslogtreecommitdiffstats
path: root/libsensors/sensors.h
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-07-30 18:44:58 -0400
committerAndrew Dodd <atd7@cornell.edu>2012-08-15 23:11:21 -0400
commit2d09c07225eb44e8371563bca98217885d7cd7c7 (patch)
tree6d73980538491eb91d43a34f8040df7ec2751685 /libsensors/sensors.h
parent90779d4af0d22c12ca3502b9e6a126d5db8d9e9a (diff)
downloaddevice_samsung_n7000-2d09c07225eb44e8371563bca98217885d7cd7c7.zip
device_samsung_n7000-2d09c07225eb44e8371563bca98217885d7cd7c7.tar.gz
device_samsung_n7000-2d09c07225eb44e8371563bca98217885d7cd7c7.tar.bz2
n7000: Add pressure sensor to libsensors
Pressure sensor driver pulled from tuna Change-Id: I4da058a1c779f4ab73bc8c03fcf1ff836ed105f6
Diffstat (limited to 'libsensors/sensors.h')
-rw-r--r--libsensors/sensors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsensors/sensors.h b/libsensors/sensors.h
index 5eb6291..1cfca89 100644
--- a/libsensors/sensors.h
+++ b/libsensors/sensors.h
@@ -39,6 +39,7 @@ __BEGIN_DECLS
#define ID_L (3)
#define ID_P (4)
#define ID_GY (5)
+#define ID_PR (6)
/*****************************************************************************/
@@ -72,6 +73,7 @@ __BEGIN_DECLS
#define EVENT_TYPE_TEMPERATURE ABS_THROTTLE
#define EVENT_TYPE_STEP_COUNT ABS_GAS
#define EVENT_TYPE_PROXIMITY ABS_DISTANCE
+#define EVENT_TYPE_PRESSURE ABS_PRESSURE
#define EVENT_TYPE_LIGHT ABS_MISC
#define EVENT_TYPE_GYRO_X REL_RY