![[index]](../icons/index.gif)
Next: get-meta-down
Up: key-event
Previous: get-control-down
Gets the virtual key code for the key event. The virtual key code is
either a character or a special key symbol, one of the following:
- 'start
- 'cancel
- 'clear
- 'shift
- 'control
- 'menu
- 'pause
- 'capital
- 'prior
- 'next
- 'end
- 'home
- 'left
- 'up
- 'right
- 'down
- 'select
- 'print
- 'execute
- 'snapshot
- 'insert
- 'help
- 'numpad0
- 'numpad1
- 'numpad2
- 'numpad3
- 'numpad4
- 'numpad5
- 'numpad6
- 'numpad7
- 'numpad8
- 'numpad9
- 'multiply
- 'add
- 'separator
- 'subtract
- 'decimal
- 'divide
- 'f1
- 'f2
- 'f3
- 'f4
- 'f5
- 'f6
- 'f7
- 'f8
- 'f9
- 'f10
- 'f11
- 'f12
- 'f13
- 'f14
- 'f15
- 'f16
- 'f17
- 'f18
- 'f19
- 'f20
- 'f21
- 'f22
- 'f23
- 'f24
- 'numlock
- 'scroll
The special key symbols attempt to capture useful keys that have no
standard ASCII representation. A few keys have standard
reprsentations that are not obvious:
- #\space -- the space bar
- #\return -- the Enter or Return key (on all
platforms), but not necessarily the Enter key near the numpad
(which is reported as 'numpad-enter if the platform
distinguishes the two Enter keys)
- #\tab -- the tab key
- #\backspace -- the backspace key
- #\delete -- the delete key
If a suitable special key symbol or ASCII representation is not
available, #\nul (the null character) is
reported.
- (send a-key-event get-key-code) -> character or symbol
PLT