/* -*- c -*-
 *
 * JASSPA MicroEmacs - www.jasspa.com
 * eskeys.def - Extended key definitions.
 *
 * Copyright (C) 1997-2009 JASSPA (www.jasspa.com)
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 675 Mass Ave, Cambridge, MA 02139, USA.
 */
/*
 * Created:     Thu Sep 18 1997
 * Synopsis:    Extended key definitions.
 * Authors:     Steven Phillips & Jon Green
 * Description:
 *     Included by eskeys.def to create an ordered list of extended (special)
 *     key names.
 */

DEFSKEY ("",             NULL, NULL,      SKEY_error ) /* Don't want a key with value 0x00 */
DEFSKEY ("backspace",    "kb", "\010",    SKEY_backspace )
#if MEOPT_CALLBACK
DEFSKEY ("bell",         NULL, NULL,      SKEY_bell )
#endif
DEFSKEY ("break",        NULL, NULL,      SKEY_break )
#if MEOPT_CALLBACK
DEFSKEY ("callback",     NULL, NULL,      SKEY_callback )
#endif
DEFSKEY ("cancel",       NULL, NULL,      SKEY_cancel )
DEFSKEY ("caps-lock",    NULL, NULL,      SKEY_caps_lock )
DEFSKEY ("clear",        NULL, NULL,      SKEY_clear )
DEFSKEY ("delete",       "kD", "\177",    SKEY_delete )
DEFSKEY ("down",         "kd", "\033[B",  SKEY_down )
#if MEOPT_CALLBACK
DEFSKEY ("drop",         NULL, NULL,      SKEY_drop )
#endif
DEFSKEY ("end",          "@7", "\033[4~", SKEY_end )
DEFSKEY ("esc",          NULL, "\033",    SKEY_esc )
DEFSKEY ("execute",      NULL, NULL,      SKEY_execute )
DEFSKEY ("f1",           "k1", "\033[11~",SKEY_f1 )
DEFSKEY ("f10",          "k;", "\033[21~",SKEY_f10 )
DEFSKEY ("f11",          "F1", "\033[23~",SKEY_f11 )
DEFSKEY ("f12",          "F2", NULL,      SKEY_f12 )
DEFSKEY ("f2",           "k2", "\033[12~",SKEY_f2 )
DEFSKEY ("f3",           "k3", "\033[13~",SKEY_f3 )
DEFSKEY ("f4",           "k4", "\033[14~",SKEY_f4 )
DEFSKEY ("f5",           "k5", "\033[15~",SKEY_f5 )
DEFSKEY ("f6",           "k6", "\033[17~",SKEY_f6 )
DEFSKEY ("f7",           "k7", "\033[18~",SKEY_f7 )
DEFSKEY ("f8",           "k8", "\033[19~",SKEY_f8 )
DEFSKEY ("f9",           "k9", "\033[20~",SKEY_f9 )
DEFSKEY ("find",         NULL, NULL,      SKEY_find )
DEFSKEY ("help",         NULL, NULL,      SKEY_help )
DEFSKEY ("home",         "kh", "\033[3~", SKEY_home )
#if MEOPT_CALLBACK
DEFSKEY ("idle-drop",    NULL, NULL,      SKEY_idle_drop )
DEFSKEY ("idle-pick",    NULL, NULL,      SKEY_idle_pick )
DEFSKEY ("idle-time",    NULL, NULL,      SKEY_idle_time )
#endif
DEFSKEY ("insert",       "kI", "\033[2~", SKEY_insert )
DEFSKEY ("kp-begin",     "K2", NULL,      SKEY_kp_begin )
DEFSKEY ("kp-delete",    NULL, NULL,      SKEY_kp_delete )
DEFSKEY ("kp-down",      NULL, NULL,      SKEY_kp_down )
DEFSKEY ("kp-end",       "K4", NULL,      SKEY_kp_end )
DEFSKEY ("kp-home",      "K1", NULL,      SKEY_kp_home )
DEFSKEY ("kp-insert",    NULL, NULL,      SKEY_kp_insert )
DEFSKEY ("kp-left",      NULL, NULL,      SKEY_kp_left )
DEFSKEY ("kp-page-down", "K5", NULL,      SKEY_kp_page_down )
DEFSKEY ("kp-page-up",   "K3", NULL,      SKEY_kp_page_up )
DEFSKEY ("kp-right",     NULL, NULL,      SKEY_kp_right )
DEFSKEY ("kp-up",        NULL, NULL,      SKEY_kp_up )
DEFSKEY ("left",         "kl", "\033[D",  SKEY_left )
DEFSKEY ("linefeed",     NULL, NULL,      SKEY_linefeed )
/* Windows 105 keyboard; application button */
DEFSKEY ("menu",         NULL, NULL,      SKEY_menu )
#if MEOPT_MOUSE
DEFSKEY ("mouse-drop-1", NULL, NULL,      SKEY_mouse_drop_1 )
DEFSKEY ("mouse-drop-2", NULL, NULL,      SKEY_mouse_drop_2 )
DEFSKEY ("mouse-drop-3", NULL, NULL,      SKEY_mouse_drop_3 )
DEFSKEY ("mouse-drop-4", NULL, NULL,      SKEY_mouse_drop_4 )
DEFSKEY ("mouse-drop-5", NULL, NULL,      SKEY_mouse_drop_5 )
DEFSKEY ("mouse-move",   NULL, NULL,      SKEY_mouse_move )
DEFSKEY ("mouse-move-1", NULL, NULL,      SKEY_mouse_move_1 )
DEFSKEY ("mouse-move-2", NULL, NULL,      SKEY_mouse_move_2 )
DEFSKEY ("mouse-move-3", NULL, NULL,      SKEY_mouse_move_3 )
DEFSKEY ("mouse-move-4", NULL, NULL,      SKEY_mouse_move_4 )
DEFSKEY ("mouse-move-5", NULL, NULL,      SKEY_mouse_move_5 )
DEFSKEY ("mouse-pick-1", NULL, NULL,      SKEY_mouse_pick_1 )
DEFSKEY ("mouse-pick-2", NULL, NULL,      SKEY_mouse_pick_2 )
DEFSKEY ("mouse-pick-3", NULL, NULL,      SKEY_mouse_pick_3 )
DEFSKEY ("mouse-pick-4", NULL, NULL,      SKEY_mouse_pick_4 )
DEFSKEY ("mouse-pick-5", NULL, NULL,      SKEY_mouse_pick_5 )
DEFSKEY ("mouse-time",   NULL, NULL,      SKEY_mouse_time )
DEFSKEY ("mouse-time-1", NULL, NULL,      SKEY_mouse_time_1 )
DEFSKEY ("mouse-time-2", NULL, NULL,      SKEY_mouse_time_2 )
DEFSKEY ("mouse-time-3", NULL, NULL,      SKEY_mouse_time_3 )
DEFSKEY ("mouse-time-4", NULL, NULL,      SKEY_mouse_time_4 )
DEFSKEY ("mouse-time-5", NULL, NULL,      SKEY_mouse_time_5 )
DEFSKEY ("mouse-wdown",  NULL, NULL,      SKEY_mouse_wdown )
DEFSKEY ("mouse-wup",    NULL, NULL,      SKEY_mouse_wup )
#endif
DEFSKEY ("num-lock",     NULL, NULL,      SKEY_num_lock )
DEFSKEY ("page-down",    "%5", "\033[6~", SKEY_page_down )
DEFSKEY ("page-up",      "%8", "\033[5~", SKEY_page_up )
DEFSKEY ("pause",        NULL, NULL,      SKEY_pause )
#if MEOPT_CALLBACK
DEFSKEY ("pick",         NULL, NULL,      SKEY_pick )
#endif
DEFSKEY ("print",        NULL, NULL,      SKEY_print ) 
DEFSKEY ("redo",         NULL, NULL,      SKEY_redo )
#if MEOPT_CALLBACK
DEFSKEY ("redraw",       NULL, NULL,      SKEY_redraw )
#endif
DEFSKEY ("return",       NULL, "\015",    SKEY_return )
DEFSKEY ("right",        "kr", "\033[C",  SKEY_right )
DEFSKEY ("scroll-lock",  NULL, NULL,      SKEY_scroll_lock )
DEFSKEY ("select",       NULL, NULL,      SKEY_select )
DEFSKEY ("shift-lock",   NULL, NULL,      SKEY_shift_lock )
#if MEOPT_CALLBACK
DEFSKEY ("shut-down",    NULL, NULL,      SKEY_shut_down )
#endif
DEFSKEY ("space",        NULL, NULL,      SKEY_space )
DEFSKEY ("sys-req",      NULL, NULL,      SKEY_sys_req )
DEFSKEY ("tab",          NULL, "\011",    SKEY_tab )
DEFSKEY ("undo",         NULL, NULL,      SKEY_undo )
DEFSKEY ("up",           "ku", "\033[A",  SKEY_up )
DEFSKEY ("x-command",    NULL, NULL,      SKEY_x_command )
DEFSKEY ("x-line",       NULL, NULL,      SKEY_x_line )
