Re: PB 4.2 error in keypad [Del.] key maping in RDP session

From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 11/18/04


Date: Thu, 18 Nov 2004 09:00:11 -0500

The layout manager provides a mechanism to remap keys to various locales
without having to rebuild the keyboard driver. If you're using the PS/2
drivers that come with PB, those already use the new model. I was thinking
of custom keyboard drivers, where the driver is included as part of the BSP
and might have been ported from earlier versions of the OS. As I said, if
you weren't using the new model, you'd probably have more problems than just
this.

I don't know where this problem is coming from, I haven't done much with
varying locales especially relating to RDP.

-- 
Dean Ramsier - eMVP
"Sergeir" <anonymous@discussions.microsoft.com> wrote in message
news:70bf01c4cd3a$c216ae00$a601280a@phx.gbl...
> Hi Dean,
>
> thank you very much for your reply.
> What is the new layout manager model - I have no idea on
> this. Is it coming by default with PB 4.2 ? I am only
> including the following in my PB 4.2 test platform :
>
> /-><BSP name> Based x86->Device Drivers->Input Devices-
> >8042 Keyboard/Mouse English
> /->Windows Thin Client->International->National Language
> Support
> /->Windows Thin Client->Core OS Services->USB Host Support-
> >USB Human Input Device
>
> and I have not chnaged any C++ code in the area, which is
> related to keyboard. But we do have our own shell, etc.
>
> We do not use USB keyboard for this test, only PS/2
> keyboard with standard 104 keys. Even though USB HID is
> added - for USB mouse.
>
> What are these changes you are mentioning which can fix
> the numeric keypad keys problem ? So this problem is not a
> new version RDP problem ?
>
> I have read PB Help but cannot find anything useful.
>
> Thanks again
>
> Sergei
>
> >-----Original Message-----
> >Are you using the new layout manager model?  If not,
> there are some changes
> >that have to be made to the keyboard driver to get some
> of these keys to
> >work properly.  You may have already made them, because
> if not you'd
> >probably have more problems than you're seeing now.  I've
> run into similar
> >issues with USB keyboards, although the problems were
> with general numeric
> >key functionality and not just locale issues.  I haven't
> done anything with
> >PS2 recently.
> >-- 
> >Dean Ramsier - eMVP
> >
> >
> >"Sergeir" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:751301c4cc79$422051e0$a301280a@phx.gbl...
> >> Dear experts,
> >>
> >> We have found a strange behavior of some Windows CE 4.2
> >> module, which is responsible for numeric keypad support.
> >> Maybe I am wrong and this is a problem originated in RDP
> >> of CE 4.2 ?
> >>
> >> Two test scenarios are compared.
> >>
> >> 1. Platform Builder 4.1 - works properly
> >> 2. Platform Builder 4.2 - error in [Del] key handling
> >>
> >> Test scenario description :
> >>
> >> Build a simple enterprise web pad or a thin client
> >> platform. We have used x86 processor on a simple device
> >> with a PS/2 standard keyboard connected to it, a CEPC
> >> would work. Include English locale only in your platform
> >> Display Based Devices->International->Locale Services-
> >> >English(US) National Language Support Only.
> >>
> >> Build a platform and deploy it. When it is up and ready,
> >> connect to a terminal server using included RDP feature.
> >> You can use either Windows 2000 Server or Windows 2003
> >> Server, the only requirement is that either server
> should
> >> have additional national language installed on it, with
> a
> >> language selection indicator on a task bar. We have
> tested
> >> Russian.
> >>
> >> Then run some simple application, which can handle
> >> keystrokes, for example a notepad.
> >> Select Russian language in a task bar. Then press
> NumLock
> >> so it is toggled and it's led is lit. Now press [/] key
> on
> >> a numeric keypad, and / appears well, then press the
> >> [Ins]  key on a numeric keypad, and 0 appears too. Then
> >> press [Del] key on a numeric keypad, but . will not
> >> appear, instead a corresponding Russian symbol appears
> >> under Windows CE 4.2, but . appears properly under CE
> 4.1 !
> >>
> >> Why it is so !? If, say under Windows CE 4.2 Microsoft
> has
> >> decided to map all numeric keypad keys to appropriate
> >> national language keys, then it should be
> >>
> >> NumLock ON and [/] US -> respective national symbol
> for /
> >> NumLock ON and [Ins] US- > respective national symbol
> for 0
> >> NumLock ON and [Del] US -> respective national symbol
> for .
> >>
> >> OR (like in CE 4.1 when national language in RDP session
> >> does not matter)
> >>
> >> NumLock ON and [/] is always /
> >> NumLock ON and [Ins] is always 0
> >> NumLock ON and [Del] is always .
> >>
> >> But not the mixture of the two !
> >>
> >> Please note : we do not include any locale into the
> >> platform in either case. This is done intentionally to
> >> isolate the problem occurring in CE 4.2.
> >>
> >> Did anybody else encounter such problem ? Doesn't have
> to
> >> be Russian language, maybe any other national language
> in
> >> RDP session is not working properly with numeric keypad
> >> keys ?
> >>
> >> Can someone provide a clue whether this should be
> searched
> >> in RDP area or in CE numeric keypad driver area  (if
> that
> >> is separate from a keyboard driver) ?
> >>
> >> Thanks
> >>
> >> Sergei
> >>
> >
> >
> >.
> >


Relevant Pages

  • Re: Recommended typefaces
    ... There are no decimal points on the typical computer keyboard. ... "Most operating systems" surely includes Microsoft Windows. ... Windows' keyboard driver distinguishes quite clearly between the decimal ... and period keys, and it is *applications* (not Windows' keyboard driver; ...
    (alt.usage.english)
  • Re: Is it MSs MDD driver of keyboard can support Multimedia keyboard?
    ... Special keys are handled by a different keyboard driver or key layout ... Is it mocrosoft's MDD driver can support Multimedia keyboard? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Keyboard problem: Shift+End etc. dont work
    ... Expand 'Keyboards', right-click your keyboard driver, select 'Uninstall' ... I just switched hardware with installing over an image of my old ... keys still works. ...
    (microsoft.public.windowsxp.general)
  • Linux problems with USB HID keyboards and patches
    ... Navigator USB connected keyboard. ... page 0x7, usage 0xe5, code 54 ... The mapping of HID keys to event keys and from event keys ...
    (Linux-Kernel)
  • Re: Great SWT Program
    ... issues of environment input options vs. individual application input ... One trivial example would be a 100-key keyboard where ... The number of keys and the force needed are orthogonal, ...
    (comp.lang.java.programmer)