Showing changes from revision #1 to #2:
Added | Removed | Changed
Function keys generate these codes un-shifted.
Key | Code |
---|---|
&80 | |
F1 – F9 | &81 – &89 |
End/Copy | &8B |
Left | &8C |
Right | &8D |
Down | &8E |
Up | |
Page Down | &9E |
Page Up | &9F |
F10 – F12 | &CA – &CC |
Insert | &CD |
Shift EORs the code with &10
Control EORs the code with &20
The cursor keys and copy only generate these codes if set up to act as function keys by calling OS_Byte 4 with R1=2.
&80 + Buffer value gives the character codes used by the Wimp. When reset occurs &CA (i.e. F10) is inserted into the input buffer.
Unlisted codes cannot be generated by the main keyboard, but can occur by:
Note that page up and down effectively behave as Up and Down with shift toggled. In fact, it is impossible to distinguish shift/control combinations of page up and down with shift/control combinations of cursor up and down, which can prove frustrating.