Click here to Skip to main content
15,905,136 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: DSL question Pin
code-frog15-Apr-08 3:30
professionalcode-frog15-Apr-08 3:30 
GeneralRe: DSL question Pin
Dan Neely15-Apr-08 4:33
Dan Neely15-Apr-08 4:33 
GeneralSuspect problem from power supply Pin
Mekong River3-Apr-08 0:14
Mekong River3-Apr-08 0:14 
GeneralRe: Suspect problem from power supply Pin
Matthew Butler3-Apr-08 3:09
Matthew Butler3-Apr-08 3:09 
GeneralRe: Suspect problem from power supply Pin
Luc Pattyn3-Apr-08 4:43
sitebuilderLuc Pattyn3-Apr-08 4:43 
GeneralHooking Raw Input - Detect HID mice Pin
maszup2-Apr-08 0:01
maszup2-Apr-08 0:01 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
Dave Kreskowiak2-Apr-08 3:45
mveDave Kreskowiak2-Apr-08 3:45 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
maszup2-Apr-08 5:05
maszup2-Apr-08 5:05 
But it is possible to get mouseHandle from raw data sent by notification WM_INPUT. It is working only for a window that I created.I already wrote an application that shows me last mouse that was used in my application. But if i focus on other window it stops receiving notifications. I would like to know the global movement of all mice in WindowsXP. That's why my proposal was to use Hooks but it seems to unavailable to register raw input on other windows

If it is possible to do I could init all mice at once and read position from all of them in the loop. Then just show the mouseHandle of last detected movement or click. I even tried to work with HID drivers and CreateFile function but it returns an Error: Access Denied because Windows uses the mouse in exclusive mode. Described here:
http://www.lvr.com/hidfaq.htm

Maybe it is possible to use HIDd_GetFeature and reports to read mouse position?

How would you solve that?? I have to do it till end of week.
Thank you for your interest
Maciek
GeneralRe: Hooking Raw Input - Detect HID mice Pin
Randor 2-Apr-08 5:10
professional Randor 2-Apr-08 5:10 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
maszup2-Apr-08 5:33
maszup2-Apr-08 5:33 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
Randor 2-Apr-08 6:31
professional Randor 2-Apr-08 6:31 
AnswerRe: Hooking Raw Input - Detect HID mice Pin
maszup2-Apr-08 9:27
maszup2-Apr-08 9:27 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
maszup7-Apr-08 21:56
maszup7-Apr-08 21:56 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
Randor 12-Apr-08 20:30
professional Randor 12-Apr-08 20:30 
GeneralRe: Hooking Raw Input - Detect HID mice Pin
Dave Kreskowiak2-Apr-08 6:48
mveDave Kreskowiak2-Apr-08 6:48 
QuestionBuilding c# pc remote control? Pin
Goalie3531-Mar-08 17:22
Goalie3531-Mar-08 17:22 
AnswerRe: Building c# pc remote control? Pin
Matthew Butler2-Apr-08 14:56
Matthew Butler2-Apr-08 14:56 
GeneralRe: Building c# pc remote control? Pin
Goalie352-Apr-08 19:11
Goalie352-Apr-08 19:11 
GeneralRe: Building c# pc remote control? Pin
Matthew Butler3-Apr-08 2:57
Matthew Butler3-Apr-08 2:57 
GeneralMonitor blur Pin
Mekong River31-Mar-08 17:19
Mekong River31-Mar-08 17:19 
GeneralRe: Monitor blur Pin
Sebastian Schneider2-Apr-08 5:00
Sebastian Schneider2-Apr-08 5:00 
GeneralRe: Monitor blur Pin
Mekong River3-Apr-08 0:11
Mekong River3-Apr-08 0:11 
GeneralRe: Monitor blur Pin
Dave Kreskowiak3-Apr-08 3:47
mveDave Kreskowiak3-Apr-08 3:47 
General_asm code Pin
ForNow31-Mar-08 14:33
ForNow31-Mar-08 14:33 
GeneralUsing and Preserving Registers in Inline Assembly Pin
Randor 1-Apr-08 16:42
professional Randor 1-Apr-08 16:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.