From 17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc Mon Sep 17 00:00:00 2001 From: hondres Date: Sun, 3 Jan 2016 02:24:43 +0100 Subject: send axis events only once per frame on linux --- platform/x11/joystick_linux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/x11/joystick_linux.h') diff --git a/platform/x11/joystick_linux.h b/platform/x11/joystick_linux.h index 9d22a6c754..ee9bd0352a 100644 --- a/platform/x11/joystick_linux.h +++ b/platform/x11/joystick_linux.h @@ -54,6 +54,7 @@ private: }; struct Joystick { + InputDefault::JoyAxis curr_axis[MAX_ABS]; int key_map[MAX_KEY - BT_MISC]; int abs_map[MAX_ABS]; int dpad; -- cgit v1.2.3