diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2011-11-19 06:19:00 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-19 06:19:00 -0500 |
commit | 1f59169e191c62e66dda86ac2bc953c915c8dddf (patch) | |
tree | d7fdec84c857c2e5a41ea7ceedeb9dc756d1c94b /drivers/hid | |
parent | b4b583d4e9a5ff28c4a150bb25a4fff5cd4dfbbd (diff) |
HID: debugfs: decode Generic Device Controls Usage Page
The USB HID Usage Tables spec defines page 6 for Generic Device Controls, the
most useful of which (to me) is Battery Strength.
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-debug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 9a243ca96e6d..940af3c20b5a 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c | |||
@@ -113,6 +113,14 @@ static const struct hid_usage_entry hid_usage_table[] = { | |||
113 | {0, 0xbd, "FlareRelease"}, | 113 | {0, 0xbd, "FlareRelease"}, |
114 | {0, 0xbe, "LandingGear"}, | 114 | {0, 0xbe, "LandingGear"}, |
115 | {0, 0xbf, "ToeBrake"}, | 115 | {0, 0xbf, "ToeBrake"}, |
116 | { 6, 0, "GenericDeviceControls" }, | ||
117 | {0, 0x20, "BatteryStrength" }, | ||
118 | {0, 0x21, "WirelessChannel" }, | ||
119 | {0, 0x22, "WirelessID" }, | ||
120 | {0, 0x23, "DiscoverWirelessControl" }, | ||
121 | {0, 0x24, "SecurityCodeCharacterEntered" }, | ||
122 | {0, 0x25, "SecurityCodeCharactedErased" }, | ||
123 | {0, 0x26, "SecurityCodeCleared" }, | ||
116 | { 7, 0, "Keyboard" }, | 124 | { 7, 0, "Keyboard" }, |
117 | { 8, 0, "LED" }, | 125 | { 8, 0, "LED" }, |
118 | {0, 0x01, "NumLock"}, | 126 | {0, 0x01, "NumLock"}, |