var keyboardCharInputAction =
SteamVR_Events.SystemAction(EVREventType.VREvent_KeyboardCharInput, ev => Debug.Log("CharInput"));
keyboardCharInputAction.enabled = true;
var keyboardClosedAction =
SteamVR_Events.SystemAction(EVREventType.VREvent_KeyboardClosed, ev => Debug.Log("Closed"));
keyboardClosedAction.enabled = true;
var keyboardDoneAction =
SteamVR_Events.SystemAction(EVREventType.VREvent_KeyboardDone, ev => Debug.Log("Done"));
keyboardDoneAction.enabled = true;
The keyboard does not appear. Or the keyboard appears for a moment and then disappears.
However, the keyboard responds when the controller is pointed at the front.
And when the keyboard is closed, the EVREventType.VREvent_KeyboardClosed event is not fired.
And the keyboard event will not fire.
EVREventType.VREvent_KeyboardCharInput
EVREventType.VREvent_KeyboardClosed
EVREventType.VREvent_KeyboardDone
Also, system menu does not appear in the same way, but it responds.
note
If you enable the legacy XR OpenVR instead of the OpenVR XR Plugin, the overlay UI will appear.
Environment
Steps to reproduce
Register keyboard events
Call
SteamVR.instance.overlay.ShowKeyboard
Expected behavior
The keyboard is displayed.
Actual behavior
The keyboard does not appear. Or the keyboard appears for a moment and then disappears. However, the keyboard responds when the controller is pointed at the front.
And when the keyboard is closed, theAnd the keyboard event will not fire.EVREventType.VREvent_KeyboardClosed
event is not fired.Also, system menu does not appear in the same way, but it responds.
note
If you enable the legacy XR OpenVR instead of the OpenVR XR Plugin, the overlay UI will appear.