diff options
author | ewewukek <ewewukek@gmail.com> | 2024-01-10 22:29:22 +0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-14 01:14:04 +0000 |
commit | 9e3a03079cfa530fd3885e36d3f7214ec2348818 (patch) | |
tree | 8666b32e3f7c95b45a26d0722c4ee219a122bbbb /src/input/joystick.h | |
parent | 4337008fdeef5bb01be2fc6fed1683d5941f23ae (diff) | |
download | manaverse-9e3a03079cfa530fd3885e36d3f7214ec2348818.tar.gz manaverse-9e3a03079cfa530fd3885e36d3f7214ec2348818.tar.bz2 manaverse-9e3a03079cfa530fd3885e36d3f7214ec2348818.tar.xz manaverse-9e3a03079cfa530fd3885e36d3f7214ec2348818.zip |
Use single tolerance value for all 4 joystick movement directions
Diffstat (limited to 'src/input/joystick.h')
-rw-r--r-- | src/input/joystick.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/input/joystick.h b/src/input/joystick.h index a3c129950..3587d1ba0 100644 --- a/src/input/joystick.h +++ b/src/input/joystick.h @@ -148,10 +148,7 @@ class Joystick final SDL_Joystick *mJoystick; - int mUpTolerance; - int mDownTolerance; - int mLeftTolerance; - int mRightTolerance; + int mTolerance; bool mCalibrating; int mNumber; bool mCalibrated; |