Closed iTitus closed 9 months ago
Sounds reasonable. You probably wouldn't want to let users change those fields, but functions to read the state would be ok. Either one function per modifier, or a function that returns a struct with pub fields so you get it all in one go, atomically. Either would work.
Feel free to send a PR!
It would be nice to query the Keyboard directly for the state of the CTRL or the SHIFT keys.