#include <JoystickEvent.h>
Implements the button event for joysticks. More...
Implements the button event for joysticks.
Public Member Functions | |
ButtonEvent (const int buttonStates=0) | |
Default constructor. More... | |
virtual | ~ButtonEvent () |
Default destructor. More... | |
void | setButtons (const int) |
bool | getButton (const int) const |
virtual const char * | getClassName () const |
sofa::core::objectmodel::JoystickEvent::ButtonEvent::ButtonEvent | ( | const int | buttonStates = 0 | ) |
Default constructor.
|
virtual |
Default destructor.
|
inlinevirtual |
void sofa::core::objectmodel::JoystickEvent::ButtonEvent::setButtons | ( | const int | buttons | ) |