diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/hid.h | 4 | ||||
| -rw-r--r-- | include/uapi/linux/input.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 06c4607744f6..efc7787a41a8 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -574,7 +574,9 @@ static inline void hid_set_drvdata(struct hid_device *hdev, void *data) | |||
| 574 | #define HID_GLOBAL_STACK_SIZE 4 | 574 | #define HID_GLOBAL_STACK_SIZE 4 |
| 575 | #define HID_COLLECTION_STACK_SIZE 4 | 575 | #define HID_COLLECTION_STACK_SIZE 4 |
| 576 | 576 | ||
| 577 | #define HID_SCAN_FLAG_MT_WIN_8 0x00000001 | 577 | #define HID_SCAN_FLAG_MT_WIN_8 BIT(0) |
| 578 | #define HID_SCAN_FLAG_VENDOR_SPECIFIC BIT(1) | ||
| 579 | #define HID_SCAN_FLAG_GD_POINTER BIT(2) | ||
| 578 | 580 | ||
| 579 | struct hid_parser { | 581 | struct hid_parser { |
| 580 | struct hid_global global; | 582 | struct hid_global global; |
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index a1d7e931ab72..b0a813079852 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h | |||
| @@ -166,6 +166,7 @@ struct input_keymap_entry { | |||
| 166 | #define INPUT_PROP_SEMI_MT 0x03 /* touch rectangle only */ | 166 | #define INPUT_PROP_SEMI_MT 0x03 /* touch rectangle only */ |
| 167 | #define INPUT_PROP_TOPBUTTONPAD 0x04 /* softbuttons at top of pad */ | 167 | #define INPUT_PROP_TOPBUTTONPAD 0x04 /* softbuttons at top of pad */ |
| 168 | #define INPUT_PROP_POINTING_STICK 0x05 /* is a pointing stick */ | 168 | #define INPUT_PROP_POINTING_STICK 0x05 /* is a pointing stick */ |
| 169 | #define INPUT_PROP_ACCELEROMETER 0x06 /* has accelerometer */ | ||
| 169 | 170 | ||
| 170 | #define INPUT_PROP_MAX 0x1f | 171 | #define INPUT_PROP_MAX 0x1f |
| 171 | #define INPUT_PROP_CNT (INPUT_PROP_MAX + 1) | 172 | #define INPUT_PROP_CNT (INPUT_PROP_MAX + 1) |
