From: Wolfgang Kern on

"don" <don(a)panix.com> wrote:

>> If you're in windows, there is a feature like that already built into
>> the OS.

>> http://www.microsoft.com/enable/training/windowsxp/stickykeys.aspx

> Thanks , I'm really trying to do this using code, I know it has to do with
> somehow getting the break code to be ignored. There is a company that
sells
> expensive keyboards that do this
> http://www.ergonomicsmadeeasy.com/index.asp?PageAction=VIEWPROD&ProdID=8

> Of course there software is proprietary to their keyboards. But hopefully
> it is just a few simple lines of code needed.

Depends on which OS you are trying it ...
In windoze(tm) and DOS(any) you have the opportunity to setup the
keybd-handler to work either US- or EU(German)-styled and the
behaviour of CAPS-LOCK status is a given option there.
In DOS (with Ger/Eng prepared) you get ALT-CTRL-F1/F2 to switch between
the funtionality of CAPS-LOCK (beside the effect on a few other keys).

In win98se and XP (don't know other M$-____) you can tell the OS
how to behave on CAPS and SHIFT(un-caps) for U/Lcase switches.

The German setting is a bit nasty, because it also sets non-alphabethical
keys (1..0 and friends) to their SHIFT equivalent when CAPSLOCK is active.

If you write your own keybd-routine/hook, you can do whatsoever is desired.

But U/Lcase got nothing to do with an ignored break-code in my and many
other OS too (even break-codes were detected for ALT-CTRL-SHIFT), it acts
just on interpretation of the CAPSLOCK status and the selected mode
(like: TTY.EngUK,EngUS,Ger,...).
__
wolfgang



First  |  Prev  | 
Pages: 1 2
Prev: Crusher Freeze Parallel
Next: Replace bytes