From 885039f7f2c8172e5ce092f3a2e1e3795e985a0c Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Thu, 7 Jan 2021 23:56:14 -0700 Subject: [PATCH] input: Use uint16_t for button state --- ui/xemu-input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/xemu-input.h b/ui/xemu-input.h index 069dd705af..6a82b0052f 100644 --- a/ui/xemu-input.h +++ b/ui/xemu-input.h @@ -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)