Date: Fri, 8 Jul 94 09:28:14 PDT From: haddock@lifesci.lscf.ucsb.edu (Steven Haddock) To: macgifts@SUMEX-AIM.Stanford.EDU Subject: Guide to remapping PowerBook 5XX keyboard This document tells how to make the row of function keys on your 500-series PowerBook serve as PageUp, PageDown, Home, End, and Forward Delete. The instructions are modified from the "PowerBook Key Remapping guide" created by Quinn "The Eskimo!" . Thanks to Quinn! The exact changes made are: Original Key New Function ----------------------------------- F5 End F6 Home F7 PageDown F8 PageUp F12 ForwardDelete (Using F7 for PageUp seems more natural to me, but I made them to match the existing up and down arrows on the keyboard. You can, of course, switch them however you like.) Warnings: * These changes are "hardwired" into your system, so if you come across a program that needs the functions keys, you won't be able to access them. * Work on a copy of your system. I made a RAM startup disk and did the changes there first to check it out. ----------------------------------------------------------------------- **Instructions for modifying your keyboard** 1) Open a copy of the System in ResEdit. 2) Open the resource KMAP ID=0 (not KCHR). 3) Change the byte at offset $64 from $60 to $77 (F5 now sends End) 4) Change the byte at offset $65 from $61 to $73 (F6 now sends Home) 5) Change the byte at offset $66 from $62 to $79 (F7 now sends PgDn) 6) Change the byte at offset $68 from $64 to $74 (F8 now sends PgUp) 7) Change the byte at offset $73 from $6F to $75 (F12 now sends FwdDel) 8) Close the KMAP resource 9) Open the ROv# resource with ID 1660 10) Select the last set of '*****'. (On mine it was number 16). 11) Select 'Insert New Fields' from the Resource menu. 12) Set the type to KMAP and the Res ID to 0 (This makes the System look to your KMAP resource instead of ROM). l3) Save and close the System file ----------------------------------------------------------------------- Notes: * The offsets are in the leftmost column of the KMAP resource; you change the values in the *middle* column. * Don't worry about the letters you see on the right of the KMAP resource when it's open. They are just the ASCII for the keycodes. In fact, when you've make the modifications correctly the lowercase alphabet should read 'wsycte' instead of '`abcde' and 'nup' instead of 'nop'. * These function keys are not to be confused with the FKEY (command-shift-#) resources used by the system. * Not all programs make use of these keys, so try them out in something that you know does (like Microsoft Word). Customization: * If you want to use other Function Key, you can find out the numbers to change from by opening the KCHR resource ID 0. Press the key you want to reassign, and note the value next to 'Key:' (not Char:). Find this number in KMAP resource 0 and change it instead. (For example change the 65 instead of 60 to use F9 as Home). ----------------------------------------------------------------------- I can't guarantee anything except that these changes work fine on my 520c. Hope you use them as much as I do. --Steve .................................................................. . Steven Haddock . haddock@lifesci.ucsb.edu . . Marine Science Institute, UCSB, Santa Barbara, CA 93106 . ..................................................................