21
|
1 |
/*
|
|
2 |
* Hedgewars, a worms-like game
|
|
3 |
* Copyright (c) 2005 Andrey Korotaev <unC0Rr@gmail.com>
|
|
4 |
*
|
183
|
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; version 2 of the License
|
21
|
8 |
*
|
183
|
9 |
* This program is distributed in the hope that it will be useful,
|
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 |
* GNU General Public License for more details.
|
21
|
13 |
*
|
183
|
14 |
* You should have received a copy of the GNU General Public License
|
|
15 |
* along with this program; if not, write to the Free Software
|
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
21
|
17 |
*/
|
|
18 |
|
|
19 |
char sdlkeys[][2][16] =
|
|
20 |
{
|
|
21 |
{"mousel", "mousel"},
|
|
22 |
{"mousem", "mousem"},
|
|
23 |
{"mouser", "mouser"},
|
|
24 |
{"backspace", "backspace"},
|
|
25 |
{"tab", "tab"},
|
|
26 |
{"clear", "clear"},
|
|
27 |
{"return", "return"},
|
|
28 |
{"pause", "pause"},
|
|
29 |
{"escape", "escape"},
|
|
30 |
{"space", "space"},
|
|
31 |
{"!", "!"},
|
|
32 |
{"\"", "\""},
|
|
33 |
{"#", "#"},
|
|
34 |
{"$", "$"},
|
|
35 |
{"&", "&"},
|
|
36 |
{"'", "'"},
|
|
37 |
{"(", "("},
|
|
38 |
{")", ")"},
|
|
39 |
{"*", "*"},
|
|
40 |
{"+", "+"},
|
|
41 |
{",", ","},
|
|
42 |
{"-", "-"},
|
|
43 |
{".", "."},
|
|
44 |
{"/", "/"},
|
|
45 |
{"0", "0"},
|
|
46 |
{"1", "1"},
|
|
47 |
{"2", "2"},
|
|
48 |
{"3", "3"},
|
|
49 |
{"4", "4"},
|
|
50 |
{"5", "5"},
|
|
51 |
{"6", "6"},
|
|
52 |
{"7", "7"},
|
|
53 |
{"8", "8"},
|
|
54 |
{"9", "9"},
|
|
55 |
{":", ":"},
|
|
56 |
{";", ";"},
|
|
57 |
{"<", "<"},
|
|
58 |
{"=", "="},
|
|
59 |
{">", ">"},
|
|
60 |
{"?", "?"},
|
|
61 |
{"@", "@"},
|
|
62 |
{"[", "["},
|
|
63 |
{"\\", "\\"},
|
|
64 |
{"]", "]"},
|
|
65 |
{"^", "^"},
|
|
66 |
{"_", "_"},
|
|
67 |
{"`", "`"},
|
|
68 |
{"a", "a"},
|
|
69 |
{"b", "b"},
|
|
70 |
{"c", "c"},
|
|
71 |
{"d", "d"},
|
|
72 |
{"e", "e"},
|
|
73 |
{"f", "f"},
|
|
74 |
{"g", "g"},
|
|
75 |
{"h", "h"},
|
|
76 |
{"i", "i"},
|
|
77 |
{"j", "j"},
|
|
78 |
{"k", "k"},
|
|
79 |
{"l", "l"},
|
|
80 |
{"m", "m"},
|
|
81 |
{"n", "n"},
|
|
82 |
{"o", "o"},
|
|
83 |
{"p", "p"},
|
|
84 |
{"q", "q"},
|
|
85 |
{"r", "r"},
|
|
86 |
{"s", "s"},
|
|
87 |
{"t", "t"},
|
|
88 |
{"u", "u"},
|
|
89 |
{"v", "v"},
|
|
90 |
{"w", "w"},
|
|
91 |
{"x", "x"},
|
|
92 |
{"y", "y"},
|
|
93 |
{"z", "z"},
|
|
94 |
{"delete", "delete"},
|
|
95 |
{"[0]", "[0]"},
|
|
96 |
{"[1]", "[1]"},
|
|
97 |
{"[2]", "[2]"},
|
|
98 |
{"[3]", "[3]"},
|
|
99 |
{"[4]", "[4]"},
|
|
100 |
{"[5]", "[5]"},
|
|
101 |
{"[6]", "[6]"},
|
|
102 |
{"[7]", "[7]"},
|
|
103 |
{"[8]", "[8]"},
|
|
104 |
{"[9]", "[9]"},
|
|
105 |
{"[.]", "[.]"},
|
|
106 |
{"[/]", "[/]"},
|
|
107 |
{"[*]", "[*]"},
|
|
108 |
{"[-]", "[-]"},
|
|
109 |
{"[+]", "[+]"},
|
|
110 |
{"enter", "enter"},
|
|
111 |
{"equals", "equals"},
|
|
112 |
{"up", "up"},
|
|
113 |
{"down", "down"},
|
|
114 |
{"right", "right"},
|
|
115 |
{"left", "left"},
|
|
116 |
{"insert", "insert"},
|
|
117 |
{"home", "home"},
|
|
118 |
{"end", "end"},
|
|
119 |
{"page up", "page up"},
|
|
120 |
{"page down", "page down"},
|
|
121 |
{"f1", "f1"},
|
|
122 |
{"f2", "f2"},
|
|
123 |
{"f3", "f3"},
|
|
124 |
{"f4", "f4"},
|
|
125 |
{"f5", "f5"},
|
|
126 |
{"f6", "f6"},
|
|
127 |
{"f7", "f7"},
|
|
128 |
{"f8", "f8"},
|
|
129 |
{"f9", "f9"},
|
|
130 |
{"f10", "f10"},
|
|
131 |
{"f11", "f11"},
|
|
132 |
{"f12", "f12"},
|
|
133 |
{"f13", "f13"},
|
|
134 |
{"f14", "f14"},
|
|
135 |
{"f15", "f15"},
|
|
136 |
{"numlock", "numlock"},
|
|
137 |
{"caps_lock", "caps_lock"},
|
|
138 |
{"scroll_lock", "scroll_lock"},
|
|
139 |
{"right_shift", "right_shift"},
|
|
140 |
{"left_shift", "left_shift"},
|
|
141 |
{"right_ctrl", "right_ctrl"},
|
|
142 |
{"left_ctrl", "left_ctrl"},
|
|
143 |
{"right_alt", "right_alt"},
|
|
144 |
{"left_alt", "left_alt"},
|
|
145 |
{"right_meta", "right_meta"},
|
|
146 |
{"left_meta", "left_meta"},
|
|
147 |
{"", ""}
|
|
148 |
};
|