Hi! The CAPS constant is defined to be KSHIFT, which if I understand this correct means that the shifted value is used when caps lock is used.
Try to change the line : /* none, shift, ctrl-alt, ctrl, ctrl-shift */ { VK_OEM_7, NOCAPS, 0xe4, 0xe0, 0x7b, WCH_NONE, 0x00 }, /* ä à { */
to: { VK_OEM_7, KCTRL, 'code for ä', 'code for à', 0x7b, 'code for Ä', 'code for À }, /* ä à { */
in order to use the ctrl and ctrl-shift states for caps lock for this key.
I don't have a test environment set up at the moment to test this, but it is possible that windows uses something like this. Regards Johannes Olofsson
Från: art yerkes ayerkes@speakeasy.net Till: ReactOS Development List ros-dev@reactos.com Rubrik: Re: [ros-dev] added a proposed patch to bugzilla Datum: Tue, 1 Mar 2005 12:23:52 -0600
<pre>On Thu, 24 Feb 2005 15:51:38 +0100 Roman Hoegg <roman.hoegg@unisg.ch> wrote: > > > > as NOCAPS in your layout file > > yes that's true but I did that for a reason. I had two choices. Either > can't set differentiate between SHIFT and CAPS LOCK. I wasn't aware that NOCAPS could be different from SHIFT, so NOCAPS always implies shift in our current model. I'll try to fix it. --
10 Gigabyte Mailbox - http://mail.spray.se