We have shared the code for the hook usage of keyboard and mouse:
Mouse hook:
The subroutine has only one parameter: mouse status
512 Mouse movement 513 Press the left button 514 Left button pops up 516 Right-click 517 Right click to pop up 519 Press the middle button 520 The middle button is popped up 522 Middle key scrolling
Keyboard hook:
The callback pointer subroutine has two parameters: key code, keyboard status
The keyboard status values are as follows:
256 Press the keyboard 257 The keyboard pops up 260 ALTPress the key
The above is all the content of this introduction. Thank you for your support.