remaping keyboard for classic OS (7.5, etc)

3 posts / 0 new
Last post
iDweeb's picture
Offline
Last seen: 8 years 4 months ago
Joined: Dec 19 2003 - 14:45
Posts: 103
remaping keyboard for classic OS (7.5, etc)

Hi, everyone, I'm planning on (eventually) doing a hardware/software mod where I will need to remap an apple extended keyboard to a custom arrangement.

Does anyone have some suggestions on good sites for learning how to use resedit and the like to do it?

thanks in advance!

iDweeb

Zydeco's picture
Offline
Last seen: 3 years 1 month ago
Joined: Dec 26 2003 - 16:21
Posts: 48
ResEdit

You can easily edit keymaps with ResEdit.
Make a copy of the keymap file (it's inside the System file) somewhere else to edit it, and open it with ResEdit.
The itlk resource doesn't need to be changed.
kcs# and kcs4 store the icon.
KCHR stores the actual keymap, you can edit it graphically. Pressing the modifier keys (caps lock, shift, option, etc) will switch tables and show you the maps for the different modifiers.
You can choose "View As" from the KCHR menu for it to show the keys for different keyboard models (normal, extended, etc).
The mapping is changed by draggin the characters from the top left table to the bottom part, which is arranged like a keyboard. The top right table is also the keyboard mapping, but arranged as keycodes.

ResEdit KCHR Editor

To edit the kcs4, you must create a new 'ics4' resource, and open it using the hex editor. Paste the data from the original kcs4 icon there, then close it and double-click it, so it will open with the icon editor. Then you can modify it, close it, open it with the hex editor, and copy its hex data back to the kcs4 resource. You can do the same with the kcs#, this time the new type is 'ics#'

You should also change the name of both the file and the KCHR resource.

iDweeb's picture
Offline
Last seen: 8 years 4 months ago
Joined: Dec 19 2003 - 14:45
Posts: 103
Thank you

Thank you, kcs4.

I didn't want anyone to have to do my "homework "for me here.I feel a little bad Sad I would have been happy with just some reccomendations for good resedit sites out there so I could look, but you are very kind.

I appreciate your detailed help!!! Smile

Log in or register to post comments