mirror of https://github.com/xemu-project/xemu.git
input: Use uint16_t for button state
This commit is contained in:
parent
d3a669faed
commit
885039f7f2
|
@ -64,7 +64,7 @@ enum controller_input_device_type {
|
|||
|
||||
struct controller_state {
|
||||
// Input state
|
||||
uint32_t buttons;
|
||||
uint16_t buttons;
|
||||
int16_t axis[CONTROLLER_AXIS__COUNT];
|
||||
|
||||
// Rendering state hacked on here for convenience but needs to be moved (FIXME)
|
||||
|
|
Loading…
Reference in New Issue