From 2d220c7ba8b63c0268e4c6ff1f780dcfe87c1f9a Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 2 Nov 2021 16:08:24 +1100 Subject: [PATCH] Fixed Windows build as well - default input overrides in OSD modules are annoying. --- docs/source/plugins/timecode.rst | 6 +++--- plugins/timecode/init.lua | 2 +- src/osd/modules/input/input_windows.cpp | 5 ----- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/source/plugins/timecode.rst b/docs/source/plugins/timecode.rst index 315f72e44a9..c24847b3453 100644 --- a/docs/source/plugins/timecode.rst +++ b/docs/source/plugins/timecode.rst @@ -12,9 +12,9 @@ code log file has the same name as the input recording file with the extension input recording and specify the location for the output files. By default, the plugin records a time code when you press the **F12** key on the -keyboard while not pressing either **Shift** key. You can change this setting -in the options menu for the plugin (choose **Plugin Options** from the main menu -during emulation, and then choose **Timecode Recorder**). +keyboard while not pressing either **Shift** or **Alt** key. You can change +this setting in the options menu for the plugin (choose **Plugin Options** from +the main menu during emulation, and then choose **Timecode Recorder**). Settings for the plugin are stored in JSON format in the file **plugin.cfg** in the **timecode** folder inside your plugin data folder (see the diff --git a/plugins/timecode/init.lua b/plugins/timecode/init.lua index 984455770f4..8cc8f1a4782 100644 --- a/plugins/timecode/init.lua +++ b/plugins/timecode/init.lua @@ -158,7 +158,7 @@ function timecode.startplugin() local function start() - hotkey_seq = manager.machine.input:seq_from_tokens('KEYCODE_F12 NOT KEYCODE_LSHIFT NOT KEYCODE_RSHIFT') + hotkey_seq = manager.machine.input:seq_from_tokens('KEYCODE_F12 NOT KEYCODE_LSHIFT NOT KEYCODE_RSHIFT NOT KEYCODE_LALT NOT KEYCODE_RALT') -- try to load configuration local cfgname = get_settings_path() .. 'plugin.cfg' diff --git a/src/osd/modules/input/input_windows.cpp b/src/osd/modules/input/input_windows.cpp index 7ed0b2624e1..bbe109eb53a 100644 --- a/src/osd/modules/input/input_windows.cpp +++ b/src/osd/modules/input/input_windows.cpp @@ -139,11 +139,6 @@ void windows_osd_interface::customize_input_type_list(std::vector