ratbagd: rename test's button type to action_type

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-07-25 15:28:02 +10:00
committed by Benjamin Tissoires
parent 10903e2434
commit 5f98d8d029
4 changed files with 15 additions and 15 deletions

View File

@@ -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;