PICS Views Key Names
The PICSViews action handler system
supports a large number of key and mouse events. Many keys have unique names
because they are otherwise unprintable (arrows) or invisible (space). The following
table contains the base names of all keys that the action handler understands
(where the name isn't immediately obvious, the second column contains a description
of the key):
| Backspace |
|
| Tab |
|
| Linefeed |
Typically this is generated by a Control-Return, but some keyboard have
a key dedicated to this function. |
| Clear |
Keypad 5, when neither NUMLOCK nor SHIFT is pressed. This keystroke may
not be available on all keyboards. |
| Return |
Labelled 'Enter' on some keyboards. |
| Pause |
|
| Escape |
Labelled 'Esc' on many keyboards |
| Delete |
|
| Home |
|
| Left |
Left Arrow |
| Up |
Up Arrow |
| Right |
Right Arrow |
| Down |
Down Arrow |
| PgUp |
|
| PageUp |
|
| Prior |
Page Up |
| PgDn |
|
| PageDown |
|
| Next |
Page Down |
| End |
|
| Insert |
|
| KP:space |
KP: means that the key is located on the numeric keypad, typically to
the right of the standard typewriter keys. |
| KP:tab |
|
| KP:enter |
|
| KP:equal |
|
| KP:= |
|
| KP:multiply |
|
| KP:* |
|
| KP:add |
|
| KP:+ |
|
| KP:subtract |
|
| KP:- |
|
| KP:decimal |
|
| KP:. |
|
| KP:divide |
|
| KP:/ |
|
| KP:0 |
|
| KP:1 |
|
| KP:2 |
|
| KP:3 |
|
| KP:4 |
|
| KP:5 |
|
| KP:6 |
|
| KP:7 |
|
| KP:8 |
|
| KP:9 |
|
| F1 |
|
| F2 |
|
| F3 |
|
| F4 |
|
| F5 |
|
| F6 |
|
| F7 |
|
| F8 |
|
| F9 |
|
| F10 |
|
| F11 |
|
| F12 |
|
| space |
|
All of the printable typewriter keys may also be referenced by action
definitions, allowing a very large number of actions to be defined. In practice,
PICSViews has an upper limit of 128 total action definitions, including the
common actions and all loaded view actions combined.