diff options
| author | hondres | 2016-01-03 02:24:43 +0100 |
|---|---|---|
| committer | hondres | 2016-01-03 02:24:43 +0100 |
| commit | 17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc (patch) | |
| tree | ab69c45d4030bb05ae7b1738bb5b6478be5c3273 /platform/x11/joystick_linux.h | |
| parent | eca92bb7acd9ff70957ca2f42bb41f2240d13bf3 (diff) | |
| download | godot-17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc.tar.gz godot-17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc.tar.zst godot-17d664cf1d88244e8a7179c07b52b9d7fcd9b1bc.zip | |
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 9d22a6c75..ee9bd0352 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; |
