I’m attempting to write a simple programme that displays the current status of the different keylocks, but I’m unable to find a solution as to how to get the current status of them in Python. Thank you.
I’m attempting to write a simple programme that displays the current status of the
Share
When the caps lock is on, the LED mask should be 1 and if the LED mask is off, it should be 0.
Additionally since you mentioned that you wanted to use python, you could get the value in the following way
python 3 version: