• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

odd question regarding adb function keys..

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
 
I suppose it depends on the OS and drivers and API.

There were USB keyboards with an F16.
Code:
    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
Code:
    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.
 
@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
 
Back
Top