Path: utzoo!attcan!uunet!husc6!think!ames!amdahl!nsc!voder!apple!tecot From: tecot@Apple.COM (Ed Tecot) Newsgroups: comp.sys.mac Subject: Re: How can I remap the MacPlus keyboard? Keywords: keyboard remap Message-ID: <12659@apple.Apple.COM> Date: 22 Jun 88 20:49:05 GMT References: <680@ttrdf.UUCP> Reply-To: tecot@apple.apple.com.UUCP (Ed Tecot) Distribution: na Organization: Apple Computer Inc, Cupertino, CA Lines: 26 In article <680@ttrdf.UUCP> fjo@ttrdf.UUCP (Frank Owen ) writes: > I would like to switch the "Caps Lock" key on my MacPlus keyboard >with the command (clover,propeller, whatever) key. Is there an >easy (non-hardware) way to do this? I looked at the Tech notes >on this subject, and I think what I need to do is to change the >KMAP resource in the System file, however, if I change it, it >seems to have no affect. I think this is used only on > SE class >machines. Changing the mapping in the KCHR resource does work, but >only for non-modifier keys. (KCHR can be alterred to produce alternative >layouts like Dvorak, for example.) You're right. KMAPs are only for ADB. KCHRs are for everyone (they're not just for breakfast anymore). There is no "blessed" way to do this. FYI, KMAPs are owned by the keyboard hardware creator; changing them is a no-no. However, whatever you do in the privacy of your own home is your business. So, if you REALLY want to do this, the best thing I can recommend is to patch KeyTrans and PostEvent. Some things may slip through the cracks, since the code that you want to disable is the interrupt routine in ROM, but I don't recommend that unless you really know what you are doing. > I realize that I'll have to disable the hardware locking mechanism >of the key, but I can handle that.(I think). Yes, you'll have to do that too. _emt