diff options
author | 2015-04-01 03:02:58 +1100 | |
---|---|---|
committer | 2015-04-01 03:03:18 +1100 | |
commit | 1f2763cc32a0f42d6146cbb73a659742c142e39c (patch) | |
tree | 92dcd0d9b3768774285aea2056c4f2cfa221001a /scripts/src/osd/sdl.lua | |
parent | 00bfd00a431343bc14f002c59a0b75fe53d8f416 (diff) |
Restore SDL2_MULTIAPI
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 f905b9bb8a0..1c8935c8fec 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -225,6 +225,19 @@ if not _OPTIONS["SDL_LIBVER"] then 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 = { + { "0", "Use single-keyboard API" }, + { "1", "Use multi-keyboard API" }, + }, +} + +if not _OPTIONS["SDL2_MULTIAPI"] then + _OPTIONS["SDL2_MULTIAPI"] = "0" +end + +newoption { trigger = "SDL_INSTALL_ROOT", description = "Equivalent to the ./configure --prefix=<path>", } |