HID Keyboard Report out from python (e.g. CAPS LOCK Status)
Posted: Tue Jul 09, 2019 7:49 pm
Hello,
Just wondering if there is any method to get HID keyboard report out byte in python code.
Reason for asking:
when a py board connected to a host computer and acts as a HID keyboard if you have another keyboard connected to the same host and press "CAPS LOCK" then capitalization on the characters you send out from pyboard will change. For example if you intend to send 'A' you will receive 'a' and vise versa.
Also HID keyboard report out could be used to check the status of "SCROLL LOCK" and "TAB" which add many useful functionalities to switch between USB modes without the user button. Users can store the last mode in a non volatile memory and switch it by pressing any of keys available in report out byte.
Looking forward to have your input.
Just wondering if there is any method to get HID keyboard report out byte in python code.
Reason for asking:
when a py board connected to a host computer and acts as a HID keyboard if you have another keyboard connected to the same host and press "CAPS LOCK" then capitalization on the characters you send out from pyboard will change. For example if you intend to send 'A' you will receive 'a' and vise versa.
Also HID keyboard report out could be used to check the status of "SCROLL LOCK" and "TAB" which add many useful functionalities to switch between USB modes without the user button. Users can store the last mode in a non volatile memory and switch it by pressing any of keys available in report out byte.
Looking forward to have your input.