The simplest way to obtain user input is just get the current data from an input component. We've already seen this using the Input class and VR SDK. Presently, we will write our own input component that maps the Unity (or SDK) input to our own simple API in MyInputController. Then, we'll write a BalloonController that polls the input, as illustrated:
![](https://static.packt-cdn.com/products/9781788478809/graphics/assets/65788305-5dad-48b6-aba4-387704e3ee6e.png)