SimpleWindow
载入中...
搜索中...
未找到
sw::KeyFlags结构体 参考

https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input#keystroke-message-flags 更多...

#include <Keys.h>

Public 成员函数

 KeyFlags ()=default
 默认构造函数
 
 KeyFlags (LPARAM lParam)
 从lParam解析出各个字段
 

Public 属性

uint16_t repeatCount
 repeat count, > 0 if several keydown messages was combined into one message
 
uint8_t scanCode
 scan code
 
bool isExtendedKey
 extended-key flag, 1 if scancode has 0xE0 prefix
 
bool contextCode
 indicates whether the ALT key was down
 
bool previousKeyState
 indicates whether the key that generated the keystroke message was previously up or down
 
bool transitionState
 transition-state flag, 1 on keyup
 

详细描述


该结构体的文档由以下文件生成: