title: RawInput mouse - cannot move window or use controls
body: <p>I am currently using the RawInput API from Windows to get access to keyboard and mouse input.
  One thing i am a little bit confused about is when i register my mouse as a <code>RawInputDevice</code> i cannot move my Win32 window or use the controls up there (close, minimize etc...). Instead i get a loading icon cursor. Is this normal behaviour?
  This is how i register my device:</p>
  
  <pre><code>    RAWINPUTDEVICE Rid[2];
  
      Rid[0].usUsagePage = 0x01;
      Rid[0].usUsage = 0x02;
      Rid[0].dwFlags = RIDEV_NOLEGACY;   // adds HID mouse and also ignores legacy mouse messages
      Rid[0].hwndTarget = windowHandle;
  
      Rid[1].usUsagePage = 0x01;
      Rid[1].usUsage = 0x06;
      Rid[1].dwFlags = RIDEV_NOLEGACY;   // adds HID keyboard and also ignores legacy keyboard messages
      Rid[1].hwndTarget = windowHandle;
  
      if (RegisterRawInputDevices(Rid, 2, sizeof(Rid[0])) == FALSE) {
           // smth went wrong.
      }
  </code></pre>
  
  <p>And this is how i handle the <code>WM_INPUT</code> case:</p>
  
  <pre><code>case WM_INPUT:
      char buffer[sizeof(RAWINPUT)] = {};
      UINT size = sizeof(RAWINPUT);
      GetRawInputData(reinterpret_cast&lt;HRAWINPUT&gt;(lParam), RID_INPUT, buffer, &amp;size, sizeof(RAWINPUTHEADER));
      RAWINPUT* raw = reinterpret_cast&lt;RAWINPUT*&gt;(buffer);
      if (raw-&gt;header.dwType == RIM_TYPEMOUSE || raw-&gt;header.dwType == RIM_TYPEKEYBOARD) {
          inputManager.processMessage(*raw);
      }
      break;
  </code></pre>
  
  <p>Is there something wrong?</p>