#include <CHapticDeviceHandler.h>
Public Member Functions | |
cHapticDeviceHandler () | |
Constructor of cHapticDeviceHandler. | |
virtual | ~cHapticDeviceHandler () |
Destructor of cHapticDeviceHandler. | |
unsigned int | getNumDevices () |
Returns the number of devices connected to your computer. | |
void | update () |
Updates information regarding the devices that are connected to your computer. | |
int | getDeviceSpecifications (cHapticDeviceInfo &a_deviceSpecifications, unsigned int a_index=0) |
Returns the specifications of the ith device. | |
int | getDevice (cGenericHapticDevice *&a_hapticDevice, unsigned int a_index=0) |
Returns a handle to the ith device if available. |
int cHapticDeviceHandler::getDevice | ( | cGenericHapticDevice *& | a_hapticDevice, | |
unsigned int | a_index = 0 | |||
) |
Returns a handle to the ith device if available.
Returns a handle to the ith device if available.
a_hapticDevice | Handle to device | |
a_index | Index number of the device. |
int cHapticDeviceHandler::getDeviceSpecifications | ( | cHapticDeviceInfo & | a_deviceSpecifications, | |
unsigned int | a_index = 0 | |||
) |
Returns the specifications of the ith device.
Returns the specifications of the ith device.
a_deviceSpecifications | Returned result | |
a_index | Index number of the device. |