You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure how to go about contributing to your code so I figured I'd just post this.
I use Numpad keys for hotbars because I use an MMO mouse, and I don't like rebinding to common buttons from my keyboard.
No problem setting up the keybinds, so kudos to your hard work and incredible addon!
The issue I have is the UI displays the keys as A-NUMPAD1 and so on. This clutters the UI quite a bit.
I went looking through the lib files and found the convert_string function in the UI.lua.
Seems to transform Windower input code back into human readable format. Sweet.
I ran it through an interpreter console, tweaked it for a bit, and finally ended up adding this: msg = msg:gsub("NUMPAD","NP")
@ line 303 (the line before the return statement, in case it's changed since my post date)
I am no LUA guy and so there might be some edge cases where this fails. I haven't done any QA testing.
However since all it does is modify display text, I stuck it into my copy of the addon. If you think this is useful, I hope this post helps.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure how to go about contributing to your code so I figured I'd just post this.
I use Numpad keys for hotbars because I use an MMO mouse, and I don't like rebinding to common buttons from my keyboard.
No problem setting up the keybinds, so kudos to your hard work and incredible addon!
The issue I have is the UI displays the keys as
A-NUMPAD1and so on. This clutters the UI quite a bit.I went looking through the lib files and found the
convert_stringfunction in theUI.lua.Seems to transform Windower input code back into human readable format. Sweet.
I ran it through an interpreter console, tweaked it for a bit, and finally ended up adding this:
msg = msg:gsub("NUMPAD","NP")@ line 303 (the line before the
returnstatement, in case it's changed since my post date)I am no LUA guy and so there might be some edge cases where this fails. I haven't done any QA testing.
However since all it does is modify display text, I stuck it into my copy of the addon. If you think this is useful, I hope this post helps.
Beta Was this translation helpful? Give feedback.
All reactions