VFSKeyboard is an open-source keyboard, as its name, suitable for VR development environment, fast and simple to use.
*Untrigger means the VR controller (or laser pointer) leave to point the keyboard area for about 3 seconds (default setting)
p.s. In our unitypackage, our example scene is made by Unity XR Interaction Toolkit framework and using the Oculus Quest 2 for our testing. Install the Unity XR Interaction Toolkit framework and double-click the example scene to try it out!
The part that our components are responsible for
Ther have some setting that let you modify such customize the keyboard button color when the user release, select, and press and the automatically closing time of the Virtual Keyboard
You can set the automatically closing time of the Virtual Keyboard of what you want. This setting is in the gameObject path, "Virtual Keyboard/Background"
For color setting of the Virtual Keyboard button, you can select the gameObject that path is "Virtual Keyboard/Background/{row1, row2, row3…}/{A, B, C, D, E…}", then modify the "GetKeyCode" script parameter {mNormalColor, mHoverColor, mDownColor}
Demo builds from the different framework and using the Oculus Quest 2 for testing are available here
The Unity Project File
Building by Oculus Integration:
Building by SteamVR Plugin:
Building by Unity XR Interaction Toolkit
General input(Physical Mouse) (Not VR Development)
Building by Oculus Integration | Building by SteamVR Plugin | Building by XR Interaction Toolkit | General input (by Physical Mouse) | |
---|---|---|---|---|
Running on Windows | V | V | V | V |
Running on Android(Oculus) | V | V | ||
Having a know issue | V | V | ||
Version | 29.0 | v2.7.3 (sdk 1.14.15) | 0.10.0-preview.7 | N/A |
*Press the keyboard key by | 1 or 2 | 3 | 3 | Physical Mouse |
*In the Demo, we set some button events on Oculus Controller to trigger the event when the button is down such as press the keyboard key
The above Demo follows the following tutorial to set the laser pointer that can interact with the UI component in the scene and then add VFSKeyboard to interact InputField and Virtual Keyboard components
Making the laser pointer with Oculus Integration
https://www.youtube.com/watch?v=8fT478uopco
Making the laser pointer with SteamVR Plugin:
(I). https://www.youtube.com/watch?v=3mRI1hu9Y3w&t=314s
(II). https://www.youtube.com/watch?v=h_BMXDWv10I
(III). https://www.youtube.com/watch?v=vNqHRD4sqPc&t=881s
Making the laser pointer with Unity XR Interaction Toolkit
https://www.youtube.com/watch?v=BZt74PVb7sM
MIT License
Create by Wong, Shing Ming
Email: shingming.cs@icloud.com
Web: https://shingming-cs.myportfolio.com/