[comp.sys.amiga] "dead" keys

steelie@pro-charlotte.cts.com (Jim Howard) (12/22/87)

Is there any --SIMPLE-- way to define the "dead" keys using
a regualar C compiler? Yes, the Caps Lock and Ctrl keys
and all those other areas of keyboard desolation.

carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) (12/24/87)

In article <2186@crash.cts.com> steelie@pro-charlotte.cts.com (Jim Howard) writes:
>Is there any --SIMPLE-- way to define the "dead" keys using
>a regualar C compiler? Yes, the Caps Lock and Ctrl keys
>and all those other areas of keyboard desolation.

First a correction.  Dead keys are key combinations that act like an a special
escape key and cause, if possible, a foreign accent to be placed on the
next key typed.

Control keys are not dead keys.  You can get them with RAWKEY or you
can use VANILLAKEY (internationally compatible) and check the qualifier
field to see if CTRL and/or ALT and/or SHIFT is being held down.

As far as defining such combinations within your own program, once you
get them you can do whatever you want.

If you are talking about writing a C program that will redefine those
keys for all other tasks, then you either have to write an input handler
(asm + C) hotkey type program, or a keymap editor.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Carolyn Scheppner -- CATS   >>Commodore Amiga Technical Support<<
                     UUCP  ...{allegra,ihnp4,rutgers}!cbmvax!carolyn 
                     PHONE 215-431-9180
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=