Added deadzone controls for sdl engine at input settings

This commit is contained in:
CJBok
2020-01-03 08:54:57 +01:00
parent ae0e481677
commit 4a566b9828
3 changed files with 129 additions and 24 deletions

View File

@ -97,6 +97,8 @@ private:
/// Analog inputs are also represented each with a single button, used to configure with an
/// actual analog stick
std::array<QPushButton*, Settings::NativeAnalog::NumAnalogs> analog_map_stick;
std::array<QSlider*, Settings::NativeAnalog::NumAnalogs> analog_map_deadzone;
std::array<QLabel*, Settings::NativeAnalog::NumAnalogs> analog_map_deadzone_label;
static const std::array<std::string, ANALOG_SUB_BUTTONS_NUM> analog_sub_buttons;