Skip to content

A simple Unity package project for enabling key entries in XR environments via a 3D keyboard

Notifications You must be signed in to change notification settings

hunsri/XR-TactileKeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XR-TactileKeyboard

A simple Unity package project for enabling key entries in XR environments via a 3D keyboard
Please note that this package is meant to be a baseline for own implementations.
Expect a limited feature set!
However, it can be used to facilitate basic keyboard inputs in XR.

Keyboard

Installation

Download the Unity Package and install it into your project.
Done!

Demo Scene

A demo scene can be found under Assets/XR-TactileKeyboard/Scenes
Upon entering you will be asked to install Text Mesh Pro

With compatible controllers you can use the grip buttons to control the finger pose!

Keyboard Input

The project depends on the following packages:

Unity Package tested version*
com.unity.xr.interaction.toolkit 2.4.3
com.unity.xr.management 4.4.0
com.unity.xr.openxr 1.8.2
*the version used in the latest build

Important:

  • make sure the starter assets for the com.unity.xr.interaction.toolkit are present (you can install it via the Unity packet manager)
  • install Text Mesh Pro into the project when asked during scene opening

Layouts

Right now the only available mapping is German.
However you can change the existing keys to a mapping of your choice!
Add a new Map type under Scripts\KeyboardScripts\KeyMaps\Mappings and add it to the KeyMappingType enum. After that you simply need to reference it in the KeyboardInfo class.

Functionality

What it can do
Basic input, such as characters and their "shifted" variants.

What it can NOT do
Input that requires to press Control, Alt or any other tertiary keys.

About

A simple Unity package project for enabling key entries in XR environments via a 3D keyboard

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages