Open YellowOnion opened 5 years ago
I'd like to know this as well. I was just browsing the documentation and couldn't find anything about GetActiveWindow
, also from Winuser.h
:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getactivewindow
GetActiveWindow
is in https://github.com/haskell/win32/blob/c5f1d13f2edc19aceb87503cd20861d9b94b1cca/Graphics/Win32/Key.hsc#L191
The API bindings are added on demand. The Direct Input ones are indeed missing as no one has requested them before. I'm more than happy to accept a pull request for them if not I will get to it eventually but can't give an ETA.
I've been wanting raw input directly from windows, but I can't find any of the bindings explained here: https://docs.microsoft.com/en-nz/windows/desktop/inputdev/raw-input