mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 20:16:54 +01:00
Make use_wheel_input OK for host build as well
This commit is contained in:
parent
9dae5db049
commit
7901c35b62
@ -437,14 +437,12 @@ static void setup_joystick_defaults(int joy)
|
|||||||
insert_keyboard_map(what,
|
insert_keyboard_map(what,
|
||||||
"input.1.joystick.%d.axis.%d", joy, i);
|
"input.1.joystick.%d.axis.%d", joy, i);
|
||||||
}
|
}
|
||||||
#ifdef GEKKO
|
|
||||||
if (currprefs.use_wheel_input)
|
if (currprefs.use_wheel_input)
|
||||||
insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ",
|
insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ",
|
||||||
"input.1.joystick.%d.axis.6", joy);
|
"input.1.joystick.%d.axis.6", joy);
|
||||||
else /* Just select something which will not affect play! */
|
else /* Just select something which will not affect play! */
|
||||||
insert_keyboard_map("PAR_JOY2_VERT",
|
insert_keyboard_map("PAR_JOY2_VERT",
|
||||||
"input.1.joystick.%d.axis.6", joy);
|
"input.1.joystick.%d.axis.6", joy);
|
||||||
#endif
|
|
||||||
insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ",
|
insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ",
|
||||||
"input.1.joystick.%d.axis.9", joy);
|
"input.1.joystick.%d.axis.9", joy);
|
||||||
insert_keyboard_map(joy == 1 ? "JOY1_VERT" : "JOY2_VERT",
|
insert_keyboard_map(joy == 1 ? "JOY1_VERT" : "JOY2_VERT",
|
||||||
|
@ -237,9 +237,7 @@ struct uae_prefs {
|
|||||||
int statecapturerate, statecapturebuffersize;
|
int statecapturerate, statecapturebuffersize;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GEKKO
|
|
||||||
int use_wheel_input;
|
int use_wheel_input;
|
||||||
#endif
|
|
||||||
/* input */
|
/* input */
|
||||||
|
|
||||||
int jport0;
|
int jport0;
|
||||||
|
Loading…
Reference in New Issue
Block a user