Removed junk
This commit is contained in:
parent
941868ba9a
commit
a98568827e
2 changed files with 1 additions and 20 deletions
19
binds.lua
Normal file → Executable file
19
binds.lua
Normal file → Executable file
|
@ -42,22 +42,3 @@ print("test")
|
|||
-- Register the /hello command
|
||||
SLASH_BINDS1 = "/binds"
|
||||
SlashCmdList["BINDS"] = HelloCommandHandler
|
||||
|
||||
local function MyAddonOnLoad(self, event, arg1)
|
||||
if arg1 == "MyAddon" then -- Replace "MyAddon" with your add-on's folder name
|
||||
setAllBinds()
|
||||
print("MyAddon has been loaded!")
|
||||
end
|
||||
end
|
||||
|
||||
local frame = CreateFrame("Frame")
|
||||
frame:RegisterEvent("ADDON_LOADED")
|
||||
frame:SetScript("OnEvent", MyAddonOnLoad)
|
||||
|
||||
-- local actionName = "ACTIONBUTTON1";
|
||||
-- local primaryKey = GetBindingKey(actionName);
|
||||
-- setBinding(primaryKey, nil);
|
||||
-- SetBinding("CTRL+A", actionName);
|
||||
-- SaveBindings(1);
|
||||
|
||||
-- setBinding("CTRL+A", "ACTIONBUTTON1"); setBinding("CTRL+B", "ACTIONBUTTON2");
|
0
binds.toc
Normal file → Executable file
0
binds.toc
Normal file → Executable file
Loading…
Reference in a new issue