Just as the question asks, I know this is possible on Linux, but I couldn't find anything recent for Windows. Is it even possible?
Python 3.x - Getting the state of caps-lock/num-lock/scroll-lock on Windows
9.4k Views Asked by EnronEvolved At
2
You can use ctypes to load user32.dll and then call GetKeyState with nVirtKey = VK_CAPITAL (0x14)