[FEATURE] BT4 Keybind Support patch
rgop13 opened this issue · 2 comments
Before You Begin
- I confirm that I have downloaded the latest version of the addon.
- I am not playing on a private server.
- I checked for an existing, open ticket for this request and was not able to find one.
- I edited the title of this feature request (above) so that it describes the issue I am reporting.
Feature Request
In line 2090 at Evants.lua: I changed some stirngs to current BT4 bindingKeyName.
And actually works perfectly.
Please update Events.lua like below.
If you guys gonna setting like below, you must set the keybind to not the blizzard action bar but BT4 action keybind.
-- Bartender4 support (Original from tanichan, rewritten for action bar paging by konstantinkoeppe).
if _G["Bartender4"] then
for actionBarNumber = 1, 10 do
local bar = _G["BT4BLANK" .. actionBarNumber]
for keyNumber = 1, 12 do
local actionBarButtonId = (actionBarNumber - 1) * 12 + keyNumber
-- BEFORE: local bindingKeyName = "ACTIONBUTTON" .. keyNumber
local bindingKeyName = "CLICK BT4Button" .. actionBarButtonId .. ":Keybind"
StoreKeybindInfo( actionBarNumber, GetBindingKey( bindingKeyName ), GetActionInfo( actionBarButtonId ) )
end
end
done = true
Additional Information
No response
Contact Information
No response
Sorry, I need some additional context here. It looks like you're reporting this for a Wrath install. Is that correct? In what way did it not work previously vs. after your changes?
Yes, It's the WoTLK version.
With the BT4, all of my keybinding by BT4 could not be recognized in the display of Hekili.
I changed many options in the lua and I found some methods to solve this issue.
However, it requires a manual setting (works only with the original keybind setting) and is not compatible with auto keybinding at BT4.
Sorry, I need some additional context here. It looks like you're reporting this for a Wrath install. Is that correct? In what way did it not work previously vs. after your changes?