[Simulator] Fix and refactor Joystick configuration dialog and internal stick-to-radio axis mapping system. Stick was not always showing active in config. dialog, and mappings were sometimes wrong. (#4672)

This commit is contained in:
Max Paperno
2017-03-22 21:02:04 +01:00
committed by Bertrand Songis
parent 4f6931faab
commit 4faf323aed
5 changed files with 111 additions and 464 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ class joystickDialog : public QDialog
bool started;
private slots:
void loadJoysticks(int stick = -1);
void populateSourceCombo(QComboBox * cb);
bool loadJoysticks(int stick = -1);
void joystickOpen(int stick);
void joystickSetEnabled(bool enable);
void onjoystickAxisValueChanged(int axis, int value);