summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTatsuya S <tatsuya.s2862@gmail.com>2025-01-06 10:49:11 +0300
committerJiri Kosina <jkosina@suse.com>2025-02-07 18:03:31 +0300
commitc600a55922640b1c4dcfdc5a694cadd2dd9d1599 (patch)
treeabe76d26d3c61f44253a03cb1d81f4cb20648e9e /include/linux
parent27c02784773a69fd896e42f3cec73be8c5c83c1f (diff)
downloadlinux-c600a55922640b1c4dcfdc5a694cadd2dd9d1599.tar.xz
HID: core: Add reserved item tag for main items
For main items, separate warning of reserved item tag from warning of unknown item tag. This comes from 6.2.2.4 Main Items of Device Class Definition for HID 1.11 specification. Signed-off-by: Tatsuya S <tatsuya.s2862@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index cdc0dc13c87f..3f01cd77f6d4 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -81,6 +81,8 @@ struct hid_item {
#define HID_MAIN_ITEM_TAG_FEATURE 11
#define HID_MAIN_ITEM_TAG_BEGIN_COLLECTION 10
#define HID_MAIN_ITEM_TAG_END_COLLECTION 12
+#define HID_MAIN_ITEM_TAG_RESERVED_MIN 13
+#define HID_MAIN_ITEM_TAG_RESERVED_MAX 15
/*
* HID report descriptor main item contents