summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdlopts.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2024-04-26 06:26:22 +1000
committer Vas Crabb <vas@vastheman.com>2024-04-26 06:26:22 +1000
commitf91b896cda8343fc41f069b32b7ef527364bdea1 (patch)
tree105ca2e24d44ae9ceac3f540abf07b4f00086cde /src/osd/sdl/sdlopts.cpp
parent3b618bd7f04b8164fbcbb1fc106502e05ee85d6a (diff)
input/input_sdl.cpp: Added an SDL lightgun provider.
This does essentially the same thing as the Win32 lightgun provider, mapping the absolute pointer position over the window to gun axes. Also added a bunch of const in the windows input handling code. docs: Bumped version, as features that are not in a releaesd version of MAME are now documented.
Diffstat (limited to 'src/osd/sdl/sdlopts.cpp')
-rw-r--r--src/osd/sdl/sdlopts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/sdl/sdlopts.cpp b/src/osd/sdl/sdlopts.cpp
index f08dc41f963..3953a47b7f8 100644
--- a/src/osd/sdl/sdlopts.cpp
+++ b/src/osd/sdl/sdlopts.cpp
@@ -69,6 +69,7 @@ const options_entry f_sdl_option_entries[] =
{ nullptr, nullptr, core_options::option_type::HEADER, "SDL INPUT OPTIONS" },
{ SDLOPTION_ENABLE_TOUCH, "0", core_options::option_type::BOOLEAN, "enable touch input support" },
{ SDLOPTION_SIXAXIS, "0", core_options::option_type::BOOLEAN, "use special handling for PS3 Sixaxis controllers" },
+ { SDLOPTION_DUAL_LIGHTGUN ";dual", "0", core_options::option_type::BOOLEAN, "enable dual lightgun input" },
#if (USE_XINPUT)
// lightgun mapping