1 /* $NetBSD: pckeys.h,v 1.3 2013/09/04 19:44:21 tron Exp $ */
4 * Copyright (C) 1984-2012 Mark Nudelman
6 * You may distribute under the terms of either the GNU General Public
7 * License or the Less License, as specified in the README file.
9 * For more information, see the README file.
14 * Definitions of keys on the PC.
15 * Special (non-ASCII) keys on the PC send a two-byte sequence,
16 * where the first byte is 0 and the second is as defined below.
18 #define PCK_SHIFT_TAB '\017'
19 #define PCK_ALT_E '\022'
20 #define PCK_CAPS_LOCK '\072'
22 #define PCK_NUM_LOCK '\105'
23 #define PCK_HOME '\107'
25 #define PCK_PAGEUP '\111'
26 #define PCK_LEFT '\113'
27 #define PCK_RIGHT '\115'
28 #define PCK_END '\117'
29 #define PCK_DOWN '\120'
30 #define PCK_PAGEDOWN '\121'
31 #define PCK_INSERT '\122'
32 #define PCK_DELETE '\123'
33 #define PCK_CTL_LEFT '\163'
34 #define PCK_CTL_RIGHT '\164'
35 #define PCK_CTL_DELETE '\223'