#include <keyinput.hpp>
Generally you won't have to bother using this class.
Definition at line 67 of file keyinput.hpp.
Public Types | |
| enum | { EMPTY = 0, PRESS, RELEASE } |
| Enum with key input values. | |
Public Member Functions | |
| KeyInput () | |
| Constructor. | |
| KeyInput (const Key &key, int type) | |
| Constructor. | |
| void | setType (int type) |
| Sets the input type. | |
| int | getType () const |
| Gets the input type. | |
| void | setKey (const Key &key) |
| Sets the key the input concerns. | |
| const Key & | getKey () const |
| Gets the key the input concerns. | |
Protected Attributes | |
| Key | mKey |
| int | mType |
| int | mButton |
|
||||||||||||
|
Constructor.
Definition at line 63 of file keyinput.cpp. |
|
|
Gets the key the input concerns.
Definition at line 84 of file keyinput.cpp. Referenced by gcn::Gui::logic(). |
|
|
Gets the input type.
Definition at line 74 of file keyinput.cpp. Referenced by gcn::Gui::logic(). |
|
|
Sets the key the input concerns.
Definition at line 79 of file keyinput.cpp. Referenced by gcn::SDLInput::pushInput(). |
|
|
Sets the input type.
Definition at line 69 of file keyinput.cpp. Referenced by gcn::SDLInput::pushInput(). |
1.4.1