Keyboard event (system-neutral). More...
#include <_src_input_event_keyboard.hh>
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 | |
Keyboard event (system-neutral).
| input::KeyboardEvent::KeyboardEvent | ( | void | ) | [inline] |
| input::KeyboardEvent::KeyboardEvent | ( | int | key, | |
| bool | press, | |||
| bool | shift, | |||
| bool | ctrl, | |||
| bool | alt | |||
| ) | [inline] |
| bool input::KeyboardEvent::IfModifier | ( | void | ) | const [inline] |
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
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12