![]() what seems to be lacking in Arduino HID implementation. Then, the keyboad chip must be able to receive controls from the PC. The led status is not decided by the keyboard chip: it is completely controlled by the PC's operating system. The PC software changes the status of a flag and sends back to the keyboard the command for tuning on or off the led. The heyboard send the scan code (row/column) to the PC. When you press caps lock, it does not turns on the caps lock led. Then, the leds are controlled by the PC software and NOT by the keyboard itself. ![]() The system is made in a way that allows many keyboards, then, the lock status is managed by the operating system and NOT by the keyboard. It does not matter how-many keyboards have you connected to the PC. Your original posting made no mention of a second keyboard, only the one being emulated by the Leonardo, hence the comment that as you were setting the Shift lock/Num lock status using the Arduino you had sent the status to the PC and did not need to receive it back. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |