vvvv / VL.CEF

Set of nodes to use the Chromium Embedded Framework (CEF) in vl
12 stars 1 forks source link

WebRenderer [Stride.Rendering] Keyboard input not working #7

Closed davidbrrrr closed 2 years ago

davidbrrrr commented 2 years ago

Reproduce: open Helppatch "Overview Stride", load a page with an input field, start typing on keyboard. Additionally. think about touchscreens and maybe add an option to call the onscreen keyboard?

azeno commented 2 years ago

Just pushed a new version (0.2.3) which should fix the text input not working at all. Regarding the onscreen keyboard some research would need to be done. I'm not exactly sure how that works. It's something the operating system provides, no?

davidbrrrr commented 2 years ago

confirmed. works now. regarding onscreen keyboard. I think its just osk.exe. Maybe the WebRenderer has an output with events that one can catch and do stuff like calling osk.exe on their own? Dont know.

azeno commented 2 years ago

Indeed there is an event for that which also says what keyboard should be opened. I will expose it as an observable.

azeno commented 2 years ago

In >= 0.3.0 use VirtualKeyboardRequests [WebBrowser] and for example listen to the requests with a ForEach [Reactive]. A value of CefTextInputMode != None will tell you that a keyboard should be shown, a value of None will tell you that it should be hidden.