mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
hidpp10: rename hidpp10_buttons to hidpp10_button
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -441,7 +441,7 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr
|
||||
profile.num_buttons = PROFILE_NUM_BUTTONS;
|
||||
for (i = 0; i < PROFILE_NUM_BUTTONS; i++) {
|
||||
union _hidpp10_button_binding *b = &p->buttons[i];
|
||||
union hidpp10_buttons *button = &profile.buttons[i];
|
||||
union hidpp10_button *button = &profile.buttons[i];
|
||||
|
||||
button->any.type = b->any.type;
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ struct hidpp10_profile {
|
||||
bool angle_correction;
|
||||
uint8_t default_dpi_mode;
|
||||
uint16_t refresh_rate;
|
||||
union hidpp10_buttons {
|
||||
union hidpp10_button {
|
||||
struct { uint8_t type; } any;
|
||||
struct {
|
||||
uint8_t type;
|
||||
|
||||
Reference in New Issue
Block a user