sinowealth: add "cycle LED modes" binding to unknown

This commit is contained in:
Yaroslav Chvanov
2023-03-07 03:38:22 +03:00
parent fd3ce088b0
commit dfd9be05ab

View File

@@ -509,6 +509,8 @@ static const struct sinowealth_button_mapping sinowealth_button_map[] = {
/* Hidden. */
{ { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x6 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_PROFILE_UP) },
#endif
/* Cycle LED modes. */
{ { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x7 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_UNKNOWN) },
/* This must defined after `SPECIAL` type so that correct raw data
* for action type `NONE` is used. */