28 #ifndef YCL_INC_Keys_h_
29 #define YCL_INC_Keys_h_ 1
32 #include YFM_YCLib_YCommon
58 # error "Unsupported platform found."
231 yconstexpr NativeSet Enter(
A), Esc(B), PgUp(L), PgDn(R);
std::size_t KeyIndex
按键索引类型:标识特定的按键在按键集合中的位置。
表示编辑键(如回车、空格、退格、插入、删除和制表符)
#define DefBitmaskEnum(_tEnum)
std::size_t size ynothrow
YF_API KeyIndex FindFirstKey(const KeyInput &) ynothrow
找到输入缓冲区记录中最小的按键编码。
Category ClassifyKey(KeyIndex code) ynothrow
#define YB_PURE
指示函数或函数模板实例为纯函数。
yconstexpr const KeyInput KeyIndex ynothrow ImplRet(char()) namespace KeyCodes
本机按键编码。
#define yconstfn
指定编译时常量函数。
#define yconstexpr
指定编译时常量表达式。
YF_API KeyIndex FindFirstKeyInCategroy(const KeyInput &, KeyIndex) ynothrow
找到第一个在指定类别的按键编码。
YF_API KeyIndex FindNextKey(const KeyInput &, KeyIndex) ynothrow
找到输入缓冲区记录中大于指定编码的最小的按键编码。
表示导航键(如方向键和 PgUp )、菜单键和 Esc 。
std::bitset< KeyBitsetWidth > KeyInput
按键并行位宽。
PDefH(bool, ufexists, const _tString &str) ynothrow ImplRet(ufexists(str.c_str())) YF_API char16_t *u16getcwd_n(char16_t *buf
判断指定字符串为文件名的文件是否存在。
表示系统键(如 SysRq/PrintScr 、 Break/Pause 和电源管理)。