#include <MouseDevice.h>
Inheritance diagram for Lamp::MouseDevice:
Public Member Functions | |
virtual const MouseState & | getMouseState () const |
マウスステートの取得 | |
int | getZResolution () const |
Z解像度の取得. | |
virtual bool | setCooperativeLevel (bool exclusive, bool foreground) |
協調レベルの設定 | |
virtual String | toString () const |
文字列への変換 | |
Static Public Attributes | |
const int | maxButtonCount = MouseState::maxButtonCount |
最大ボタン数 | |
Protected Member Functions | |
MouseDevice () | |
コンストラクタ | |
virtual | ~MouseDevice () |
デストラクタ | |
virtual bool | initialize (DirectInputDevice *inputDevice, HWND windowHandle) |
初期化 | |
virtual bool | polling () |
ポーリング | |
Friends | |
class | LampInput |
class | BufferedInput |
Definition at line 37 of file MouseDevice.h.
|
マウスステートの取得
Definition at line 52 of file MouseDevice.h. |
|
Z解像度の取得.
Definition at line 58 of file MouseDevice.h. Referenced by Lamp::Mouse::getZResolution(), and toString(). |
|
初期化
Reimplemented from Lamp::InputDevice. Definition at line 41 of file MouseDevice.cpp. References DirectXFailed, ErrorOut, Lamp::InputDevice::getAxisCount(), Lamp::InputDevice::isAttached(), Lamp::InputDevice::isExclusive(), Lamp::InputDevice::isForeground(), and setCooperativeLevel(). Referenced by Lamp::LampInput::initialize(). |
|
ポーリング
Reimplemented from Lamp::InputDevice. Definition at line 70 of file MouseDevice.cpp. References Lamp::InputDevice::acquire(), Lamp::MouseState::clear(), DirectXSucceeded, ErrorOut, Lamp::InputDevice::inputDevice_, maxButtonCount, Lamp::MouseState::setButtonPressed(), Lamp::MouseState::setXAxis(), Lamp::MouseState::setYAxis(), and Lamp::MouseState::setZAxis(). |
|
協調レベルの設定
Reimplemented from Lamp::InputDevice. Definition at line 66 of file MouseDevice.h. References Assert. Referenced by initialize(), and Lamp::Mouse::setCooperativeLevel(). |
|
文字列への変換
Reimplemented from Lamp::InputDevice. Definition at line 76 of file MouseDevice.h. References Lamp::String::format(), Lamp::InputDevice::getInputDeviceString(), getZResolution(), and Lamp::MouseState::toString(). |