/* Copyright 1992 NEC Corporation, Tokyo, Japan.
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without
 * fee, provided that the above copyright notice appear in all copies
 * and that both that copyright notice and this permission notice
 * appear in supporting documentation, and that the name of NEC
 * Corporation not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior
 * permission.  NEC Corporation makes no representations about the
 * suitability of this software for any purpose.  It is provided "as
 * is" without express or implied warranty.
 *
 * NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 
 * NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 
 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 
 * OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 
 * PERFORMANCE OF THIS SOFTWARE. 
 */


/* @(#) 102.1 $Id: irkeydef.h,v 1.1.1.1 2002/10/19 08:27:31 aida_s Exp $ */

/* normal function keys */
     
#define IROHA_KEY_Nfer		0x80
#define IROHA_KEY_Xfer		0x81
#define IROHA_KEY_Up		0x82
#define IROHA_KEY_Left		0x83
#define IROHA_KEY_Right		0x84
#define IROHA_KEY_Down		0x85
#define IROHA_KEY_Insert	0x86
#define IROHA_KEY_Rollup	0x87
#define IROHA_KEY_Rolldown	0x88
#define IROHA_KEY_Home		0x89
#define IROHA_KEY_Help		0x8a
#define IROHA_KEY_KP_Key	0x8b

/* shifted function keys */

#define IROHA_KEY_Shift_Nfer	0x90
#define IROHA_KEY_Shift_Xfer	0x91
#define IROHA_KEY_Shift_Up	0x92
#define IROHA_KEY_Shift_Left	0x93
#define IROHA_KEY_Shift_Right	0x94
#define IROHA_KEY_Shift_Down	0x95

/* control-shifted function keys */

#define IROHA_KEY_Cntrl_Nfer	0x96
#define IROHA_KEY_Cntrl_Xfer	0x97
#define IROHA_KEY_Cntrl_Up	0x98
#define IROHA_KEY_Cntrl_Left	0x99
#define IROHA_KEY_Cntrl_Right	0x9a
#define IROHA_KEY_Cntrl_Down	0x9b

/* application keypad mode keys */

#ifdef DoNotConflictWithKatakanaKeys

/* 以下のキーはカタカナ文字とぶつかってしまうため使えない。*/

#define IROHA_KEY_KP_Up		0xc0	/* \eOA			*/
#define IROHA_KEY_KP_Left	0xc1	/* \eOB			*/
#define IROHA_KEY_KP_Right	0xc2	/* \eOC			*/
#define IROHA_KEY_KP_Down	0xc3	/* \eOD			*/
#define IROHA_KEY_KP_Tab	0xc4	/* \eOI			*/
#define IROHA_KEY_KP_Enter	0xc5	/* \eOM			*/
#define IROHA_KEY_KP_Equal	0xc6	/* \eOX			*/
#define IROHA_KEY_KP_Multiply	0xc7	/* \eOj			*/
#define IROHA_KEY_KP_Add	0xc8	/* \eOk			*/
#define IROHA_KEY_KP_Separator	0xc9	/* \eOl			*/
#define IROHA_KEY_KP_Subtract	0xca	/* \eOm			*/
#define IROHA_KEY_KP_Decimal	0xcb	/* \eOn			*/
#define IROHA_KEY_KP_Divide	0xcc	/* \eOo			*/
#define IROHA_KEY_KP_0		0xd0	/* \eOp			*/
#define IROHA_KEY_KP_1		0xd1	/* \eOq			*/
#define IROHA_KEY_KP_2		0xd2	/* \eOr			*/
#define IROHA_KEY_KP_3		0xd3	/* \eOs			*/
#define IROHA_KEY_KP_4		0xd4	/* \eOt			*/
#define IROHA_KEY_KP_5		0xd5	/* \eOu			*/
#define IROHA_KEY_KP_6		0xd6	/* \eOv			*/
#define IROHA_KEY_KP_7		0xd7	/* \eOw			*/
#define IROHA_KEY_KP_8		0xd8	/* \eOx			*/
#define IROHA_KEY_KP_9		0xd9	/* \eOy			*/

#endif

/* numeral-function keys */

#define IROHA_KEY_F1		0xe0
#define IROHA_KEY_F2		0xe1
#define IROHA_KEY_F3		0xe2
#define IROHA_KEY_F4		0xe3
#define IROHA_KEY_F5		0xe4
#define IROHA_KEY_F6		0xe5
#define IROHA_KEY_F7		0xe6
#define IROHA_KEY_F8		0xe7
#define IROHA_KEY_F9		0xe8
#define IROHA_KEY_F10		0xe9
#define IROHA_KEY_PF1		0xf0
#define IROHA_KEY_PF2		0xf1
#define IROHA_KEY_PF3		0xf2
#define IROHA_KEY_PF4		0xf3
#define IROHA_KEY_PF5		0xf4
#define IROHA_KEY_PF6		0xf5
#define IROHA_KEY_PF7		0xf6
#define IROHA_KEY_PF8		0xf7
#define IROHA_KEY_PF9		0xf8
#define IROHA_KEY_PF10		0xf9
#define IROHA_KEY_Undefine   	0xff
