support for GetKeyboardState
Brought to you by:
apnadkarni
I would love support (even just basic without any helper, just an array or list result for) GetKeyboardState
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getkeyboardstate
(would avoid having to do GetAsyncKeyState dozens of times)
Thanks!
Anonymous
You can now use the cffi package for this. See https://cffi.magicsplat.com. Sample is below:
Henceforth, I only plan on adding commands to twapi that cannot be done with the CFFI package which is a generic extension to call functions from DLLs. Any feedback appreciated (in the CFFI repository)
/Ashok