|
BALL
1.4.79
|
#include <BALL/VIEW/INPUT/buttonEvent.h>
Public Member Functions | |
| ButtonEvent (EventsIDs type, InputDeviceDriver *dev, InputDeviceButton cause) | |
| ButtonEvent (EventsIDs type, InputDeviceDriver *dev, InputDeviceButton cause, InputDeviceButtons buttons) | |
| InputDeviceButton | button () const |
| InputDeviceButtons | buttons () const |
Public Member Functions inherited from BALL::VIEW::DeviceEvent | |
| DeviceEvent (EventsIDs type, InputDeviceDriver *device) | |
| InputDeviceDriver * | getDevice () |
This event encodes button states of a custom input device. It is emitted when a button is either pressed or released.
Definition at line 34 of file buttonEvent.h.
| BALL::VIEW::ButtonEvent::ButtonEvent | ( | EventsIDs | type, |
| InputDeviceDriver * | dev, | ||
| InputDeviceButton | cause | ||
| ) |
| BALL::VIEW::ButtonEvent::ButtonEvent | ( | EventsIDs | type, |
| InputDeviceDriver * | dev, | ||
| InputDeviceButton | cause, | ||
| InputDeviceButtons | buttons | ||
| ) |
|
inline |
Return the button that caused the event.
Definition at line 43 of file buttonEvent.h.
|
inline |
Returns the state of the devices buttons when the event was emitted.
Definition at line 48 of file buttonEvent.h.
1.8.7