From dcf5e4579750ef0af6bc827b57fdeddd47cf772e Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Tue, 8 Dec 2015 17:40:47 +0100 Subject: [PATCH] hidpp20: fix resolution up/down Looks like they where inverted Signed-off-by: Benjamin Tissoires --- src/hidpp20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hidpp20.c b/src/hidpp20.c index d8d79772..5def9de9 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -1420,8 +1420,8 @@ static const enum ratbag_button_action_special hidpp20_profiles_specials[] = { [0x00] = RATBAG_BUTTON_ACTION_SPECIAL_INVALID, [0x01] = RATBAG_BUTTON_ACTION_SPECIAL_WHEEL_LEFT, [0x02] = RATBAG_BUTTON_ACTION_SPECIAL_WHEEL_RIGHT, - [0x03] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_DOWN, - [0x04] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_UP, + [0x03] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_UP, + [0x04] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_DOWN, [0x05] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_DEFAULT, [0x06] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_CYCLE_UP, [0x07] = RATBAG_BUTTON_ACTION_SPECIAL_RESOLUTION_ALTERNATE,