#include <ceguikeyboardlistener.h>

Public Member Functions | |
| CEGUIKeyboardListener () | |
| bool | HandleKeyPressed (const dtCore::Keyboard *keyboard, int key) |
| Called when a key is pressed. | |
| bool | HandleKeyReleased (const dtCore::Keyboard *keyboard, int key) |
| Called when a key is released. | |
| bool | HandleKeyTyped (const dtCore::Keyboard *keyboard, int key) |
Static Public Member Functions | |
| static CEGUI::Key::Scan | KeyboardKeyToKeyScan (int key) |
| Determines the CEGUI scancode that corresponds to the specified Producer::KeyboardKey. | |
Protected Member Functions | |
| virtual | ~CEGUIKeyboardListener () |
| CEGUIKeyboardListener::CEGUIKeyboardListener | ( | ) |
| CEGUIKeyboardListener::~CEGUIKeyboardListener | ( | ) | [protected, virtual] |
| bool CEGUIKeyboardListener::HandleKeyPressed | ( | const dtCore::Keyboard * | keyboard, | |
| int | kc | |||
| ) | [virtual] |
Called when a key is pressed.
| keyboard | the source of the event | |
| key | the key pressed | |
| character | the corresponding character |
Implements dtCore::KeyboardListener.
| bool CEGUIKeyboardListener::HandleKeyReleased | ( | const dtCore::Keyboard * | keyboard, | |
| int | kc | |||
| ) | [virtual] |
Called when a key is released.
| keyboard | the source of the event | |
| key | the key released |
Implements dtCore::KeyboardListener.
| bool CEGUIKeyboardListener::HandleKeyTyped | ( | const dtCore::Keyboard * | keyboard, | |
| int | key | |||
| ) | [virtual] |
Implements dtCore::KeyboardListener.
| CEGUI::Key::Scan CEGUIKeyboardListener::KeyboardKeyToKeyScan | ( | int | key | ) | [static] |
Determines the CEGUI scancode that corresponds to the specified Producer::KeyboardKey.
| key | the key to map |