© Rakesh Baruah 2020
R. BaruahVirtual Reality with VRTK4 https://doi.org/10.1007/978-1-4842-5488-2_5

5. Keyboard Input as Action

Rakesh Baruah1 
(1)
Brookfield, WI, USA
 

In Chapter 4 we laid the groundwork for better understanding the Unity Event System and its integration with VRTK. For me, it’s helpful to think of events as messages sent between classes and objects to notify different components of a program that a change has occurred. Because user input into our VR applications alters the state of the program, it, too, is an event. As an event, user input fits nicely into the list of responsibilities handled by VRTK as an interface for the Unity Event System.

Traditionally, in platforms such as web development, user input has taken the form of keyboard ...

Get Virtual Reality with VRTK4: Create Immersive VR Experiences Leveraging Unity3D and Virtual Reality Toolkit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.