Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > remapping the keyboard

remapping the keyboard
Thread Tools
Rick Johnson
Fresh-Faced Recruit
Join Date: Jun 1999
Status: Offline
Reply With Quote
Apr 25, 2002, 04:03 AM
 
Is there a straightforward way to swap the positions of the Command and Control keys in OS X? My wife loves her new iMac, but it's confusing for her to be switching between OS X at home and Windows at work when the applications are so similar, except for the location of the modifier key for keyboard shortcuts.

I do some development in C (Adobe Illustrator plugins), but remapping the keyboard is a mystery to me. I'd appreciate any suggestions anyone could offer, especially if there's a patch already avaiilable.

BTW, I tried QuicKeys, but am looking for a system-level solution.

Thanks, Rick

[ 04-25-2002: Message edited by: ]
     
stupidFish23
Forum Regular
Join Date: Jan 2002
Location: Hungary
Status: Offline
Reply With Quote
Apr 25, 2002, 05:54 AM
 
hi!

goto resExcellence, they have a keyboard modification tutorial in their OS X section...

nothing is when everything is alright
[email protected] ICQ: 153647416
     
stupidFish23
Forum Regular
Join Date: Jan 2002
Location: Hungary
Status: Offline
Reply With Quote
Apr 25, 2002, 06:05 AM
 
nothing is when everything is alright
[email protected] ICQ: 153647416
     
Rick Johnson  (op)
Fresh-Faced Recruit
Join Date: Jun 1999
Status: Offline
Reply With Quote
Apr 25, 2002, 08:45 AM
 
Originally posted by stupidFish23:
<STRONG>here's the full url link to the page...



happy coding!</STRONG>
Thanks! This is great, but...

This ResEx page says that to remap modifier keys one needs to edit a KMAP resource, which I didn't find in the resource containing the KCHR resource.

Thanks, anyway. -- Rick
     
clarkgoble
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Apr 25, 2002, 11:10 PM
 
You didn't read the full description. The resource is stored in the data fork (this is OSX after all) and you need to run QuickConvert to convert it. Run ResEdit on the resultant resource and then run QuickConvert again to put it back into the OSX format. Backup Localized.rsrc and then rename your new file to that.

I'm not quite sure how you do this dynamically the way QuickKeys does though.
     
Rick Johnson  (op)
Fresh-Faced Recruit
Join Date: Jun 1999
Status: Offline
Reply With Quote
Apr 26, 2002, 07:11 AM
 
Originally posted by clarkgoble:
<STRONG>You didn't read the full description. The resource is stored in the data fork (this is OSX after all) and you need to run QuickConvert to convert it.</STRONG>
Thanks for taking the time to post this along with the link, but I actually did run QuickConvert. That's how I confirmed that the KMAP resource isn't in that file. It does contain the KCHR resource which allows one to redefine the ASCII value of characters, but not the KMAP needed to map the position of modifier (and other) keys.

Thanks -- Rick
     
stupidFish23
Forum Regular
Join Date: Jan 2002
Location: Hungary
Status: Offline
Reply With Quote
Apr 26, 2002, 09:41 AM
 
Yeah, you're right. The modifier keys can't be changed this way. Sorry, I didn't know that...
nothing is when everything is alright
[email protected] ICQ: 153647416
     
Rick Johnson  (op)
Fresh-Faced Recruit
Join Date: Jun 1999
Status: Offline
Reply With Quote
Apr 28, 2002, 08:23 AM
 
Sorry, I didn't know that...
I didn't know that, either, until I read the ResEx info you steered me to. Thanks for your help!

-- Rick

[ 04-28-2002: Message edited by: Rick Johnson ]
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:51 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,