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

DirectChat + Special Keys trigger double taps in ImGui.Input #2029

Open
Infiziert90 opened this issue Aug 27, 2024 · 0 comments
Open

DirectChat + Special Keys trigger double taps in ImGui.Input #2029

Infiziert90 opened this issue Aug 27, 2024 · 0 comments

Comments

@Infiziert90
Copy link
Contributor

The issue got first brought up by Athene79 Infiziert90/ChatTwo#62, but after some testing i have confirmed that this a general issue and not only chat2 is affected.

Whats happens is that special keys, like the < on a german keyboard (To the right of the "left shift" key), double tap in any imgui input field. But this only happens when "Direct Chat Input" from the game is active.

Reproduce:

  • Enable the direct chat input option (Keybinds -> Chat -> Checkbox at the top)
  • Open /xlplugins
  • Click the search field
  • Press said special key with a german keyboard layout, or any other special key with other keyboard layouts

Result:

  • "<<" will appear in the search field
  • Direct chat triggers focus for vanilla chat input

ffxiv_dx11_CCSX0hCrG8

I invested some time to try and debug it in chat2 before noticing that this was general issue, and what i saw there suggest to me that ImGui isn't successfully cleaning the key state and just lets it pass through to the game.

image

Was = Before ImGui.Input
Is = After ImGui.Input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant