Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualSuch1

Posted 13 November 2012 - 12:14 AM

NVM, stupid error. LOL

#2Such1

Posted 13 November 2012 - 12:14 AM

NVM, stupid error. LOL

#1Such1

Posted 13 November 2012 - 12:02 AM

Hey guys, I'm trying to use raw input data but I'm not receiving any WM_INPUT message.
I register and check if it was valid with this code:
RAWINPUTDEVICE Rid;
   ZeroMemory(&Rid, sizeof(RAWINPUTDEVICE));
   Rid.usUsagePage = 0x01;
   Rid.usUsage = 0x02;
   Rid.dwFlags = NULL;
   Rid.hwndTarget = hWnd;
   BOOL result = RegisterRawInputDevices(&Rid, 1, sizeof(RAWINPUTDEVICE));

but I'm still not receiving any WM_INPUT.
I tried putting some message checking in the loop and I never got any message.

PARTNERS