Hi,

I'm working on the software for a new Compact Flash (CF)
card that is designed to work in Pocket PCs. The card
provides a complete USB Host, which allows for a USB device
to be hooked up to a PPC and then accessed from the PPC.
The basic device driver is working, as are the USB client
drivers. USB Flash Drives and USB printers work fine.
This is under CE 4.2 with future porting to CE 5.0.

I need to add support for a USB keyboard and mouse. I have
gotten the USB client drivers for them to be loaded. The
next step is to get a Pocket PC (e.g., hx2415) to recognize
and use the external keyboard. This is where I need some
assistance.

HP supplies the basic driver (keypad.dll on the 2415 and
keybddr.dll on the 2215) that is loaded by gwes,exe. When
the usb keyboard driver starts, the "KBD1:" device is created,
and DeviceNotifications sends out the message that it was
added with the IClass value "{CBE6DDF2-F5D4-4e16-9F61-4CCC0B6695F3}",
as spec'ed in the docs.

What I am missing is how to get gwes and/or keyXxx.dll to
actually use the new keyboard. I have tried setting
HKCU\SOFTWARE\Microsoft\Shell\HasKeyboard to 1 but it
doesn't have any noticable effect.

What needs to be done to get the linkage between the keyboard
and the Pocket PC to work? Another driver? Registry settings?
Any sample code? Documentation pointers? Thanks!

++ Todd