Skip to content
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

✨ Sort key codes in keybinds export #645

Open
3 of 4 tasks
injust opened this issue Dec 27, 2024 · 0 comments
Open
3 of 4 tasks

✨ Sort key codes in keybinds export #645

injust opened this issue Dec 27, 2024 · 0 comments
Labels

Comments

@injust
Copy link

injust commented Dec 27, 2024

Feature Request Description

If you have a keybind with multiple arrow keys (e.g. for the top-left quadrant), the UI always displays the left arrow first.

However, the ordering of the key codes in the exported JSON seems to be based on the order you press the keys when setting the keybind. So if you rebind a keybind but press the arrow keys in a different order, the key codes will be reordered.

It seems like the ordering of the key codes doesn't affect how the keybind is actually used. If this is actually the case, it'd be a nice-to-have to sort the key codes so the exported values stay consistent.

Screenshots

No response

Additional Context

No response

Final Checks

  • My issue is written in English
  • My issue title is descriptive
  • This is a single feature request (multiple feature requests should be reported individually)
  • I can help with the improvement or development of this feature (tick if you can help)
@injust injust added the Feature label Dec 27, 2024
@injust injust changed the title ✨ Deterministic ordering for exported keybinds ✨ Deterministic ordering for key codes in keybinds export Dec 27, 2024
@injust injust changed the title ✨ Deterministic ordering for key codes in keybinds export ✨ Sort key codes in keybinds export Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant