diff options
author | 2019-05-14 21:55:59 +0100 | |
---|---|---|
committer | 2019-05-14 16:55:59 -0400 | |
commit | 16bbe847ef289d09cc5d3908d75462131a2b6aa5 (patch) | |
tree | d1692a8c50358f8d0ff27158d8a985c3bb0dee72 /scripts/src/osd/sdl.lua | |
parent | 0c86462c1f406f24a10fc8ab2cf6bead15b803b1 (diff) |
Disable WII Lightgun hack by default (#5056)
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r-- | scripts/src/osd/sdl.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 0d5b72e21a6..9485fcc553c 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -178,6 +178,19 @@ if not _OPTIONS["NO_USE_XINPUT"] then end newoption { + trigger = "NO_USE_XINPUT_WII_LIGHTGUN_HACK", + description = "Disable use of Xinput Wii Lightgun Hack", + allowed = { + { "0", "Enable Xinput Wii Lightgun Hack" }, + { "1", "Disable Xinput Wii Lightgun Hack" }, + }, +} + +if not _OPTIONS["NO_USE_XINPUT_WII_LIGHTGUN_HACK"] then + _OPTIONS["NO_USE_XINPUT_WII_LIGHTGUN_HACK"] = "1" +end + +newoption { trigger = "SDL2_MULTIAPI", description = "Use couriersud's multi-keyboard patch for SDL 2.1? (this API was removed prior to the 2.0 release)", allowed = { |