Re: USB keyboard under 4.2
From: Kristof Nachtergaele (t208_at_skynet.be)
Date: 12/30/04
- Next message: DongFang Tian: "about HeapCreat and VirtualAlloc"
- Previous message: Helic Lei: "Video Acceleration support on Wince"
- In reply to: Dean Ramsier: "Re: USB keyboard under 4.2"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Dec 2004 02:47:19 +0100
Thanks for the info,
i have looked into it a bit further, there is definately a keyboard driver
being used for the handling of the buttons. When i try to add the NOP
keyboard, it states that there is allready a driver in use, and asks if i
want to replace it.
>From what i can see, they based themselves on the kbdmouse driver to develop
theirs. Is this one a good one to start looking at, to understand better how
the keyboard works? And could you give me a hint which these functions are
that handle the routing, or which parts of the documentation to read?
Thank you verry much allready,
Kristof
"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:%23OZzvYP6EHA.128@TK2MSFTNGP15.phx.gbl...
> 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
>>
>>
>
>
- Next message: DongFang Tian: "about HeapCreat and VirtualAlloc"
- Previous message: Helic Lei: "Video Acceleration support on Wince"
- In reply to: Dean Ramsier: "Re: USB keyboard under 4.2"
- Messages sorted by: [ date ] [ thread ]