YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台相关的基本按键输入定义。 更多...
命名空间 | |
namespace | platform |
默认平台命名空间。 | |
namespace | platform::KeyCodes |
本机按键编码。 | |
类型定义 | |
typedef std::bitset < KeyBitsetWidth > | platform::KeyInput |
本机输入类型。 | |
枚举 | |
enum | platform::KeyCodes::NativeSet { platform::KeyCodes::A = 0, platform::KeyCodes::B = 1, platform::KeyCodes::Select = 2, platform::KeyCodes::Start = 3, platform::KeyCodes::Right = 4, platform::KeyCodes::Left = 5, platform::KeyCodes::Up = 6, platform::KeyCodes::Down = 7, platform::KeyCodes::R = 8, platform::KeyCodes::L = 9, platform::KeyCodes::X = 10, platform::KeyCodes::Y = 11, platform::KeyCodes::Touch = 12, platform::KeyCodes::Lid = 13 } |
函数 | |
yconstexpr std::size_t | platform::KeyBitsetWidth (32) |
按键并行位宽。 | |
变量 | |
const NativeSet | platform::KeyCodes::Enter = A |
const NativeSet | platform::KeyCodes::Esc = B |
const NativeSet | platform::KeyCodes::PgUp = L |
const NativeSet | platform::KeyCodes::PgDn = R |
平台相关的基本按键输入定义。
在文件 Keys.h 中定义.