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

Key state is not updated when pressing keys #39

Open
anhcraft opened this issue Feb 1, 2023 · 0 comments
Open

Key state is not updated when pressing keys #39

anhcraft opened this issue Feb 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@anhcraft
Copy link
Member

anhcraft commented Feb 1, 2023

A few keys currently do not update the state. This is caused because Tensai relies on Minecraft's internal key-handler. The handler prioritizes certain keys first and only fires the rest if they are not functional.
This includes a lot of keys such as:

  • Ctrl
  • Alt
  • Shift
  • W, A, S, D
  • All mouse buttons
  • etc

A patch must be implemented, however there is a few considerations:

  • Whether we should allow all keys (including ones used by Minecraft internally)
  • Whether we should notice or throw exception at forbidden / unsafe keys
  • Whether we should prioritize Tensai key-handling over Minecraft's
@anhcraft anhcraft added the bug Something isn't working label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant