local defaults = { ["key_hide"] = DIK_keys.DIK_LMENU, ["key_mode"] = true, } function get_config(key) if ui_mcm then return ui_mcm.get("hide_tooltip/" .. key) else return defaults[key] end end function on_mcm_load() op = { id = "hide_tooltip",sh = true ,gr = { -- LuaFormatter off {id = "title", type = "slide", link = "ui_options_slider_player", text = "ui_mcm_menu_hide_tooltip", size = {512, 50}, spacing = 20}, {id = "key_hide", type = "key_bind", val = 2, def = DIK_keys.DIK_LMENU}, {id = "key_mode", type = "check", val = 1, def = true} -- LuaFormatter on } } return op end