aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2013-12-17 06:52:48 -0500
committerJiri Kosina <jkosina@suse.cz>2013-12-17 07:54:40 -0500
commita443255c3ed5688931d89adcaa640dd10e1aeef0 (patch)
tree4082d0c860c6205e593c953084c29776fb3656d3
parent7a5d49a33ca4b753b66c9b288dc4af60c2b787f7 (diff)
HID: debug: add labels for some new buttons
Add labels for BTN_DPAD_UP, BTN_DPAD_DOWN, BTN_DPAD_LEFT, BTN_DPAD_RIGHT and BTN_TOOL_QUADTAP. [jkosina@suse.cz: make changelog more verbose] Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index 8453214ec376..53b771d5683c 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -768,6 +768,8 @@ static const char *keys[KEY_MAX + 1] = {
768 [KEY_ALTERASE] = "AlternateErase", [KEY_CANCEL] = "Cancel", 768 [KEY_ALTERASE] = "AlternateErase", [KEY_CANCEL] = "Cancel",
769 [KEY_BRIGHTNESSDOWN] = "BrightnessDown", [KEY_BRIGHTNESSUP] = "BrightnessUp", 769 [KEY_BRIGHTNESSDOWN] = "BrightnessDown", [KEY_BRIGHTNESSUP] = "BrightnessUp",
770 [KEY_MEDIA] = "Media", [KEY_UNKNOWN] = "Unknown", 770 [KEY_MEDIA] = "Media", [KEY_UNKNOWN] = "Unknown",
771 [BTN_DPAD_UP] = "BtnDPadUp", [BTN_DPAD_DOWN] = "BtnDPadDown",
772 [BTN_DPAD_LEFT] = "BtnDPadLeft", [BTN_DPAD_RIGHT] = "BtnDPadRight",
771 [BTN_0] = "Btn0", [BTN_1] = "Btn1", 773 [BTN_0] = "Btn0", [BTN_1] = "Btn1",
772 [BTN_2] = "Btn2", [BTN_3] = "Btn3", 774 [BTN_2] = "Btn2", [BTN_3] = "Btn3",
773 [BTN_4] = "Btn4", [BTN_5] = "Btn5", 775 [BTN_4] = "Btn4", [BTN_5] = "Btn5",
@@ -797,7 +799,8 @@ static const char *keys[KEY_MAX + 1] = {
797 [BTN_TOOL_MOUSE] = "ToolMouse", [BTN_TOOL_LENS] = "ToolLens", 799 [BTN_TOOL_MOUSE] = "ToolMouse", [BTN_TOOL_LENS] = "ToolLens",
798 [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus", 800 [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus",
799 [BTN_STYLUS2] = "Stylus2", [BTN_TOOL_DOUBLETAP] = "ToolDoubleTap", 801 [BTN_STYLUS2] = "Stylus2", [BTN_TOOL_DOUBLETAP] = "ToolDoubleTap",
800 [BTN_TOOL_TRIPLETAP] = "ToolTripleTap", [BTN_GEAR_DOWN] = "WheelBtn", 802 [BTN_TOOL_TRIPLETAP] = "ToolTripleTap", [BTN_TOOL_QUADTAP] = "ToolQuadrupleTap",
803 [BTN_GEAR_DOWN] = "WheelBtn",
801 [BTN_GEAR_UP] = "Gear up", [KEY_OK] = "Ok", 804 [BTN_GEAR_UP] = "Gear up", [KEY_OK] = "Ok",
802 [KEY_SELECT] = "Select", [KEY_GOTO] = "Goto", 805 [KEY_SELECT] = "Select", [KEY_GOTO] = "Goto",
803 [KEY_CLEAR] = "Clear", [KEY_POWER2] = "Power2", 806 [KEY_CLEAR] = "Clear", [KEY_POWER2] = "Power2",