#include <buttonEvent.h>
Inherits BALL::VIEW::DeviceEvent.
Public Member Functions |
|
ButtonEvent (EventsIDs type, InputDeviceDriver *dev, InputDeviceButton cause) | |
ButtonEvent (EventsIDs type, InputDeviceDriver *dev, InputDeviceButton cause, InputDeviceButtons buttons) | |
InputDeviceButton | button () const |
Return the button that caused the
event. |
|
InputDeviceButtons | buttons () const |
Returns the state of the devices
buttons when the event was emitted. |
It is emitted when a button is either pressed or released.