aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-debug.c
diff options
context:
space:
mode:
authorOlivier Gay <ogay@logitech.com>2014-04-25 14:26:44 -0400
committerJiri Kosina <jkosina@suse.cz>2014-04-28 10:57:58 -0400
commitf362e690e5530dd8ace289da991bda558731678e (patch)
tree3290585c9b7314751fd1ad5df108bbc357ede5d4 /drivers/hid/hid-debug.c
parentb81fd5ba6002306f0c2bf82514b2eeae6ee2bf32 (diff)
HID: add missing hid usages
Add some missing hid usages from consumer page, add some display brightness control usages from approved hid usage table request HUTTR41: http://www.usb.org/developers/hidpage/HUTRR41.pdf and add voice command usage from approved request HUTTR45: http://www.usb.org/developers/hidpage/Voice_Command_Usage.pdf [jkosina@suse.cz: removed KEY_BRIGHTNESS_TOGGLE / KEY_DISPLAYTOGGLE conflict from hid-debug.c] Signed-off-by: Olivier Gay <ogay@logitech.com> Signed-off-by: Mathieu Meisser <mmeisser@logitech.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-debug.c')
-rw-r--r--drivers/hid/hid-debug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index 53b771d5683c..941ab3c287ec 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -855,6 +855,16 @@ static const char *keys[KEY_MAX + 1] = {
855 [KEY_KBDILLUMDOWN] = "KbdIlluminationDown", 855 [KEY_KBDILLUMDOWN] = "KbdIlluminationDown",
856 [KEY_KBDILLUMUP] = "KbdIlluminationUp", 856 [KEY_KBDILLUMUP] = "KbdIlluminationUp",
857 [KEY_SWITCHVIDEOMODE] = "SwitchVideoMode", 857 [KEY_SWITCHVIDEOMODE] = "SwitchVideoMode",
858 [KEY_BUTTONCONFIG] = "ButtonConfig",
859 [KEY_TASKMANAGER] = "TaskManager",
860 [KEY_JOURNAL] = "Journal",
861 [KEY_CONTROLPANEL] = "ControlPanel",
862 [KEY_APPSELECT] = "AppSelect",
863 [KEY_SCREENSAVER] = "ScreenSaver",
864 [KEY_VOICECOMMAND] = "VoiceCommand",
865 [KEY_BRIGHTNESS_MIN] = "BrightnessMin",
866 [KEY_BRIGHTNESS_MAX] = "BrightnessMax",
867 [KEY_BRIGHTNESS_AUTO] = "BrightnessAuto",
858}; 868};
859 869
860static const char *relatives[REL_MAX + 1] = { 870static const char *relatives[REL_MAX + 1] = {