What is keyboardtype in the preference file of SheepShaver?

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
Mac9LnUniDU
Space Cadet
Posts: 4
Joined: Mon Apr 26, 2021 1:35 am

What is keyboardtype in the preference file of SheepShaver?

Post by Mac9LnUniDU »

What is "keyboardtype" in the preference file "~/.sheepshaver_prefs" of SheepShaver?

What are its possible values and their meanings?

Its default value seems 5. What does 5 mean here?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: What is keyboardtype in the preference file of SheepShaver?

Post by Ronald P. Regensburg »

See the BasiliskII readme: https://basilisk.cebix.net/README:
keyboardtype <keyboard-id>

Specifies the keyboard type that BasiliskII should report to the MacOS.
The default is "5" which is a "Apple Extended Keyboard II (ISO)",
but many other numbers are understood by most versions of the MacOS
(e.g. 11 is a "Macintosh Plus Keyboard with keypad",
13 is a "Apple PowerBook Keyboard (ISO)" )

For additional information, consult the source.
Note that the setting has little practical meaning. If the installed MacOS understands the reported keyboard, you may see a different keyboard in the Key Caps application.
kelvin31415
Tinkerer
Posts: 83
Joined: Sat Apr 12, 2008 8:22 pm

Re: What is keyboardtype in the preference file of SheepShaver?

Post by kelvin31415 »

I assume that the keyboardtype is as defined in Inside Macintosh. For my US-format extended keyboard I am using type 2.
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: What is keyboardtype in the preference file of SheepShaver?

Post by adespoton »

kelvin31415 wrote: Fri Apr 30, 2021 5:12 pm I assume that the keyboardtype is as defined in Inside Macintosh. For my US-format extended keyboard I am using type 2.
I believe you are correct.
Post Reply