Hello. As I just said here I find the CapsLock plugin problematic to use.
Besides, on ordinary keyboards one doesn’t have the alphabetic keys highlighted nor is it necessary IMO because unlike for NumLock, no keys are being repurposed here.
All I would like for is for the CapsLock key to be highlighted as per standard keyboards. I have seen this closed request, especially @algernon’s advice to do useLoopHook
, but it would seem that that function is now deprecated and it is not clear to me what the current equivalent is.
I presume keeping track of the CapsLock status may be accomplished by a simple boolean as shown here. It is the colouring part that I want to know.
Perhaps a NumLock-like breathing effect would require a separate plugin, but it would be sufficient to have a single fixed colour because one is not going to use CapsLock for any extended period of time. Please advise as to how this may be accomplished.
I also note that my CapsLock is a Qukey that doubles to LSHIFT(RightAlt)
for XKB fourth level selection. My current sketch.