#include <VRPNButtonDevice.H>
Inherits VRG3D::InputDevice.
Public Member Functions | |
| VRPNButtonDevice (const std::string &vrpnButtonDeviceName, const Array< std::string > &eventsToGenerate) | |
| virtual | ~VRPNButtonDevice () |
| void | pollForInput (Array< EventRef > &events) |
| std::string | getEventName (int buttonNumber) |
| void | sendEvent (int buttonNumber, bool down) |
| VRG3D::VRPNButtonDevice::VRPNButtonDevice | ( | const std::string & | vrpnButtonDeviceName, | |
| const Array< std::string > & | eventsToGenerate | |||
| ) |
| virtual VRG3D::VRPNButtonDevice::~VRPNButtonDevice | ( | ) | [virtual] |
| void VRG3D::VRPNButtonDevice::pollForInput | ( | Array< EventRef > & | events | ) | [virtual] |
Reimplemented from VRG3D::InputDevice.
| std::string VRG3D::VRPNButtonDevice::getEventName | ( | int | buttonNumber | ) |
| void VRG3D::VRPNButtonDevice::sendEvent | ( | int | buttonNumber, | |
| bool | down | |||
| ) |
1.5.6