For keyboard input, the following functions are used:
glutKeyboardFunc(OnKeyboardDown)
glutKeyboardUpFunc(OnKeyboardUp)
glutSpecialFunc(OnSpecialKeyboardDown)
glutSpecialUpFunc(OnSpecialKeyboardUp)
For mouse input, the following functions are used:
glutMouseFunc(OnMouseButton)
glutMotionFunc(OnMousePosition)
glutPassiveMotionFunc(OnMousePosition)
To get device input, use the type-specific instantiations of
gadget::DeviceInterface<T>. They include the following:
For more information about the VR Juggler device interfaces, refer to the section called “Device Proxies and Device Interfaces”. A tutorial on getting device input in VR Juggler applications can be found in the section called “Getting Input”.