From 7901c35b62e1ad092906748dfb9f45b4b208b5ae Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 18 Oct 2009 09:39:20 +0000 Subject: [PATCH] Make use_wheel_input OK for host build as well --- src/gui-sdl/gui-sdl.c | 2 -- src/include/options.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/gui-sdl/gui-sdl.c b/src/gui-sdl/gui-sdl.c index 30916a8..1bd856a 100644 --- a/src/gui-sdl/gui-sdl.c +++ b/src/gui-sdl/gui-sdl.c @@ -437,14 +437,12 @@ static void setup_joystick_defaults(int joy) insert_keyboard_map(what, "input.1.joystick.%d.axis.%d", joy, i); } -#ifdef GEKKO if (currprefs.use_wheel_input) insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ", "input.1.joystick.%d.axis.6", joy); else /* Just select something which will not affect play! */ insert_keyboard_map("PAR_JOY2_VERT", "input.1.joystick.%d.axis.6", joy); -#endif insert_keyboard_map(joy == 1 ? "JOY1_HORIZ" : "JOY2_HORIZ", "input.1.joystick.%d.axis.9", joy); insert_keyboard_map(joy == 1 ? "JOY1_VERT" : "JOY2_VERT", diff --git a/src/include/options.h b/src/include/options.h index d560e2a..7871226 100644 --- a/src/include/options.h +++ b/src/include/options.h @@ -237,9 +237,7 @@ struct uae_prefs { int statecapturerate, statecapturebuffersize; #endif -#ifdef GEKKO int use_wheel_input; -#endif /* input */ int jport0;