Page 1 of 1

What is keyboardtype in the preference file of SheepShaver?

Posted: Fri Apr 30, 2021 6:17 am
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?

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

Posted: Fri Apr 30, 2021 7:25 am
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.

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

Posted: Fri Apr 30, 2021 5:12 pm
by kelvin31415
I assume that the keyboardtype is as defined in Inside Macintosh. For my US-format extended keyboard I am using type 2.

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

Posted: Fri Apr 30, 2021 5:20 pm
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.