#include <KeyboardDevice.h>
Inheritance diagram for Lamp::KeyboardDevice:
Public Member Functions | |
virtual const KeyboardState & | getKeyboardState () const |
キーボードステートの取得 | |
virtual bool | setCooperativeLevel (bool exclusive, bool foreground) |
協調レベルの設定 | |
virtual String | toString () const |
文字列への変換 | |
Protected Member Functions | |
KeyboardDevice () | |
コンストラクタ | |
virtual | ~KeyboardDevice () |
デストラクタ | |
virtual bool | initialize (DirectInputDevice *inputDevice, HWND windowHandle) |
初期化 | |
virtual bool | polling () |
ポーリング | |
Friends | |
class | LampInput |
class | BufferedInput |
Definition at line 38 of file KeyboardDevice.h.
|
キーボードステートの取得
Definition at line 46 of file KeyboardDevice.h. |
|
初期化
Reimplemented from Lamp::InputDevice. Definition at line 40 of file KeyboardDevice.cpp. References DirectXFailed, ErrorOut, Lamp::InputDevice::isExclusive(), Lamp::InputDevice::isForeground(), and setCooperativeLevel(). Referenced by Lamp::LampInput::initialize(). |
|
ポーリング
Reimplemented from Lamp::InputDevice. Definition at line 55 of file KeyboardDevice.cpp. References Lamp::InputDevice::acquire(), Lamp::KeyboardState::clear(), DirectXSucceeded, ErrorOut, Lamp::InputDevice::inputDevice_, Lamp::KeyboardKey::Key, Lamp::KeyboardKey::maxKeyCount, Lamp::KeyboardState::setKeyPressed(), and u_char. |
|
協調レベルの設定
Reimplemented from Lamp::InputDevice. Definition at line 56 of file KeyboardDevice.h. References Assert. Referenced by initialize(), and Lamp::Keyboard::setCooperativeLevel(). |
|
文字列への変換
Reimplemented from Lamp::InputDevice. Definition at line 66 of file KeyboardDevice.h. References Lamp::InputDevice::getInputDeviceString(), and Lamp::KeyboardState::toString(). |