[comp.sys.mac] Key Character Mapping

humphrey@castor.usc.edu (Steve Humphrey) (08/14/87)

Help!!!  I am still trying to map my keyboard to dvorak.  Here's the
scoop:

I've hacked all day on my Mac SE / System 4.0 to change the keyboard
mapping, with no luck.

Hacking at KCAP and KMAP was futile (as I expected, bombs on restart).
However, KCHR seems to be a rather simply laid out "map" for
normal/shifted/command/option/etc values of characters.  I can change
these without any problem (no bombs) but THIS DOESN'T CHANGE THE
LAYOUT!!!

Help from anyone would be much appreciated.  This is making any
sense!!

Steve Humphrey

p.s.:  thanks to those who sent the Dvorak/Qwerty DA, but this doesn't
work on the new system.

tecot@apple.UUCP (Ed Tecot) (08/14/87)

In article <4009@oberon.USC.EDU> humphrey@castor.usc.edu (Steve Humphrey) writes:
>Help!!!  I am still trying to map my keyboard to dvorak.  Here's the
>scoop:
>
>I've hacked all day on my Mac SE / System 4.0 to change the keyboard
>mapping, with no luck.
>
>Hacking at KCAP and KMAP was futile (as I expected, bombs on restart).
>However, KCHR seems to be a rather simply laid out "map" for
>normal/shifted/command/option/etc values of characters.  I can change
>these without any problem (no bombs) but THIS DOESN'T CHANGE THE
>LAYOUT!!!

That's right.  Both the Mac SE and Mac II have a copy of the KCHR resource
in ROM.  To get the system to accept your change you must:

1) Update to System 4.1 or later

2) Add KCHR 0 to the ROv# resource for your machine (630=SE, 376=II)
	(This may already be done for some systems)

3) Reboot

Note that this is a quick and dirty way to get your keyboard to change.
A much cleaner method will be described in a forthcoming technical note.

						_emt