Is there a reliable cross-platform way to programmatically get and set the NumLock state in Lazarus / Free Pascal?
I've found GetKeyState()
in LclIntf
which seems to work for getting the state (and is apparently cross-platform), but I can't find an equivalent SetKeyState()
.