1
0
forked from drath/libratbag

G300: don't enable key-type button actions

Trivially implementable, but not supported as-is.
This commit is contained in:
Yaroslav Chvanov
2023-02-25 12:41:24 +03:00
parent cbc822bd52
commit 1ea3eafc20

View File

@@ -355,7 +355,6 @@ logitech_g300_read_button(struct ratbag_button *button)
ratbag_button_enable_action_type(button, RATBAG_BUTTON_ACTION_TYPE_NONE);
ratbag_button_enable_action_type(button, RATBAG_BUTTON_ACTION_TYPE_BUTTON);
ratbag_button_enable_action_type(button, RATBAG_BUTTON_ACTION_TYPE_SPECIAL);
ratbag_button_enable_action_type(button, RATBAG_BUTTON_ACTION_TYPE_KEY);
ratbag_button_enable_action_type(button, RATBAG_BUTTON_ACTION_TYPE_MACRO);
button->type = logitech_g300_raw_to_button_type(button->index);