Introduction - If you have any usage issues, please Google them yourself
Main process:
1. Register one or more raw input devices to the system
2. When the data of the original input device you registered changes, the system sends a message and new data to your process
3. Call GetRawInputData or GetRawInputBuffer to get the data
Simply modify it, remove some unwanted information, and change the file slightly, because some people's SDK is a bit old. Then add the current keyboard focus window judgment (simple implementation, but easy to use:).
Packet : 57578852rawinput.rar filelist
KBDLogger\KBDLogger.cpp
KBDLogger\KBDLogger.dsp
KBDLogger\KBDLogger.dsw
KBDLogger\KBDLogger.ico
KBDLogger\KBDLogger.rc
KBDLogger\rawinput.cpp
KBDLogger\rawinput.h
KBDLogger\resource.h
KBDLogger\vkey.h
KBDLogger\Release
KBDLogger