Allow keyboard inputs in WebUIs
complete
T
Timmy
With CEF update,
window.onkeyup
and window.onkeydown
events seems to be ignored.I was relying on these events for many things in my user interfaces, and doing everything on the JS side for this part reduced the ping pong between scripting and javascript.
I could refactor it and cache the pressed keys to mimic the old behaviour but doing it natively without having to send each key press from Lua would be way more convenient in my opinion.
GTNardy
complete
GTNardy
I see, yeah that was more meant as a "bug", I will re-add the focus/removefocus stuff so it can keep working as it was before.
Right now it was using an automatic focus thing which was setting it automatically when an HTML Input got focus, I forgot to think about cases like yours
T
Timmy
GTNardy: Great, thanks!