syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / menu / libmenu / scancodes.h
1 /* -*- c -*- ------------------------------------------------------------- *
2  *   
3  *   Copyright 2004-2005 Murali Krishnan Ganapathy - All Rights Reserved
4  *
5  *   This program is free software; you can redistribute it and/or modify
6  *   it under the terms of the GNU General Public License as published by
7  *   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8  *   Boston MA 02111-1307, USA; either version 2 of the License, or
9  *   (at your option) any later version; incorporated herein by reference.
10  *
11  * ----------------------------------------------------------------------- */
12
13 #ifndef __SCANCODES_H__
14 #define __SCANCODES_H__
15
16 // Scancodes of some keys
17 #define ESCAPE     1
18 #define ENTERA    28
19 #define ENTERB   224
20
21 #define HOMEKEY  71
22 #define UPARROW  72
23 #define PAGEUP   73
24 #define LTARROW  75
25 #define RTARROW  77
26 #define ENDKEY   79
27 #define DNARROW  80
28 #define PAGEDN   81
29 #define INSERT   82
30 #define DELETE   83
31 #define SPACEKEY 57 // Scan code for SPACE
32
33 #define CTRLLT 0x73
34 #define CTRLRT 0x74
35
36 #define F1  0x3B
37 #define F2  0x3C
38 #define F3  0x3D
39 #define F4  0x3E
40 #define F5  0x3F
41 #define F6  0x40
42 #define F7  0x41
43 #define F8  0x42
44 #define F9  0x43
45 #define F10 0x44
46 #define F11 0x85
47 #define F12 0x86
48
49 #define CTRLF1  0x5E
50 #define CTRLF2  0x5F
51 #define CTRLF3  0x60
52 #define CTRLF4  0x61
53 #define CTRLF5  0x62
54 #define CTRLF6  0x63
55 #define CTRLF7  0x64
56 #define CTRLF8  0x65
57 #define CTRLF9  0x66
58 #define CTRLF10 0x67
59 #define CTRLF11 0x89
60 #define CTRLF12 0x8A
61
62 #define ALTF1   0x68
63 #define ALTF2   0x69
64 #define ALTF3   0x6A
65 #define ALTF4   0x6B
66 #define ALTF5   0x6C
67 #define ALTF6   0x6D
68 #define ALTF7   0x6E
69 #define ALTF8   0x6F
70 #define ALTF9   0x70
71 #define ALTF10  0x71
72 #define ALTF11  0x8B
73 #define ALTF12  0x8C
74
75 #endif