forked from drath/libratbag
ratbagd: rename test's button type to action_type
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Benjamin Tissoires
parent
10903e2434
commit
5f98d8d029
@@ -102,7 +102,7 @@ test_read_button(struct ratbag_button *button)
|
||||
struct ratbag_test_macro_event *e;
|
||||
int idx;
|
||||
|
||||
switch (b->type) {
|
||||
switch (b->action_type) {
|
||||
case RATBAG_BUTTON_ACTION_TYPE_BUTTON:
|
||||
button->action.type = RATBAG_BUTTON_ACTION_TYPE_BUTTON;
|
||||
button->action.action.button = p->buttons[button->index].button;
|
||||
|
||||
Reference in New Issue
Block a user