Home | History | Annotate | Line # | Download | only in dist
      1 /*	$NetBSD: pckeys.h,v 1.4 2023/10/06 05:49:49 simonb Exp $	*/
      2 
      3 /*
      4  * Copyright (C) 1984-2023  Mark Nudelman
      5  *
      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.
      8  *
      9  * For more information, see the README file.
     10  */
     11 
     12 
     13 /*
     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.
     17  */
     18 #define PCK_SHIFT_TAB           '\017'
     19 #define PCK_ALT_E               '\022'
     20 #define PCK_CAPS_LOCK           '\072'
     21 #define PCK_F1                  '\073'
     22 #define PCK_NUM_LOCK            '\105'
     23 #define PCK_HOME                '\107'
     24 #define PCK_UP                  '\110'
     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'
     36