summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-26 07:03:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-10-26 07:03:37 +0100
commit6bb2a053be7a77d26914daee7cd9a13e05454528 (patch)
tree20b165903c9e5a395860c532bdf41c546ca9cb42 /ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp
parent37db3853d8b03c1e0de3a667ab591a59434f118d (diff)
joy tracker allow for input axis remap
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp')
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp
index bb95dd92..b201f3f8 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp
@@ -37,8 +37,15 @@ fin:
if (g_pDI)
g_pDI->Release();
}
-
- tie_setting(s.joyid, ui.joylist);
+
+ tie_setting(s.joyid, ui.joylist);
+
+ tie_setting(s.joy_1, ui.joy_1);
+ tie_setting(s.joy_2, ui.joy_2);
+ tie_setting(s.joy_3, ui.joy_3);
+ tie_setting(s.joy_4, ui.joy_4);
+ tie_setting(s.joy_5, ui.joy_5);
+ tie_setting(s.joy_6, ui.joy_6);
}
void TrackerControls::doOK() {