2013-12-06 12:04:52 +01:00
|
|
|
/* $NetBSD: pckeys.h,v 1.3 2013/09/04 19:44:21 tron Exp $ */
|
2013-12-03 11:35:03 +01:00
|
|
|
|
2010-06-26 03:41:19 +02:00
|
|
|
/*
|
2013-12-06 12:04:52 +01:00
|
|
|
* Copyright (C) 1984-2012 Mark Nudelman
|
2010-06-26 03:41:19 +02:00
|
|
|
*
|
|
|
|
* You may distribute under the terms of either the GNU General Public
|
|
|
|
* License or the Less License, as specified in the README file.
|
|
|
|
*
|
2013-12-06 12:04:52 +01:00
|
|
|
* For more information, see the README file.
|
2010-06-26 03:41:19 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Definitions of keys on the PC.
|
|
|
|
* Special (non-ASCII) keys on the PC send a two-byte sequence,
|
|
|
|
* where the first byte is 0 and the second is as defined below.
|
|
|
|
*/
|
|
|
|
#define PCK_SHIFT_TAB '\017'
|
|
|
|
#define PCK_ALT_E '\022'
|
|
|
|
#define PCK_CAPS_LOCK '\072'
|
|
|
|
#define PCK_F1 '\073'
|
|
|
|
#define PCK_NUM_LOCK '\105'
|
|
|
|
#define PCK_HOME '\107'
|
|
|
|
#define PCK_UP '\110'
|
|
|
|
#define PCK_PAGEUP '\111'
|
|
|
|
#define PCK_LEFT '\113'
|
|
|
|
#define PCK_RIGHT '\115'
|
|
|
|
#define PCK_END '\117'
|
|
|
|
#define PCK_DOWN '\120'
|
|
|
|
#define PCK_PAGEDOWN '\121'
|
|
|
|
#define PCK_INSERT '\122'
|
|
|
|
#define PCK_DELETE '\123'
|
|
|
|
#define PCK_CTL_LEFT '\163'
|
|
|
|
#define PCK_CTL_RIGHT '\164'
|
|
|
|
#define PCK_CTL_DELETE '\223'
|