BALL::VIEW::ButtonEvent Class Reference

This event encodes button states of a custom input device. More...

#include <buttonEvent.h>

Inherits BALL::VIEW::DeviceEvent.

List of all members.


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.

Detailed Description

This event encodes button states of a custom input device.

It is emitted when a button is either pressed or released.


Generated on Thu Aug 6 18:30:54 2009 for BALL by doxygen 1.5.8