|
-
October 22nd, 2010, 12:43 AM
#1
[RESOLVED] Catch WINAPI messages from external device
Hello. I write this post before in > C-Sharp Programming < but now i think here is better place for it. I coding in C#, but this is typicall WINAPI problem ( propably ). If moderator read it maybe can delete old version of this ( http://www.codeguru.com/forum/showthread.php?t=504201 ).
------------------------
I have small external device, it is LogiLink Video Grabber in this case ( connected via USB ). It have big single button (physical) and I trying to detect when somebody pressed it.
I attemp to use catch Window Messages from standard GetMessage() loop and not catch any kind of messages when I press this device button.
I attempt to use Raw Input ( http://msdn.microsoft.com/en-us/libr...36(VS.85).aspx ) but I cant enumerate my device ( I try use GetRawInputDeviceList() - i know PID and VID of my device ).
I'm guessing that I need to register for messages from this devices? Or something? Somebody have any idea how I can do this?
I cann't find any public API for this device - but I have producent application (witout sources) that responds to the button so I know that there is a some way to detect pressing.
Last edited by Psychowico; October 22nd, 2010 at 12:47 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|