In 3D WebView, all keyboard input is sent to a webview through the IWebView.HandleKeyboardInput()
method. For example, 3D WebView's on-screen Keyboard
component and its HardwareKeyboardListener
script both work by emitting the string for a character so that the application can call HandleKeyboardInput()
, like this:
var keyboard = Keyboard.Instantiate();
keyboard.InputReceived += (sender, e) => {
webViewPrefab.WebView.HandleKeyboardInput(e.Value);
};
So, you can integrate with any 3rd party keyboard by passing the character output from the keyboard to HandleKeyboardInput()
in the same way.