I currently have a requirement that means I need to be able to read scan codes from a keyboard AND send scan codes to the keyboard. In the same way as you would control the CAPS LOCK, SCROLL LOCK etc. My research to date is fairly standard stuff, I’ve looked at SetKeyboardState, keybd_eventand MapVirtualKey functions and am able to control said LEDs accordingly.
However, my question is as follows; does the mapping and setting other keyboard scan codes send a message to the keyboard or are only the standard led controls signals passed directly. Could I send an unassigned scan code via keybd_event for example and have a signal reach the keyboard?
I hope that makes sense, thanks in advance for any help received!