implement key bindings feature

This commit is contained in:
Kyoken
2022-11-13 22:45:13 +03:00
committed by Yaroslav Chvanov
parent 8bacfe9ee6
commit 2eeacc354f
5 changed files with 114 additions and 3 deletions

View File

@@ -1294,7 +1294,8 @@ ratbag_button_get_key(struct ratbag_button *button,
return 0;
/* FIXME: modifiers */
*sz = 0;
if (sz != NULL)
*sz = 0;
return button->action.action.key.key;
}