mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2026-02-06 11:17:36 +00:00
Fix keyboardInput default option
This commit is contained in:
parent
ecd96f8238
commit
8a306a7a63
@ -549,7 +549,6 @@ class EmulatorJS {
|
||||
this.enableMouseLock = core.options.supportsMouse;
|
||||
this.retroarchOpts = core.retroarchOpts;
|
||||
this.saveFileExt = core.save;
|
||||
this.changeSettingOption("keyboardInput", (this.defaultCoreOpts.useKeyboard === true ? "enabled" : "disabled"), true);
|
||||
} else if (k === "license.txt") {
|
||||
this.license = new TextDecoder().decode(data[k]);
|
||||
}
|
||||
@ -4792,7 +4791,7 @@ class EmulatorJS {
|
||||
addToMenu(this.localization("Direct Keyboard Input"), "keyboardInput", {
|
||||
"disabled": this.localization("Disabled"),
|
||||
"enabled": this.localization("Enabled"),
|
||||
}, "disabled", inputOptions, true);
|
||||
}, ((this.defaultCoreOpts && this.defaultCoreOpts.keyboardInput === true) ? "enabled" : "disabled"), inputOptions, true);
|
||||
|
||||
checkForEmptyMenu(inputOptions);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user