From 59d85e0bf8f112df9d558dc3f44662c742692d8a Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Tue, 7 Mar 2023 03:47:36 +0300 Subject: [PATCH] sinowealth: change "profile-up" button binding to cycle I can't explain this, I'm SURE it wasn't cycling before and was just getting stuck on the highest profile. What? --- src/driver-sinowealth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver-sinowealth.c b/src/driver-sinowealth.c index cc1488d1..0114f79d 100644 --- a/src/driver-sinowealth.c +++ b/src/driver-sinowealth.c @@ -507,7 +507,7 @@ static const struct sinowealth_button_mapping sinowealth_button_map[] = { #if SINOWEALTH_NUM_PROFILES_MAX > 1 /* See the note near @ref SINOWEALTH_NUM_PROFILES_MAX. */ /* Hidden. */ - { { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x6 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_PROFILE_UP) }, + { { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x6 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_PROFILE_CYCLE_UP) }, #endif /* Cycle LED modes. */ { { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x7 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_UNKNOWN) },