VRKeys Save

A drum-style keyboard for VR in Unity

Project README

VRKeys - A drum-style keyboard for VR in Unity

VRKeys Screenshot (click image for video)

VRKeys is an open source keyboard interface for single-line text input in VR, made in Unity and available for free in the Unity Asset Store.

Features

  • Updated for Unity 2019.x
  • Works with both Oculus Touch and HTC Vive
  • Drum-style keyboard input
  • Grab to adjust position and scale
  • Shift key for capitalization and special characters
  • Special @ and .com keys
  • Easy input validation, info, and confirmation messages
  • Ability to enable/disable input while validating or submitting
  • Alternate keyboard layouts for i18n (Dvorak & Azerty for French included)
  • Demo scene shows how to integrate into your own projects.

Manual installation

In addition to the version on the Unity Asset Store, you can manually install VRKeys into an existing VR project (assumes VR support is enabled in your project) via:

  1. Download VRKeys.unitypackage
  2. Import TextMesh Pro via Window > TextMeshPro > Import TMP Essential Resources
  3. Import into your project via Assets > Import Package > Custom Package
  4. Open Assets/VRKeys/Scenes/Example Scene.unity to see a working example scene
  5. Example usage can be found in DemoScene.cs

Performance

When integrating VRKeys into your own scenes, assign a camera to the Event Camera on the VRKeys > Canvas object. This prevents Unity from defaulting to calling Camera.main multiple times per frame, which in turn calls Object.FindObjectWithTag on each access. For more info, see point 3 in these Unity UI optimization tips.

Brought to you by Flipside XR.

Open Source Agenda is not affiliated with "VRKeys" Project. README Source: campfireunion/VRKeys

Open Source Agenda Badge

Open Source Agenda Rating