- 博客(1)
- 收藏
- 关注
转载 C++技术 - GetAsyncKeyState 与 GetKeyboardState 函数
C++ - GetAsyncKeyState 与 GetKeyboardState 函数GetAsyncKeyState 与 GetKeyboardState 函数的介绍SHORT GetAsyncKeyState( int vKey )判断 Virtual-KeyCodes 为 vKey 的键是否 up 或 down。用返回值的最高位表示键的状态( up 或 down ),用返回值的最低位表示 vKey 键在此函数调用之前是否被按下过。GetAsyncKeyState 直接侦测键盘的硬件中断。B
2021-08-04 21:50:06
4562
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人