I'm working on a project which has a Raspberry Pi 3 in a Mac SE case and an ADB to USB Wombat converter so I can hook up my old Mac SE keyboard. The Pi runs MacintoshPi software which uses Basilisk II for emulation. My problem is that the Option and Command keys are reversed. I tried editing the keycodes file in /usr/local/share/BasiliskII by reversing the numbers in the 2nd column without any change. Any idea how to fix this?
Thanks in advance!
Option and Command Keys Reversed w/RPi
Moderators: Cat_7, Ronald P. Regensburg
- Byte Knight
- Space Cadet
- Posts: 8
- Joined: Wed Oct 23, 2019 11:12 pm
Option and Command Keys Reversed w/RPi
Sysop of Captain's Quarters II BBS, running on a Mac!
- Ronald P. Regensburg
- Expert User
- Posts: 7834
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Option and Command Keys Reversed w/RPi
If your BasiliskII is built from github.com/kanjitalk755/macemu source, option and command keys are reversed by default as for Linux a Windows keyboard is assumed.
You can change position of option and command keys in the prefs file by using either; or
You can change position of option and command keys in the prefs file by using either;
Code: Select all
swap_opt_cmd false
Code: Select all
swap_opt_cmd true
- Byte Knight
- Space Cadet
- Posts: 8
- Joined: Wed Oct 23, 2019 11:12 pm
Re: Option and Command Keys Reversed w/RPi
That worked - thank you! It took me a while to find the actual prefs file, which I eventually found under usr/share/macintoshpi/macos7/macos7.cfg.Ronald P. Regensburg wrote: ↑Sun Jun 11, 2023 8:58 pm You can change position of option and command keys in the prefs file by using either;orCode: Select all
swap_opt_cmd false
Code: Select all
swap_opt_cmd true
Sysop of Captain's Quarters II BBS, running on a Mac!