InputEventInfo Struct Reference

#include <event.h>

List of all members.


Detailed Description

Generic input event.


Public Member Functions

 InputEventInfo ()
void postToSignal (InputEvent &ie)

Public Attributes

U32 deviceInst
 Device instance: joystick0, joystick1, etc.
F32 fValue
 Value ranges from -1.0 to 1.0.
InputActionType action
 What was the action? (MAKE/BREAK/MOVE).
InputDeviceTypes deviceType
InputEventType objType
InputObjectInstances objInst
U16 ascii
 ASCII character code if this is a keyboard event.
InputModifiers modifier
 Modifiers to action: SI_LSHIFT, SI_LCTRL, etc.


Constructor & Destructor Documentation

InputEventInfo::InputEventInfo (  )  [inline]


Member Function Documentation

void InputEventInfo::postToSignal ( InputEvent ie  )  [inline]


Member Data Documentation

Device instance: joystick0, joystick1, etc.

Value ranges from -1.0 to 1.0.

What was the action? (MAKE/BREAK/MOVE).

ASCII character code if this is a keyboard event.

Modifiers to action: SI_LSHIFT, SI_LCTRL, etc.