- (make-keymap [KEY1 PROC1 ... [DEFAULTHANDLER]])procedure
Creates and returns a keymap and fills it with the given key/keyhandler items. A key should be a character, a symbol indicating a special key or a list of the form ([alt] [control] [shift] CHAR)]]. A key-handler is a procedure that takes the key as its sole argument.
If DEFAULTHANDLER is given, it should be a procedure of one argument (the key value) that is invoked for all key-presses for which no item exists in the keymap. If the default-handler returns false, then any joined keymap (see below) will be tried.
Special keys are mapped to symbols like this:
F1 - F12 f1 - f12 left left up up right right down down Page up page-up Page down page-down Home home End end Insert insert