📄 kswitch.hpp
字号:
//keyswitch class and member functions definition
//
#ifndef __KSWITCH_HPP_INCLUDED__
#define __KSWITCH_HPP_INCLUDED__
#include <windows.h>
class KeySwitch
{
HANDLE m_hevInterrupt;
public:
BOOL Initialize(void);
BOOL IsrThreadStart(void);
BOOL IsrThreadProc(void);
friend
void
KeybdPdd_PowerHandler(
BOOL bOff
);
friend
int
WINAPI
KeybdPdd_GetEventEx(
UINT32 VKeyBuf[16],
UINT32 ScanCodeBuf[16],
KEY_STATE_FLAGS KeyStateFlagsBuf[16]
);
friend
void
WINAPI
KeybdPdd_ToggleKeyNotification(
KEY_STATE_FLAGS KeyStateFlags
);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -