# Messages sent when keyboard key is pressed [closed]

When pressing keys on a keyboard what messages are sent to a PC?

Is it OK to send this message using a micro controller (through USB cable)?

This is the protocol format i got from website.

how to send these packet?

for example,

when pressing key 'A' , what commend to send pc for displaying 'A'.

if i am sending this commend using a micro controller (through USB), is it display character 'A'?

This is the document i am refer

• All this stuff, including the linked documents.
– JRE
Jul 4 '19 at 10:39
• clearly, you have not thought about what you are asking ... you asked Is there any format? ... do you think that there is a possibility that the messges are completely random without any format? Jul 4 '19 at 11:49