68kMLA Classic Interface
This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.
| Click here to select a new forum. | | odd question regarding adb function keys.. | Posted by: chelseayr on 2022-12-31 17:09:16 how many function keys was actually supported in software? or was f15 generally the highest as far as pre-usb went?
I did thoughtfully try have a quick look at the macos9-compatible quickey documentation still available on their website but not surprisingly it actually didn't even mention much in the first place .. and a quick peruse of the web didn't give much so I decided it couldn't hurt to just ask here for now nevertheless | Posted by: joevt on 2022-12-31 20:03:10 I suppose it depends on the OS and drivers and API.
There were USB keyboards with an F16.
kgestUSBProF16ANSIKbd = 34, /* USB Pro Keyboard w/ F16 key Domestic (ANSI) Keyboard */
kprodUSBProF16ANSIKbd = 0x20B,
kgestUSBProF16ISOKbd = 35, /* USB Pro Keyboard w/ F16 key International (ISO) Keyboard */
kprodUSBProF16ISOKbd = 0x20C,
kgestUSBProF16JISKbd = 36, /* USB Pro Keyboard w/ F16 key Japanese (JIS) Keyboard */
kprodUSBProF16JISKbd = 0x20D
For Mac OS X, starting from IOUSBFamily-198.4.3, the USB key code 0x6a was translated to ADB key code 0x6b. https://github.com/apple-oss-distri....4/AppleUSBKeyboard/Classes/Cosmo_USB2ADB.cpp
0x69, // 68 F13 on Andy keyboards
0x6b, // 69 F14 on Andy keyboards
0x71, // 6a F15 on Andy keyboards
#if __AppleUSBKeyboard_Darwin_1_3__
0x0, // 6b
#else
0x6a, // 6b F16
#endif
0x0, // 6c
0x0, // 6d
0x0, // 6e
0x0, // 6f
AppleUSBKeyboard has since been removed from Apple Open Source. | Posted by: chelseayr on 2023-01-01 13:50:34 @joevt mm interesting .. anyhow I was also curious about using higher function keys for certain aux inputs-related devices as the os wouldn't had recognized such keypresses itself anyhow | | 1 |
|