Skip to content

Commit

Permalink
expose button state data
Browse files Browse the repository at this point in the history
  • Loading branch information
celerizer committed Oct 24, 2024
1 parent 0f7c3cb commit e591fc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devices/buttons.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ static void h8_buttons_init(h8_device_t *device, h8_device_id type)
device->name = type == H8_DEVICE_1BUTTON ? name_1 : name_3;
device->type = type;
device->device = buttons;
device->data = buttons->buttons;
device->size = buttons->button_count;
}
}

Expand Down

0 comments on commit e591fc9

Please sign in to comment.