2020-07-09 21:35:21 -07:00
|
|
|
local common = require("Keyboard Layout Changer.common")
|
|
|
|
|
|
|
|
local this = {}
|
|
|
|
|
|
|
|
local currentConfig
|
|
|
|
|
2020-07-11 14:38:07 -07:00
|
|
|
this.default = {keyboardLayout = "qwerty"}
|
2020-07-09 21:35:21 -07:00
|
|
|
|
|
|
|
function this.getConfig()
|
|
|
|
currentConfig = currentConfig or mwse.loadConfig(common.configString, this.default)
|
|
|
|
return currentConfig
|
|
|
|
end
|
|
|
|
|
|
|
|
return this
|