0

I have a question if you can answer me it will delight me. How do you enable the touch screen keyboard? Is it inside the XR Interaction Toolkit? I have no clue or whatsoever to get that touch keyboard out and use it in a input field in Unity.

박성수
  • 3
  • 1
  • 2

2 Answers2

1

Usually the touchscreen keyboard opens up on its own when you click on an InputField.

However if it doesn't, you should be able to open it manually like this in C#

public void OpenKeyboard()
{
     TouchScreenKeyboard.Open("");
}

You can learn more about the touchscreen keyboard and its properties right here.

Hope this helped you :)

Cliz
  • 98
  • 1
  • 7
1

You can enable touch keyboard in the VR application using XR Interaction Toolkit and Oculus Integration package.

Even though Oculus supports the system keyboard in the VR apps but sometimes it won't work for the inputs like InputField.

If you want to enable a virtual keyboard using Oculus then refer to the following answer: https://stackoverflow.com/a/70431161/7103882

If you want to enable a virtual keyboard using XR Interaction Toolkit then refer to the following steps:

NB: Sometimes oculus system keyboard support won't work. So, I recommend you to try with XR Interaction Toolkit if the Oculus version is not supported.

Codemaker2015
  • 12,190
  • 6
  • 97
  • 81
  • 1
    Thank you for your time and answer :) I went for editing AndriodManifest.xml and it worked. Thanks again – 박성수 May 31 '22 at 07:22