Skip to content

Commit 194808a

Browse files
endriftJiri Kosina
authored andcommitted
HID: Fix debug name for BTN_GEAR_DOWN, BTN_GEAR_UP, BTN_WHEEL
The name of BTN_GEAR_DOWN was WheelBtn and BTN_WHEEL was missing. Further, BTN_GEAR_UP had a space in its name and no Btn, which is against convention. This makes the names BtnGearDown, BtnGearUp, and BtnWheel, fixing the errors and matching convention. Signed-off-by: Vicki Pfau <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 50f9ff5 commit 194808a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hid/hid-debug.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3298,8 +3298,8 @@ static const char *keys[KEY_MAX + 1] = {
32983298
[BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus",
32993299
[BTN_STYLUS2] = "Stylus2", [BTN_TOOL_DOUBLETAP] = "ToolDoubleTap",
33003300
[BTN_TOOL_TRIPLETAP] = "ToolTripleTap", [BTN_TOOL_QUADTAP] = "ToolQuadrupleTap",
3301-
[BTN_GEAR_DOWN] = "WheelBtn",
3302-
[BTN_GEAR_UP] = "Gear up", [KEY_OK] = "Ok",
3301+
[BTN_GEAR_DOWN] = "BtnGearDown", [BTN_GEAR_UP] = "BtnGearUp",
3302+
[BTN_WHEEL] = "BtnWheel", [KEY_OK] = "Ok",
33033303
[KEY_SELECT] = "Select", [KEY_GOTO] = "Goto",
33043304
[KEY_CLEAR] = "Clear", [KEY_POWER2] = "Power2",
33053305
[KEY_OPTION] = "Option", [KEY_INFO] = "Info",

0 commit comments

Comments
 (0)