mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
Fixed Windows build as well - default input overrides in OSD modules are annoying.
This commit is contained in:
parent
33e55b1ca7
commit
2d220c7ba8
@ -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
|
||||
|
@ -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'
|
||||
|
@ -139,11 +139,6 @@ void windows_osd_interface::customize_input_type_list(std::vector<input_type_ent
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F12, KEYCODE_LSHIFT, KEYCODE_LCONTROL, input_seq::not_code, KEYCODE_LALT);
|
||||
break;
|
||||
|
||||
// add a NOT-lalt to write timecode file
|
||||
case IPT_UI_TIMECODE: // emu/input.c: input_seq(KEYCODE_F12, input_seq::not_code, KEYCODE_LSHIFT)
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F12, input_seq::not_code, KEYCODE_LSHIFT, input_seq::not_code, KEYCODE_LALT);
|
||||
break;
|
||||
|
||||
// lctrl-lalt-F5 to toggle post-processing
|
||||
case IPT_OSD_4:
|
||||
entry.configure_osd("POST_PROCESS", N_p("input-name", "Toggle Post-Processing"));
|
||||
|
Loading…
Reference in New Issue
Block a user