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

KeyBinding flags #45

Closed
wants to merge 5 commits into from
Closed

KeyBinding flags #45

wants to merge 5 commits into from

Conversation

anhcraft
Copy link
Member

@anhcraft anhcraft commented Feb 6, 2023

KeyBinding flags control how client-side Tensai mod should work with a keybinding.

1. Capture Enforcement
With enforced mode, if Minecraft or another mod already registers a key, its state change can still be captured. No client-side actions will be cancelled.

2. Editable
This property permits editing a key-binding.

3. Optimized State Update
In optimized mode, a state update is sent if and only if the isPressed property changes
This mode helps improve performance by reducing number of packets

This closes #43 and fixes #39

@anhcraft anhcraft added the enhancement New feature or request label Feb 6, 2023
@anhcraft anhcraft closed this by deleting the head repository Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

KeyBinding flag Key state is not updated when pressing keys
1 participant