comparison SkeletonKey/KeySlot.lua @ 18:91398d284a99

- stickyMode and hoverInput togglers with tooltips - remove keybinds via an interface button - turn off key input when receiving GAMEMENU key - ignore modifier keys - mask out key selections that are bound to core interface functions (todo: selectively free up combinations involving 1-6, F1-F12, etc.)
author Nenue
date Sat, 30 Jul 2016 03:33:09 -0400
parents 500f9b2bd9ac
children 67db6b712bf3
comparison
equal deleted inserted replaced
17:500f9b2bd9ac 18:91398d284a99
195 for i, key in pairs(keys) do 195 for i, key in pairs(keys) do
196 --print('clearing', key) 196 --print('clearing', key)
197 SetBinding(key, nil) 197 SetBinding(key, nil)
198 SaveBindings(GetCurrentBindingSet()) 198 SaveBindings(GetCurrentBindingSet())
199 if kb.currentProfile.bindings[key] then 199 if kb.currentProfile.bindings[key] then
200 kb:print(L('BINDING_REMOVED', self.actionName, kb.currentHeader)) 200 --kb:print(L('BINDING_REMOVED', self.actionName, kb.currentHeader))
201 kb.currentProfile.bindings[key] = nil 201 kb.currentProfile.bindings[key] = nil
202 end 202 end
203 if kb.currentProfile.talents[self.actionName] then 203 if kb.currentProfile.talents[self.actionName] then
204 kb.currentProfile.talents[self.actionName] = nil 204 kb.currentProfile.talents[self.actionName] = nil
205 end 205 end