Public Member Functions | Public Attributes

input::KeyboardEvent Struct Reference

Keyboard event (system-neutral). More...

#include <_src_input_event_keyboard.hh>

List of all members.

Public Member Functions

 KeyboardEvent (void)
 KeyboardEvent (int key, bool press, bool shift, bool ctrl, bool alt)
bool IfModifier (void) const

Public Attributes

int mKey
 which key
bool mPress
 true if key was pressed, else key was released
bool mShift
 true if Shift was down
bool mCtrl
 true if Ctrl was down
bool mAlt
 true if Alt was down

Detailed Description

Keyboard event (system-neutral).


Constructor & Destructor Documentation

input::KeyboardEvent::KeyboardEvent ( void   )  [inline]
input::KeyboardEvent::KeyboardEvent ( int  key,
bool  press,
bool  shift,
bool  ctrl,
bool  alt 
) [inline]

Member Function Documentation

bool input::KeyboardEvent::IfModifier ( void   )  const [inline]

Member Data Documentation

true if Alt was down

true if Ctrl was down

which key

true if key was pressed, else key was released

true if Shift was down


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12