diff options
| author | punto- <ariel@godotengine.org> | 2016-01-02 23:06:54 -0300 |
|---|---|---|
| committer | punto- <ariel@godotengine.org> | 2016-01-02 23:06:54 -0300 |
| commit | b9d5763b023d7ad378aa2a7b3f5afc0aa78ba30f (patch) | |
| tree | ab69c45d4030bb05ae7b1738bb5b6478be5c3273 /platform/x11/joystick_linux.h | |
| parent | eca92bb7acd9ff70957ca2f42bb41f2240d13bf3 (diff) | |
| parent | 17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc (diff) | |
Merge pull request #3210 from Hinsbart/x11_axis_fix
send axis events only once per frame on linux
Diffstat (limited to 'platform/x11/joystick_linux.h')
| -rw-r--r-- | platform/x11/joystick_linux.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |