comparison SkeletonKey/Events.lua @ 17:500f9b2bd9ac

- for RegisterAction, use a function table instead of that if/then rats nest - consequently pet bar actions work now - unlocalize bindings data - activate keyslot input manually instead of on mouse over - activate checkbox to keep input mode active - dynamic buttons update in real time for petaction/talent/profession spells
author Nenue
date Sat, 30 Jul 2016 00:08:00 -0400
parents 32d64e42ec9b
children 73df13211b22
comparison
equal deleted inserted replaced
16:cdd387d39137 17:500f9b2bd9ac
39 end 39 end
40 40
41 kb.PLAYER_SPECIALIZATION_CHANGED = function() 41 kb.PLAYER_SPECIALIZATION_CHANGED = function()
42 kb.UpdateSpecInfo() 42 kb.UpdateSpecInfo()
43 kb.UpdateTalentInfo() 43 kb.UpdateTalentInfo()
44 kb.SelectProfileSet(kb.profileName)
44 kb.ApplyAllBindings() 45 kb.ApplyAllBindings()
45 kb.ui(true) 46 kb.ui(true)
46 end 47 end
47 kb.PLAYER_TALENT_UPDATE = function() 48 kb.PLAYER_TALENT_UPDATE = function()
48 kb.UpdateTalentInfo() 49 kb.UpdateTalentInfo()
50 kb.SelectProfileSet(kb.profileName)
49 kb.ApplyAllBindings() 51 kb.ApplyAllBindings()
50 kb.ui() 52 kb.ui()
51 end 53 end
52 kb.ACTIONBAR_SLOT_CHANGED = function(self, event, slot) 54 kb.ACTIONBAR_SLOT_CHANGED = function(self, event, slot)
53 kb.HotKeyText(slot) 55 kb.HotKeyText(slot)