#include <JoystickEvent.h>

Public Member Functions | |
| ButtonEvent (const int buttonStates=0) | |
| Default constructor. | |
| virtual | ~ButtonEvent () |
| Default destructor. | |
| void | setButtons (const int) |
| bool | getButton (const int) const |
Private Attributes | |
| bool | m_buttons [32] |
| Current State of the whole Joystick Buttons. | |
Definition at line 124 of file JoystickEvent.h.
| sofa::core::objectmodel::JoystickEvent::ButtonEvent::ButtonEvent | ( | const int | buttonStates = 0 |
) |
| virtual sofa::core::objectmodel::JoystickEvent::ButtonEvent::~ButtonEvent | ( | ) | [inline, virtual] |
Definition at line 100 of file JoystickEvent.cpp.
References m_buttons.
Referenced by sofa::core::objectmodel::JoystickEvent::getButton().
| void sofa::core::objectmodel::JoystickEvent::ButtonEvent::setButtons | ( | const int | buttons | ) |
Current State of the whole Joystick Buttons.
Definition at line 149 of file JoystickEvent.h.
Referenced by getButton(), and setButtons().
1.5.7.1