win32 icon indicating copy to clipboard operation
win32 copied to clipboard

Winuser.h bindings?

Open YellowOnion opened this issue 6 years ago • 2 comments

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

YellowOnion avatar Jun 14 '19 05:06 YellowOnion

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

lambdaheart avatar Jun 14 '19 16:06 lambdaheart

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.

Mistuke avatar Jun 15 '19 18:06 Mistuke