YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Keys.h 文件参考

平台相关的基本按键输入定义。 更多...

#include "ycommon.h"
#include <bitset>
Keys.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

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
 

详细描述

平台相关的基本按键输入定义。

版本
r159
作者
FrankHBfrank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 313
创建时间:
2009-06-01 14:29:56 +0800
修改时间:
2012-09-07 10:22 +0800
文本编码:
UTF-8
模块名称:
YCLib::Keys

在文件 Keys.h 中定义.