Forum Discussion
mecadiego113
3 years agoExplorer
Input field not working with Interaction SDK
I'm using the brand new Interaction SDK with Meta Quest 2, but there is something that is not working at all: input field typing. Nor editor or PC build, input fields (TextMesh or legacy) are not receiving typing from my hardware keyboard.
I'm using the ray interaction system to select to input field.
2 Replies
Replies have been turned off for this discussion
- CafeSingularityProtege
It appears that the PointableCanvasModule.cs is missing a method for keyboard input. To resolve this, you can reference OVRInputModule.cs and transplant the SendUpdateEventToSelectedObject() method into the Process() function. This should help ensure that keyboard input functions correctly.
public override void Process() { SendUpdateEventToSelectedObject(); ProcessPointers(_pointersForDeletion, true); ProcessPointers(_pointerMap.Values, false); } private bool SendUpdateEventToSelectedObject() { if (eventSystem.currentSelectedGameObject == null) return false; var data = GetBaseEventData(); ExecuteEvents.Execute(eventSystem.currentSelectedGameObject, data, ExecuteEvents.updateSelectedHandler); return data.used; }- robertcoomberExpert Protege
This works great!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 1 year ago