Re: USB keyboard under 4.2

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 12/23/04


Date: Thu, 23 Dec 2004 08:48:27 -0500

The keyboard driver model changed in 4.2. In previous versions, USB
keyboards sent their data directly to GWES. Now, keys are routed through
the layout manager. There must be a builtin keyboard driver that provides
this support. If you don't already have a keyboard driver (if your other
buttons are handled in a different manner), you can just add the NOP
keyboard. That driver will provide the functionality necessary to route the
USB keyboard up to the gwes.

If you do already have a keyboard driver, you must update it to add support
to properly route data from USB keyboards. It's just a handful of
functions, they are documented in the 4.2 help.

-- 
Dean Ramsier - eMVP
"Kristof Nachtergaele" <t208@skynet.be> wrote in message
news:41c9ff85$0$25058$ba620e4c@news.skynet.be...
> Hello there,
>
> I'm currently doing development on an arm based device we are developping,
> and now i would like to add usb keyboard support to it. The device also
has
> a few buttons on it, which are allready working, our supplier did that.
Now
> the problem i have is that when i plug in the keyboard it gets detected,
and
> the following is displayed on the debug tab
>
> Loaded symbols for
> 'C:\WINCE420\PUBLIC\SWCD_MX1\RELDIR\SWCD_MX1RELEASE\HIDPARSE.DLL'
> Loaded symbols for
> 'C:\WINCE420\PUBLIC\SWCD_MX1\RELDIR\SWCD_MX1RELEASE\USBHID.DLL'
> Loaded symbols for
> 'C:\WINCE420\PUBLIC\SWCD_MX1\RELDIR\SWCD_MX1RELEASE\KBDHID.DLL'
> Loaded symbols for
> 'C:\WINCE420\PUBLIC\SWCD_MX1\RELDIR\SWCD_MX1RELEASE\CONSHID.DLL'
> Loaded symbols for
> 'C:\WINCE420\PUBLIC\SWCD_MX1\RELDIR\SWCD_MX1RELEASE\MOUHID.DLL'
>
> So what from i allready found out from various groups, it should be
> initialised ok.
> But when i press a key, nothing seems to happen. Could anyone give me an
> indication in which direction i should start looking? I'm fairly new to CE
> 4.2, or CE in general, so i might be looking over something trivial but i
> don't find it.
>
> The usb port works, because i also added support for usb memorysticks, and
> those work without a problem.
>
> Thank you in advance,
> Kristof
>
>

Quantcast