r6: *** empty log message ***
[ctsim.git] / include / keyboard.h
1 /*****************************************************************************
2 **  This is part of the CTSim program
3 **  Copyright (C) 1983-2000 Kevin Rosenberg
4 **
5 **  $Id: keyboard.h,v 1.2 2000/04/28 14:14:16 kevin Exp $
6 **  $Log: keyboard.h,v $
7 **  Revision 1.2  2000/04/28 14:14:16  kevin
8 **  *** empty log message ***
9 **
10 **
11 **  This program is free software; you can redistribute it and/or modify
12 **  it under the terms of the GNU General Public License (version 2) as
13 **  published by the Free Software Foundation.
14 **
15 **  This program is distributed in the hope that it will be useful,
16 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 **  GNU General Public License for more details.
19 **
20 **  You should have received a copy of the GNU General Public License
21 **  along with this program; if not, write to the Free Software
22 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 ******************************************************************************/
24 /******************************************************************************
25  *
26  * FILE IDENTIFICATION
27  *
28  *      File Name:      KEYBOARD.H
29  *      Author:         Kevin Rosenberg
30  *      Purpose:        Header file for IBM-PC keyboard definitions
31  *      Date Started:   Jan 85
32  *
33  * DESCRIPTION
34  *
35  * MODIFICATION LOG
36  *
37  *****************************************************************************/
38
39 #ifndef KEYBOARD_H
40 #define KEYBOARD_H
41
42 #define KEY_BKSP         8
43 #define KEY_TAB          9
44 #define KEY_RETURN      13
45 #define KEY_ESCAPE      27
46
47 #define KEY_HOME        0x4700
48 #define KEY_UP          0x4800
49 #define KEY_PGUP        0x4900
50 #define KEY_LEFT        0x4B00
51 #define KEY_CENTER      0x4C00          /* center of numeric keypad = 5 */
52 #define KEY_RIGHT       0x4D00
53 #define KEY_END         0x4F00
54 #define KEY_DOWN        0x5000
55 #define KEY_PGDOWN      0x5100
56
57 #define KEY_F1          0x3B00
58 #define KEY_F2          0x3C00
59 #define KEY_F3          0x3D00
60 #define KEY_F4          0x3E00
61 #define KEY_F5          0x3F00
62 #define KEY_F6          0x4000
63 #define KEY_F7          0x4100
64 #define KEY_F8          0x4200
65 #define KEY_F9          0x4300
66 #define KEY_F10         0x4400
67
68 #define KEY_SHIFTF1     0x5400
69 #define KEY_SHIFTF2     0x5500
70 #define KEY_SHIFTF3     0x5600
71 #define KEY_SHIFTF4     0x5700
72 #define KEY_SHIFTF5     0x5800
73 #define KEY_SHIFTF6     0x5900
74 #define KEY_SHIFTF7     0x5A00
75 #define KEY_SHIFTF8     0x5B00
76 #define KEY_SHIFTF9     0x5C00
77 #define KEY_SHIFTF10    0x5D00
78
79 #define KEY_CTRLF1      0x5E00
80 #define KEY_CTRLF2      0x5F00
81 #define KEY_CTRLF3      0x6000
82 #define KEY_CTRLF4      0x6100
83 #define KEY_CTRLF5      0x6200
84 #define KEY_CTRLF6      0x6300
85 #define KEY_CTRLF7      0x6400
86 #define KEY_CTRLF8      0x6500
87 #define KEY_CTRLF9      0x6600
88 #define KEY_CTRLF10     0x6700
89
90 #define KEY_ALTF1       0x6800
91 #define KEY_ALTF2       0x6900
92 #define KEY_ALTF3       0x6A00
93 #define KEY_ALTF4       0x6B00
94 #define KEY_ALTF5       0x6C00
95 #define KEY_ALTF6       0x6D00
96 #define KEY_ALTF7       0x6E00
97 #define KEY_ALTF8       0x6F00
98 #define KEY_ALTF9       0x7000
99 #define KEY_ALTF10      0x7100
100
101
102 #endif  /* #ifndef KEYBOARD_H */