diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-debug.c | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 47ac1a7d66e1..04359ed64b87 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c | |||
@@ -137,6 +137,14 @@ static const struct hid_usage_entry hid_usage_table[] = { | |||
137 | {0, 0x44, "BarrelSwitch"}, | 137 | {0, 0x44, "BarrelSwitch"}, |
138 | {0, 0x45, "Eraser"}, | 138 | {0, 0x45, "Eraser"}, |
139 | {0, 0x46, "TabletPick"}, | 139 | {0, 0x46, "TabletPick"}, |
140 | {0, 0x47, "Confidence"}, | ||
141 | {0, 0x48, "Width"}, | ||
142 | {0, 0x49, "Height"}, | ||
143 | {0, 0x51, "ContactID"}, | ||
144 | {0, 0x52, "InputMode"}, | ||
145 | {0, 0x53, "DeviceIndex"}, | ||
146 | {0, 0x54, "ContactCount"}, | ||
147 | {0, 0x55, "ContactMaximumNumber"}, | ||
140 | { 15, 0, "PhysicalInterfaceDevice" }, | 148 | { 15, 0, "PhysicalInterfaceDevice" }, |
141 | {0, 0x00, "Undefined"}, | 149 | {0, 0x00, "Undefined"}, |
142 | {0, 0x01, "Physical_Interface_Device"}, | 150 | {0, 0x01, "Physical_Interface_Device"}, |
@@ -514,9 +522,11 @@ static const char *events[EV_MAX + 1] = { | |||
514 | [EV_FF_STATUS] = "ForceFeedbackStatus", | 522 | [EV_FF_STATUS] = "ForceFeedbackStatus", |
515 | }; | 523 | }; |
516 | 524 | ||
517 | static const char *syncs[2] = { | 525 | static const char *syncs[3] = { |
518 | [SYN_REPORT] = "Report", [SYN_CONFIG] = "Config", | 526 | [SYN_REPORT] = "Report", [SYN_CONFIG] = "Config", |
527 | [SYN_MT_REPORT] = "MT Report", | ||
519 | }; | 528 | }; |
529 | |||
520 | static const char *keys[KEY_MAX + 1] = { | 530 | static const char *keys[KEY_MAX + 1] = { |
521 | [KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc", | 531 | [KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc", |
522 | [KEY_1] = "1", [KEY_2] = "2", | 532 | [KEY_1] = "1", [KEY_2] = "2", |
@@ -734,8 +744,17 @@ static const char *absolutes[ABS_MAX + 1] = { | |||
734 | [ABS_HAT2Y] = "Hat2Y", [ABS_HAT3X] = "Hat3X", | 744 | [ABS_HAT2Y] = "Hat2Y", [ABS_HAT3X] = "Hat3X", |
735 | [ABS_HAT3Y] = "Hat 3Y", [ABS_PRESSURE] = "Pressure", | 745 | [ABS_HAT3Y] = "Hat 3Y", [ABS_PRESSURE] = "Pressure", |
736 | [ABS_DISTANCE] = "Distance", [ABS_TILT_X] = "XTilt", | 746 | [ABS_DISTANCE] = "Distance", [ABS_TILT_X] = "XTilt", |
737 | [ABS_TILT_Y] = "YTilt", [ABS_TOOL_WIDTH] = "Tool Width", | 747 | [ABS_TILT_Y] = "YTilt", [ABS_TOOL_WIDTH] = "ToolWidth", |
738 | [ABS_VOLUME] = "Volume", [ABS_MISC] = "Misc", | 748 | [ABS_VOLUME] = "Volume", [ABS_MISC] = "Misc", |
749 | [ABS_MT_TOUCH_MAJOR] = "MTMajor", | ||
750 | [ABS_MT_TOUCH_MINOR] = "MTMinor", | ||
751 | [ABS_MT_WIDTH_MAJOR] = "MTMajorW", | ||
752 | [ABS_MT_WIDTH_MINOR] = "MTMinorW", | ||
753 | [ABS_MT_ORIENTATION] = "MTOrientation", | ||
754 | [ABS_MT_POSITION_X] = "MTPositionX", | ||
755 | [ABS_MT_POSITION_Y] = "MTPositionY", | ||
756 | [ABS_MT_TOOL_TYPE] = "MTToolType", | ||
757 | [ABS_MT_BLOB_ID] = "MTBlobID", | ||
739 | }; | 758 | }; |
740 | 759 | ||
741 | static const char *misc[MSC_MAX + 1] = { | 760 | static const char *misc[MSC_MAX + 1] = { |