InputEvent Class Reference

Class describing an input event. More...

#include <MercuryInput.h>

List of all members.

Public Member Functions

 InputEvent ()
 InputEvent (int DevNum, int BtnNum, EventType IET)

Public Attributes

int DeviceNumber
 What device pressed?
int ButtonNumber
 What was the button code for that device?
EventType Type
 What type of button press was it? (press, release, etc?).


Detailed Description

Class describing an input event.

Definition at line 18 of file MercuryInput.h.


Constructor & Destructor Documentation

InputEvent::InputEvent (  )  [inline]

Definition at line 21 of file MercuryInput.h.

InputEvent::InputEvent ( int  DevNum,
int  BtnNum,
EventType  IET 
) [inline]

Definition at line 22 of file MercuryInput.h.


Member Data Documentation

int InputEvent::DeviceNumber

What device pressed?

Definition at line 26 of file MercuryInput.h.

int InputEvent::ButtonNumber

What was the button code for that device?

Definition at line 28 of file MercuryInput.h.

EventType InputEvent::Type

What type of button press was it? (press, release, etc?).

Definition at line 30 of file MercuryInput.h.


The documentation for this class was generated from the following file:
Hosted by SourceForge.net Logo