Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winuser.h bindings? #128

Open
YellowOnion opened this issue Jun 14, 2019 · 2 comments
Open

Winuser.h bindings? #128

YellowOnion opened this issue Jun 14, 2019 · 2 comments

Comments

@YellowOnion
Copy link

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

@lambdaheart
Copy link

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

@Mistuke
Copy link
Contributor

Mistuke commented Jun 15, 2019

GetActiveWindow is in

getActiveWindow :: IO (Maybe HWND)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants