• Jeffrey Lee's avatar
    Add support for new extended internal key codes, low level key codes, and key handler format · bcb499b5
    Jeffrey Lee authored
    Detail:
      s/Middle - Added OS_ReadSysInfo 13 to allow the kernel to validate a key handler before the owner attempts to install it
      Resources/UK/Messages - Text for new "Bad key handler" error
      s/GetAll, s/PMF/Def - Get rid of now obsolete s/PMF/Def file. It only contained definitions for pre-HAL hardware, and for the key handler layout (now in Hdr:Keyboard)
      hdr/KeyWS - Increased size of KeysDown array so it can hold 768 keys instead of 160. Trim a couple of obsolete variables, and increase CurrKey/OldKey from 1 byte to 4 bytes.
      s/PMF/key, s/PMF/osbyte - Main bulk of the changes for the new key handling. All the important interfaces are now able to deal with extended (i.e. > 8 bit) internal key numbers, and the kernel is able to cope with key handlers which use 16 bit internal/low level key numbers instead of 8 bit.
    Admin:
      Tested on Pandora & BB-xM
      Requires HdrSrc-2_20
    
    
    Version 5.35, 4.79.2.178. Tagged as 'Kernel-5_35-4_79_2_178'
    bcb499b5
osbyte 38.6 KB