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

InputBind: Sync / Return Code #72

Open
DeltaGW2 opened this issue Dec 16, 2024 · 0 comments
Open

InputBind: Sync / Return Code #72

DeltaGW2 opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@DeltaGW2
Copy link
Member

Currently all input bind handlers are called async if they are reached. Meaning whatever was last input is always intercepted and not relayed to the game.
This holds true even if the InputBind handler returns early such as for example if it's not supposed to process while the chat is active.

Goals:

  • Add a return code to signal if processing should continue.
  • Make the call synchronous to allow for a return code to begin with.

Need to verify no negative impact on performance. Potentially cache the keycode until a return is reached?

@DeltaGW2 DeltaGW2 added enhancement New feature or request question Further information is requested labels Dec 16, 2024
@DeltaGW2 DeltaGW2 self-assigned this Dec 16, 2024
@DeltaGW2 DeltaGW2 changed the title [API] InputBind return code to continue processing if conditions not met. InputBind: Sync / Return Code Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant