You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
GaInput requires using HWND through WinAPI to work with a keyboard/mouse etc. So, if you want to monitorize the keyboard in console you may take a look at this: Detect function keys in c++ console.
One thing you could try is you can create a native windows application (something that starts with a WinMain and get's a handle passed in right away) but don't create a native win form window. Instead you can create a Console window with AllocConsole.
Ok forget it. I assumed you need a HINSTANCe to get access to the window, but you need a HWND handle. I couldnt find a way to get a handle. for the console...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I want to use your library to monitorize the keyboard on console application (without windows). is it possible or is it compulsory to have a HWND?
Regards,
The text was updated successfully, but these errors were encountered: