-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keybind translations #631
keybind translations #631
Conversation
Is there a reason the |
|
@SilentSpike Good question, I will take a look.
|
What about using a location hash instead of a oversized array? |
One problem with keyName 0x15
-> """Z""" Solution: _s = keyName 0x15; _s select [1, count _s -2] |
keyName 327684
"""XBox Up""" It also handles the keyboard language problem: cba_keybinding_keynames select 0x15
-> "Y"
_s = keyName 0x15; _s select [1, count _s -2]
-> "Z" |
I use the location now like Pabst suggested. I don't use |
When merged this pull request will:
keyName
instead of static array names for displaying the keybinds, which means that Y vs. Z is now respected on German keyboards etc. and the keys like "Home" are translated correctly.todos: