Keycodes file for Windows with latest code?

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

User avatar
Ronald P. Regensburg
Expert User
Posts: 6391
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Keycodes file for Windows with latest code?

Post by Ronald P. Regensburg »

Sorry to come back on this. But after a night's sleep I think I have a better idea.

Both names have been in use for years for the same file.
"BasiliskII_keycodes" with BasiliskII and "keycodes" with SheepShaver is true for the emulators distributed for OSX/macOS, but I am not sure which files are used on other platforms or by users who compile/build themselves.

Maybe make it like this for both BasiliskII and SheepShaver:

If "keycodes true" and no keycodefile or path defined
Look for "BasiliskII_keycodes"
If no "BasiliskII_keycodes"
Look for "keycodes"
Last edited by Ronald P. Regensburg on Sat Mar 21, 2020 7:16 am, edited 1 time in total.
Reason:  
kanjitalk755
Mac Mechanic
Posts: 153
Joined: Thu Nov 09, 2017 12:06 pm

Re: Keycodes file for Windows with latest code?

Post by kanjitalk755 »

I think it is better that BII/SS try to read first is not BasiliskII_keycodes but keycodes.
If you put all of SheepShaver, keycodes and BasiliskII_keycodes in the same folder, I think it is more natural to give priority to keycodes.
User avatar
Ronald P. Regensburg
Expert User
Posts: 6391
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Keycodes file for Windows with latest code?

Post by Ronald P. Regensburg »

The average user will not notice the difference, but I agree that it feels more natural to give "keycodes" priority. If ever other file names will circulate (I hope not) those could be added easily.

Edit: Judging by the comments at the top of the file, "keycodes" even was the original file name.
Last edited by Ronald P. Regensburg on Sat Mar 21, 2020 10:30 am, edited 1 time in total.
Reason:  
kanjitalk755
Mac Mechanic
Posts: 153
Joined: Thu Nov 09, 2017 12:06 pm

Re: Keycodes file for Windows with latest code?

Post by kanjitalk755 »

Changed.
Post Reply