I'm using PB 5.0 and need maybe some sample code on how I'd go about
detecting connected HID devices and reading their VID/PIDs? Thanks in
advance.

Re: help detecting HID devices by Piet

Piet
Thu Jan 05 02:41:35 CST 2006

Which cpu and usb controller do you use?

I suppose you would have to look in
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USB\HCD

Regards,
Piet


Re: help detecting HID devices by Yannick

Yannick
Thu Jan 05 08:51:46 CST 2006

for HID peripheral detections, you'd better look at USB client driver
samples located in C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\HID.

Look specifically at USBDeviceAttach function in
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\HID\HIDCLASS\USBPDD\usbhid.cpp

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Piet" <pietdesomere@yahoo.com> a écrit dans le message de news:
1136450495.836830.122580@g49g2000cwa.googlegroups.com...
> Which cpu and usb controller do you use?
>
> I suppose you would have to look in
> C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USB\HCD
>
> Regards,
> Piet
>



Re: help detecting HID devices by Safiiru

Safiiru
Thu Jan 05 09:00:14 CST 2006

CPU's a PXA270 which supports USB.