summaryrefslogtreecommitdiff
path: root/src/input/joystick.h
diff options
context:
space:
mode:
authorewewukek <ewewukek@gmail.com>2024-01-10 23:17:43 +0300
committerFedja Beader <fedja@protonmail.ch>2024-05-14 01:14:04 +0000
commite0f535979ad9315efbe4a16ab1ad345d9e9a4347 (patch)
treee2772fb70cdec23bcae2fa86bdcf63ceefb35181 /src/input/joystick.h
parent78f73fbc427d449a9fbfb35461ff22eac309486b (diff)
downloadplus-e0f535979ad9315efbe4a16ab1ad345d9e9a4347.tar.gz
plus-e0f535979ad9315efbe4a16ab1ad345d9e9a4347.tar.bz2
plus-e0f535979ad9315efbe4a16ab1ad345d9e9a4347.tar.xz
plus-e0f535979ad9315efbe4a16ab1ad345d9e9a4347.zip
Remove joystick calibration logic
Diffstat (limited to 'src/input/joystick.h')
-rw-r--r--src/input/joystick.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/input/joystick.h b/src/input/joystick.h
index 198b6fe9e..d90420395 100644
--- a/src/input/joystick.h
+++ b/src/input/joystick.h
@@ -98,13 +98,6 @@ class Joystick final
*/
void logic();
- void startCalibration();
-
- void finishCalibration();
-
- bool isCalibrating() const noexcept2 A_WARN_UNUSED
- { return mCalibrating; }
-
bool buttonPressed(const unsigned char no) const A_WARN_UNUSED;
bool isUp() const noexcept2 A_WARN_UNUSED
@@ -152,9 +145,7 @@ class Joystick final
SDL_Joystick *mJoystick;
int mTolerance;
- bool mCalibrating;
int mNumber;
- bool mCalibrated;
int mButtonsNumber;
bool mUseInactive;
bool mHaveHats;
@@ -171,8 +162,6 @@ class Joystick final
static bool mEnabled;
static bool mInitialized;
static int joystickCount;
-
- void doCalibration();
};
extern Joystick *joystick;