diff options
author | ewewukek <ewewukek@gmail.com> | 2024-01-10 23:11:14 +0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-14 01:14:04 +0000 |
commit | 78f73fbc427d449a9fbfb35461ff22eac309486b (patch) | |
tree | e7602d61b2646c624e69fb17cd66882381fd5529 /src/gui/widgets/tabs/setup_joystick.h | |
parent | 9e3a03079cfa530fd3885e36d3f7214ec2348818 (diff) | |
download | plus-78f73fbc427d449a9fbfb35461ff22eac309486b.tar.gz plus-78f73fbc427d449a9fbfb35461ff22eac309486b.tar.bz2 plus-78f73fbc427d449a9fbfb35461ff22eac309486b.tar.xz plus-78f73fbc427d449a9fbfb35461ff22eac309486b.zip |
Add a slider to joystick settings to set axis tolerance
Diffstat (limited to 'src/gui/widgets/tabs/setup_joystick.h')
-rw-r--r-- | src/gui/widgets/tabs/setup_joystick.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_joystick.h b/src/gui/widgets/tabs/setup_joystick.h index 174cd82b2..8e347d0f6 100644 --- a/src/gui/widgets/tabs/setup_joystick.h +++ b/src/gui/widgets/tabs/setup_joystick.h @@ -31,6 +31,7 @@ class CheckBox; class DropDown; class Label; class NamesModel; +class Slider; class Setup_Joystick final : public SetupTab { @@ -56,6 +57,8 @@ class Setup_Joystick final : public SetupTab CheckBox *mJoystickEnabled A_NONNULLPOINTER; NamesModel *mNamesModel A_NONNULLPOINTER; DropDown *mNamesDropDown A_NONNULLPOINTER; + Label *mToleranceLabel A_NONNULLPOINTER; + Slider *mToleranceSlider A_NONNULLPOINTER; CheckBox *mUseInactiveCheckBox A_NONNULLPOINTER; bool mOriginalJoystickEnabled A_NONNULLPOINTER; }; |