Getting Input from Devices

Getting input from the hardware devices is conceptually the same, but the implementations are quite different between the CAVElibs™ software and VR Juggler.

In CAVElibs

To get tracking information, the following functions are used:

For button input, the following macros are used:

In VR Juggler

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”.