Fixed joystick configuration and axis, buttons, etc. values;

The Open/Save dialog code now sets a variable to indicate which extension filter index the user has selected.
This commit is contained in:
OBattler
2018-01-21 21:39:52 +01:00
parent 50bb92fcbe
commit 29e662bfe3
8 changed files with 45 additions and 34 deletions

View File

@@ -87,10 +87,10 @@ joystick_if_t joystick_ch_flightstick_pro =
ch_flightstick_pro_write,
ch_flightstick_pro_read_axis,
ch_flightstick_pro_a0_over,
1,
3,
4,
1,
1,
{"X axis", "Y axis", "Throttle"},
{"Button 1", "Button 2", "Button 3", "Button 4"},
{"POV"}

View File

@@ -171,8 +171,8 @@ joystick_if_t joystick_standard =
joystick_standard_a0_over,
2,
2,
2,
0,
2,
{"X axis", "Y axis"},
{"Button 1", "Button 2"}
};
@@ -185,10 +185,10 @@ joystick_if_t joystick_standard_4button =
joystick_standard_write,
joystick_standard_read_axis_4button,
joystick_standard_a0_over,
1,
2,
4,
0,
1,
{"X axis", "Y axis"},
{"Button 1", "Button 2", "Button 3", "Button 4"}
};
@@ -201,10 +201,10 @@ joystick_if_t joystick_standard_6button =
joystick_standard_write,
joystick_standard_read_axis_6button,
joystick_standard_a0_over,
1,
2,
6,
0,
1,
{"X axis", "Y axis"},
{"Button 1", "Button 2", "Button 3", "Button 4", "Button 5", "Button 6"}
};
@@ -217,10 +217,10 @@ joystick_if_t joystick_standard_8button =
joystick_standard_write,
joystick_standard_read_axis_8button,
joystick_standard_a0_over,
1,
2,
8,
0,
1,
{"X axis", "Y axis"},
{"Button 1", "Button 2", "Button 3", "Button 4", "Button 5", "Button 6", "Button 7", "Button 8"}
};

View File

@@ -244,10 +244,10 @@ joystick_if_t joystick_sw_pad =
sw_write,
sw_read_axis,
sw_a0_over,
4,
2,
10,
0,
4,
{"X axis", "Y axis"},
{"A", "B", "C", "X", "Y", "Z", "L", "R", "Start", "M"}
};

View File

@@ -86,10 +86,10 @@ joystick_if_t joystick_tm_fcs =
tm_fcs_write,
tm_fcs_read_axis,
tm_fcs_a0_over,
1,
2,
4,
1,
1,
{"X axis", "Y axis"},
{"Button 1", "Button 2", "Button 3", "Button 4"},
{"POV"}