|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台相关的扩展输入接口。 更多...
#include "YCLib/Input.h"
命名空间 | |
| namespace | platform |
| 默认平台命名空间。 | |
| namespace | platform_ex |
宏定义 | |
| #define | YCL_DEF_LOCKGUARD(...) |
函数 | |
| void | platform::WaitForInput () |
| 等待任意按键。 | |
| const platform::KeyInput & | platform_ex::FetchKeyState () |
| 取按键状态。 | |
| const platform::KeyInput & | platform_ex::FetchOldKeyState () |
| 取上一次更新的按键状态。 | |
| platform::KeyInput | platform_ex::FetchKeyDownState () |
| 取键按下状态。 | |
| platform::KeyInput | platform_ex::FetchKeyUpState () |
| 取键释放状态。 | |
| void | platform_ex::ClearKeyStates () |
| 清除按键缓冲。 | |
| void | platform_ex::UpdateKeyStates () |
| 更新按键状态。 | |
| void | platform_ex::WriteCursor (platform::CursorInfo &) |
| 写入当前指针设备信息。 | |
平台相关的扩展输入接口。
在文件 Input.cpp 中定义.
| #define YCL_DEF_LOCKGUARD | ( | ... | ) |