1
0
forked from drath/libratbag

sinowealth: add report rate cycling key mapping

This commit is contained in:
Yaroslav Chvanov
2023-12-12 01:54:28 +03:00
parent d62984220b
commit 8591540d03

View File

@@ -539,6 +539,8 @@ static const struct sinowealth_button_mapping sinowealth_button_map[] = {
/* None of the other bits do anything. */
{ { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x1 } } }, BUTTON_ACTION_NONE },
/* Cycle report rates up. */
{ { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x4 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_UNKNOWN) },
/* Cycle LED modes. */
{ { SINOWEALTH_BUTTON_TYPE_SPECIAL, { { 0x7 } } }, BUTTON_ACTION_SPECIAL(RATBAG_BUTTON_ACTION_SPECIAL_UNKNOWN) },