mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
tools: shared: fix reporting of RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE
Setting the special command and displaying it were using a different spelling. Fix that. We should really only have one entry point for that. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ button_action_special_to_str(struct ratbag_button *button)
|
||||
case RATBAG_BUTTON_ACTION_SPECIAL_PROFILE_DOWN: str = "profile down"; break;
|
||||
|
||||
/* Second mode for buttons */
|
||||
case RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE: str = "second mode"; break;
|
||||
case RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE: str = "secondary mode"; break;
|
||||
}
|
||||
|
||||
return str;
|
||||
|
||||
Reference in New Issue
Block a user