I'd like to query the state of Caps Lock in our open source keyboard firmware.
According to my knowledge, this state is sent in the set report request of endpoint 0, so I assumed that it resides in the report buffer of this code block. I dumped the value of the buffers of both clauses but none contained keyboard LED state.
I'd appreciate any help. Thanks so much in advance!