#include <Keyboard.h>
Inheritance diagram for Lamp::Keyboard:
Public Member Functions | |
virtual int | getKeyCount () const |
キー数の取得 | |
virtual bool | pressed (Key key) const |
キーが押されているか | |
virtual bool | down (Key key) const |
キーが下がった | |
virtual bool | up (Key key) const |
キーが上がった | |
virtual String | getName () const |
名前の取得 | |
virtual bool | isAttached () const |
アタッチされているか | |
virtual bool | isPolled () const |
ポーリングが必要か | |
virtual String | toString () const |
文字列への変換 | |
virtual void | clear () |
クリア | |
virtual bool | setCooperativeLevel (bool exclusive, bool foreground) |
協調レベルの設定 | |
virtual bool | isExclusive () const |
排他モードか | |
virtual bool | isForeground () const |
フォアグラウンドモードか | |
Protected Member Functions | |
Keyboard (KeyboardDevice *device) | |
コンストラクタ | |
virtual | ~Keyboard () |
デストラクタ | |
virtual void | setNextState (const KeyboardState &state) |
次のステート設定 | |
virtual const KeyboardState & | getState () |
ステートの取得 | |
Friends | |
class | LampInput |
class | BufferedInput |
Definition at line 38 of file Keyboard.h.
|
キーが下がった
Definition at line 61 of file Keyboard.h. References Lamp::KeyboardState::keyPressed(). Referenced by Lamp::SimpleFramework::frameworkRun(), Lamp::BasicFramework::frameworkRun(), and toString(). |
|
キー数の取得
Definition at line 47 of file Keyboard.h. References Lamp::InputDevice::getButtonCount(). Referenced by toString(). |
|
名前の取得
Definition at line 79 of file Keyboard.h. References Lamp::InputDevice::getProductName(). Referenced by toString(). |
|
ステートの取得
Definition at line 151 of file Keyboard.h. |
|
アタッチされているか
Definition at line 85 of file Keyboard.h. References Lamp::InputDevice::isAttached(). Referenced by toString(). |
|
排他モードか
Definition at line 121 of file Keyboard.h. References Lamp::InputDevice::isExclusive(). |
|
フォアグラウンドモードか
Definition at line 127 of file Keyboard.h. References Lamp::InputDevice::isForeground(). |
|
ポーリングが必要か
Definition at line 91 of file Keyboard.h. References Lamp::InputDevice::isPolled(). Referenced by toString(). |
|
キーが押されているか
Definition at line 54 of file Keyboard.h. References Lamp::KeyboardState::keyPressed(). Referenced by Lamp::BasicFramework::frameworkRun(), and toString(). |
|
協調レベルの設定
Definition at line 113 of file Keyboard.h. References Lamp::KeyboardDevice::setCooperativeLevel(). |
|
次のステート設定
Definition at line 40 of file Keyboard.cpp. |
|
文字列への変換
Definition at line 46 of file Keyboard.cpp. References down(), Lamp::String::format(), getKeyCount(), getName(), isAttached(), isPolled(), Lamp::KeyboardKey::Key, Lamp::KeyboardKey::keyToString(), Lamp::KeyboardKey::maxKeyCount, pressed(), and up(). |
|
キーが上がった
Definition at line 70 of file Keyboard.h. References Lamp::KeyboardState::keyPressed(). Referenced by toString(). |