Raw Input Global Hooks

R

ramon.talavera

Hello,

I am trying to read rawinput as I have to distinguish between two
devices (mice),
I have found several examples and I am able to detect Raw Input in the
local window,
but cannot intecept raw input messages in other windows, so I cannot
track the mouse
as soon as another window catches the mouse focus.


I have tried Global Hooks approach and my C# code does compile, but
does not work..
What kind of message does Raw Input send?
What kind of hooks should I use?
a System Hook?

I can provide the code if needed. Current approach mixes the code in

http://www.codeproject.com/cs/system/WilsonSystemGlobalHooks.asp
(Global Hooks Library)

and http://www.jstookey.com/arcade/rawmouse/ (rawMouse for C#)

Thanks in advance.
Ramon Talavera
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top