Web keyCode seem not compatible with imgui IO.KeysDown
Eragon-Brisingr opened this issue · 4 comments
Eragon-Brisingr commented
When i test ctrl event, ctrl event not enable.
I think key id is not compatible.
open demo-null and "Inputs Navigation & Focus" -> "Keyboard, Gamepad & Navigation State"
- pressed x, name is right
- pressed s, name is wrong, and not high light in virtual keyboard
Eragon-Brisingr commented
May be New IO keyboard/mouse/gamepad event API (1.87) recap can provide some help.
ggerganov commented
Thanks for reporting this. I guess the key mapping code needs some attention:
imgui-ws/examples/demo-null/main.cpp
Lines 220 to 237 in ff45168
ggerganov commented
Should be fixed now on latest master
(make sure to update the imgui
submodule)
Eragon-Brisingr commented
Nice, Good job! Thank you fix it, and do you have some idea to apply ImGui VtxOffset?