AMOSi:Keyshift
an example can be found on AMOSPro_Examples:Examples/H-4/Help_43.AMOS
Returns the status of special keys such as CNTRL,SHIFT,and ALT. The result is given as a bit-map in the following format.
keys=Key Shift
Bit Key Tested
0 Left Shift 1 Right Shift 2 Caps Lock 3 Cntrl 4 Left Alt 5 Right Alt 6 Left Amiga 7 Right Amiga