diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/hid.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index d26b08f461f2..8c97d4d3fdb0 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * | 6 | * |
| 7 | * Copyright (c) 1999 Andreas Gal | 7 | * Copyright (c) 1999 Andreas Gal |
| 8 | * Copyright (c) 2000-2001 Vojtech Pavlik | 8 | * Copyright (c) 2000-2001 Vojtech Pavlik |
| 9 | * Copyright (c) 2006 Jiri Kosina | 9 | * Copyright (c) 2006-2007 Jiri Kosina |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | /* | 12 | /* |
| @@ -267,6 +267,8 @@ struct hid_item { | |||
| 267 | #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00020000 | 267 | #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00020000 |
| 268 | #define HID_QUIRK_IGNORE_MOUSE 0x00040000 | 268 | #define HID_QUIRK_IGNORE_MOUSE 0x00040000 |
| 269 | #define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000 | 269 | #define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000 |
| 270 | #define HID_QUIRK_LOGITECH_S510_DESCRIPTOR 0x00100000 | ||
| 271 | #define HID_QUIRK_DUPLICATE_USAGES 0x00200000 | ||
| 270 | 272 | ||
| 271 | /* | 273 | /* |
| 272 | * This is the global environment of the parser. This information is | 274 | * This is the global environment of the parser. This information is |
| @@ -292,7 +294,7 @@ struct hid_global { | |||
| 292 | */ | 294 | */ |
| 293 | 295 | ||
| 294 | #define HID_MAX_DESCRIPTOR_SIZE 4096 | 296 | #define HID_MAX_DESCRIPTOR_SIZE 4096 |
| 295 | #define HID_MAX_USAGES 1024 | 297 | #define HID_MAX_USAGES 8192 |
| 296 | #define HID_DEFAULT_NUM_COLLECTIONS 16 | 298 | #define HID_DEFAULT_NUM_COLLECTIONS 16 |
| 297 | 299 | ||
| 298 | struct hid_local { | 300 | struct hid_local { |
