How to use C-sharp to realize the function of pressing a key on the keyboard to make the system recognize as a mouse button?

is similar to the mouse button function that Windows can easily access, but the mouse button function needs to press NUMPAD5 to trigger the left mouse button. I want to be able to customize a key on the left side of the keyboard.

the specific function is that in the global scope, pressing a key on the keyboard is equivalent to pressing the left mouse button. I want to write a gadget in WPF and find that I really don"t know how to do this step. I don"t know what keywords to search for if I want to use Google.

Oct.21,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a7c7-2c213.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a7c7-2c213.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?