OSDN Git Service

iio: hid-sensors: gyro : Add sensitivity
[android-x86/kernel.git] / include / linux / hid-sensor-ids.h
index 4f945d3..f3ed6b1 100644 (file)
@@ -23,6 +23,7 @@
 
 /* Accel 3D (200073) */
 #define HID_USAGE_SENSOR_ACCEL_3D                              0x200073
+#define HID_USAGE_SENSOR_DATA_ACCELERATION                     0x200452
 #define HID_USAGE_SENSOR_ACCEL_X_AXIS                          0x200453
 #define HID_USAGE_SENSOR_ACCEL_Y_AXIS                          0x200454
 #define HID_USAGE_SENSOR_ACCEL_Z_AXIS                          0x200455
@@ -33,6 +34,7 @@
 
 /* Gyro 3D: (200076) */
 #define HID_USAGE_SENSOR_GYRO_3D                               0x200076
+#define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY                    0x200456
 #define HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS                  0x200457
 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS                  0x200458
 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS                  0x200459
 #define HID_USAGE_SENSOR_PROP_REPORT_STATE                     0x200316
 #define HID_USAGE_SENSOR_PROY_POWER_STATE                      0x200319
 
+/* Per data field properties */
+#define HID_USAGE_SENSOR_DATA_MOD_NONE                                 0x00
+#define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS               0x1000
+
 #endif