rawinput in background
-
using this code: http://www.jstookey.com/arcade/rawmouse/raw\_mouse.c http://www.jstookey.com/arcade/rawmouse/raw\_mouse.h http://www.jstookey.com/arcade/rawmouse/raw\_mouse\_test.c to get raw mouse input for 2 or more mice. What I need to be able todo is have this program running in the background while still logging the mice. So that I can use my computer while logging the movements of the other connected mice. It is usuable just with one mouse, so you don't need 2 mice to run the code. It also required Windows SDK to compile.... From MSDN: Reading Raw Input http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/rawinput/aboutrawinput.asp An application receives raw input from any HID whose top level collection (TLC) matches a TLC from the registration. When an application receives raw input, its message queue gets a WM_INPUT message and the queue status flag QS_RAWINPUT is set (QS_INPUT also includes this flag). An application can receive data when it is in the foreground and when it is in the background. So it is possible, I just don't know how....