diff options
| author | hathach <[email protected]> | 2021-06-09 10:45:37 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-09 10:45:37 +0700 |
| commit | dca9bc97d66fe2912d2643e4f36cb839d08a31da (patch) | |
| tree | 59ea51dd858c5411026eedcf5971390b3bd56e6d /src | |
| parent | 2c0947ebb621e3e53933300cbfd1dce7e0f31338 (diff) | |
miss a helper
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h index 19e9315f4..e2c950dd1 100644 --- a/src/class/hid/hid_device.h +++ b/src/class/hid/hid_device.h @@ -152,7 +152,7 @@ static inline bool tud_hid_mouse_report(uint8_t report_id, uint8_t buttons, int8 return tud_hid_n_mouse_report(0, report_id, buttons, x, y, vertical, horizontal); } -static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y, int8_t z, int8_t rz, int8_t rx, int8_t ry, uint8_t hat, uint16_t buttons) +static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y, int8_t z, int8_t rz, int8_t rx, int8_t ry, uint8_t hat, uint32_t buttons) { return tud_hid_n_gamepad_report(0, report_id, x, y, z, rz, rx, ry, hat, buttons); } |
