Search
⌃K
🕹

Using input

To start receiving input events we need to state which ones we want to be notified of.
To do so we will a reference the input manager instance which was created by the GameApplication BE::Application template.
GetApplicationManager()->GetTaskHandle()
Then we will subscribe to the WASD keys and to the left click mouse event.
inputManager->SubscribeToInputEvent()
inputManager->SubscribeToInputEvent()
​