I need to capture input not as button pressed, but as if they where charecters.
like:
if a button was down, but now its up, then add that character to the string
I was thinking why not just use direct input
the problem is to initialize it i need to have an hwnd and hinstance
i have seen that you can get the hwnd with
#include "globstruct.h"
HWND WindowHandle = g_pGlob->hWnd;
if anyone could provide more info about getting the hwnd, or any info about obtaining the hinstance, or why direct input is a good or bad choice for capturing input in dbsdk it would be greatly appreciated.