summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl
diff options
context:
space:
mode:
author Kiall Mac Innes <kiall@macinnes.ie>2019-05-14 21:55:59 +0100
committer R. Belmont <rb6502@users.noreply.github.com>2019-05-14 16:55:59 -0400
commit16bbe847ef289d09cc5d3908d75462131a2b6aa5 (patch)
treed1692a8c50358f8d0ff27158d8a985c3bb0dee72 /src/osd/sdl
parent0c86462c1f406f24a10fc8ab2cf6bead15b803b1 (diff)
Disable WII Lightgun hack by default (#5056)
Diffstat (limited to 'src/osd/sdl')
-rw-r--r--src/osd/sdl/window.cpp2
1 files changed, 1 insertions, 1 deletions
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.