From 8591540d03a04420dda08eb4c7d537a7540c9e17 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Tue, 12 Dec 2023 01:54:28 +0300 Subject: [PATCH] sinowealth: add report rate cycling key mapping --- src/driver-sinowealth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver-sinowealth.c b/src/driver-sinowealth.c index 04a0f0b4..f495fbd6 100644 --- a/src/driver-sinowealth.c +++ b/src/driver-sinowealth.c @@ -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) },