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