0 votes
by (450 points)
recategorized by

Hello,

In our app we are trying to implement the VR keyboard you have sent us but whenever we click on an input field, the native keyboard pops up and covers half the viewing screen and is stuck to the eyes.
This is not an issue in the keyboard project you sent us. How have you fixed this native keyboard popping up in your own keyboard project? I cannot find the piece of code that does that.

Best

1 Answer

0 votes
by (55.5k points)
selected by
 
Best answer

Dear developer,

You can refer to this code to disable Android default keyboard in Unity:

https://sdk.picovr.com/docs/FAQ/chapter_twentyfour.html#how-to-disable-android-default-keyboard-in-unity-application

by (450 points)

I also found out that by enabling the "shouldHideSoftKeyboard" bool for a certain input field, disables the native keyboard from opening completely. This only works for the input field where the setting is set though, i.e it is not a global setting.

You can do it either in the inspector or via script:

inputField.shouldHideSoftKeyboard = true;
by (55.5k points)

Thanks for your supplement.

...