09-07-2022, 06:45 PM
(This post was last modified: 09-07-2022, 06:46 PM by SpriggsySpriggs.)
(09-07-2022, 06:35 PM)madscijr Wrote: I don't know why the jstookey C examples aren't referencing "winuser.h" but that seems to be where these RawInput commands are defined.
To help with that, here are Microsoft's docs on the winuser.h header.
Oh, I've had no issue hunting down these functions. I'm no stranger to the MSDN documentation pages. Besides, winuser.h, along with many other headers, are already included with QB64 so all I have to do is either a DECLARE LIBRARY or a DECLARE CUSTOMTYPE LIBARY without having to worry about where they're coming from. Also, Winuser.h is just User32.dll so I could even use DECLARE DYNAMIC LIBRARY "User32" to get the same resultsĀ
Ask me about Windows API and maybe some Linux stuff