From 16bbe847ef289d09cc5d3908d75462131a2b6aa5 Mon Sep 17 00:00:00 2001 From: Kiall Mac Innes Date: Tue, 14 May 2019 21:55:59 +0100 Subject: Disable WII Lightgun hack by default (#5056) --- src/osd/sdl/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osd/sdl/window.cpp') diff --git a/src/osd/sdl/window.cpp b/src/osd/sdl/window.cpp index 030804f5db8..18899cf1b69 100644 --- a/src/osd/sdl/window.cpp +++ b/src/osd/sdl/window.cpp @@ -356,7 +356,7 @@ void sdl_window_info::modify_prescale(int dir) void sdl_window_info::update_cursor_state() { -#if (USE_XINPUT) +#if (USE_XINPUT && USE_XINPUT_WII_LIGHTGUN_HACK) // Hack for wii-lightguns: // they stop working with a grabbed mouse; // even a ShowCursor(SDL_DISABLE) already does this. -- cgit v1.2.3-70-g09d2