Hey everyone,
I’m developing a VR App for Occulus Quest, using a Keyboard connected over Bluetooth.
The user writes into a TMPInputField, which is activated via script:
public TMP_InputField inputField;
...
inputField.ActivateInputField();
Simultaniously, I would like to use Input.GetKeyDown()
to keep track of every key on the keyboard. This works fine when I run my project in the editor - I can type into the InputField, and the Input.GetKeyDown()
events are being fired.
However, running the same code on my Occulus Quest does not work - when the InputField is focused, I can type into it, but no events are being fired.
I verifyed this by using inputField.DeactivateInputField();
- and the events are being fired.
I could imagine developing a workaround for this by manually editing the inputField.text
for every key being pressed - seems kinda brute force though.
Am I missing something basic or is this a bug (Occulus Quest Bluetooth device support still being an experimental feature) ?
Thank you for your time