1
0
forked from drath/libratbag

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?
This commit is contained in:
Yaroslav Chvanov
2023-03-07 03:47:36 +03:00
parent 26cc246a4c
commit 59d85e0bf8

View File

@@ -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) },