ClickBinder by Gello and TrinityBinder by Maul -> keyBound by Tuller -> LibKeyBound made into library by Toadkiller.
LibKeyBound is identical to keyBound by Tuller except made into a library with Tuller's permission. The goal is to share this easy and intuitive keyinding interface among implementing mods.
It is now a LibStub lib. (Mostly, I need to make it include LibCallBackHandler still)
Removed AceLocale-3.0 and AceEvent-3.0 dependencies.
Combined the various locales from BT4 and Bongos.
Planned Additions:
Add a color for mods to use while binding to visually identify buttons / objects that can be bound as well as make the mode more obvious and reduce errors.
Add help text indicating that Macros and Spell Book items can be bound this way.
Add Undo button to Undo the last bind.
Add Cancel button to Undo all the binds for this Mode cycle.
Allow dismissal of the mode via escape key when not hovering over an eligible frame.
ClickBinder by Gello and TrinityBinder by Maul -> keyBound by Tuller -> LibKeyBound made into library by Toadkiller.
LibKeyBound is identical to keyBound by Tuller except made into a library with Tuller's permission. The goal is to share this easy and intuitive keyinding interface among implementing mods.
I was going to get around to doing this, but you beat me to it. Thank you very much!
I was going to get around to doing this, but you beat me to it. Thank you very much!
Sweet. The current version works. Next I need to work on the planned additions, including adding an Undo button and Cancel button. It is too easy to make horrible mistakes at the moment imo.
I added in more locale stubbs. It should now work with:
deDE
enUS
esES
esMX
frFR
koKR
zhCN
zhTW
The deutch & espanol need translation bitte & por favor.
The spellbook and macro stuff does not belong in keybound the library. Those are things that just happen to use the functionality :P
I am not sure I agree. It works ... why remove it? Also after the proposed improvements are made to the lib, it would be kind of nice to have a one stop shop for keybinding various things including your macros and items from the spell book. Besides, im already using it this way on my mage.
The spellbook and macro stuff does not belong in keybound the library. Those are things that just happen to use the functionality :P
On the other hand it is kind of bloaty. There are mods that do a better job of it. I will hack them out. If anyone truly needs them they can be put in another lib.
r75188
-- Added some missing keys for LibKeyBound:ToShortKey
-- Localize the shortened versions of the keys
-- Remove the macro ui and spell book code
-- Switch the /keybound to /libkeybound so the lib and the old code can be used together.
-- Switch to versioned global for the locale table.
Bartender4 uses /kb as well. If your running it, there maybe a conflict there.
The idea is to replace the old keyBound code, but I did not think that through. Older versions of mods that do not use it most likely will not get updated wth it. So currently, /kb is still highjacked, but /keybound no longer is. You can use /keybound if you use older versions of mods.
This shoves Tuller's Keyound/spell.lua and macro.lua into a lib. Include After your LibKeyBound lib. This extends Key Bindings Mode to non-pet Spell Book buttons as well as Macro UI butons. Just open up those two UIs during Key Bindings Mode and you can hover over and bind to them.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
LibKeyBound is identical to keyBound by Tuller except made into a library with Tuller's permission. The goal is to share this easy and intuitive keyinding interface among implementing mods.
API & implementation docs
Implemented:
Planned Additions:
I was going to get around to doing this, but you beat me to it. Thank you very much!
Sweet. The current version works. Next I need to work on the planned additions, including adding an Undo button and Cancel button. It is too easy to make horrible mistakes at the moment imo.
Dunno why I commented that out. Its back in.
Which mod are you using, and which version of it?
deDE
enUS
esES
esMX
frFR
koKR
zhCN
zhTW
The deutch & espanol need translation bitte & por favor.
still /kb dont work.
Is there perhaps an error? It's working just fine for me. Or maybe you have some other addon using the /kb command?
I am not sure I agree. It works ... why remove it? Also after the proposed improvements are made to the lib, it would be kind of nice to have a one stop shop for keybinding various things including your macros and items from the spell book. Besides, im already using it this way on my mage.
Try installing AutoBar ;-p Does it work now? If not you can access it by alt-clicking the AutoBar minimap or fubar icon...
You can also do a search inside your addons folder looking for "/kb"...
Finally, does /keybound work?
r75093
-- Adds /lkb so you can still use in a mixed environment while other authors have not switched from keyBound yet.
On the other hand it is kind of bloaty. There are mods that do a better job of it. I will hack them out. If anyone truly needs them they can be put in another lib.
r75188
-- Added some missing keys for LibKeyBound:ToShortKey
-- Localize the shortened versions of the keys
-- Remove the macro ui and spell book code
-- Switch the /keybound to /libkeybound so the lib and the old code can be used together.
-- Switch to versioned global for the locale table.
The idea is to replace the old keyBound code, but I did not think that through. Older versions of mods that do not use it most likely will not get updated wth it. So currently, /kb is still highjacked, but /keybound no longer is. You can use /keybound if you use older versions of mods.
This shoves Tuller's Keyound/spell.lua and macro.lua into a lib. Include After your LibKeyBound lib. This extends Key Bindings Mode to non-pet Spell Book buttons as well as Macro UI butons. Just open up those two UIs during Key Bindings Mode and you can hover over and bind to them.