QTfrontend/sdlkeys.h
author nemo
Tue, 16 Feb 2010 02:23:12 +0000
changeset 2818 df7ec369992b
parent 2428 6800f8aa0184
child 2948 3f21a9dc93d0
permissions -rw-r--r--
Should be equivalent, but in any case, not needed
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
2428
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    19
char sdlkeys[1024][2][128] = {
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    20
	{"mousel", QT_TRANSLATE_NOOP("binds (keys)", "Mouse: Left button")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    21
	{"mousem", QT_TRANSLATE_NOOP("binds (keys)", "Mouse: Middle button")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    22
	{"mouser", QT_TRANSLATE_NOOP("binds (keys)", "Mouse: Right button")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    23
	{"wheelup", QT_TRANSLATE_NOOP("binds (keys)", "Mouse: Wheel up")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    24
	{"wheeldown", QT_TRANSLATE_NOOP("binds (keys)", "Mouse: Wheel down")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    25
	{"backspace", QT_TRANSLATE_NOOP("binds (keys)", "Backspace")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    26
	{"tab", QT_TRANSLATE_NOOP("binds (keys)", "Tab")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    27
	{"clear", QT_TRANSLATE_NOOP("binds (keys)", "Clear")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    28
	{"return", QT_TRANSLATE_NOOP("binds (keys)", "Return")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    29
	{"pause", QT_TRANSLATE_NOOP("binds (keys)", "Pause")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    30
	{"escape", QT_TRANSLATE_NOOP("binds (keys)", "Escape")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    31
	{"space", QT_TRANSLATE_NOOP("binds (keys)", "Space")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    32
	{"!", "!"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    33
	{"\"", "\""},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    34
	{"#", "#"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    35
	{"$", "$"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    36
	{"&", "&"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    37
	{"'", "'"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    38
	{"(", "("},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    39
	{")", ")"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    40
	{"*", "*"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    41
	{"+", "+"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    42
	{", ", ", "},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    43
	{"-", "-"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    44
	{".", "."},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    45
	{"/", "/"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    46
	{"0", "0"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    47
	{"1", "1"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    48
	{"2", "2"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    49
	{"3", "3"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    50
	{"4", "4"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    51
	{"5", "5"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    52
	{"6", "6"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    53
	{"7", "7"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    54
	{"8", "8"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    55
	{"9", "9"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    56
	{":", ":"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    57
	{";", ";"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    58
	{"<", "<"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    59
	{"=", "="},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    60
	{">", ">"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    61
	{"?", "?"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    62
	{"@", "@"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    63
	{"[", "["},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    64
	{"\\", "\\"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    65
	{"]", "]"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    66
	{"^", "^"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    67
	{"_", "_"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    68
	{"`", "`"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    69
	{"a", "A"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    70
	{"b", "B"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    71
	{"c", "C"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    72
	{"d", "D"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    73
	{"e", "E"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    74
	{"f", "F"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    75
	{"g", "G"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    76
	{"h", "H"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    77
	{"i", "I"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    78
	{"j", "J"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    79
	{"k", "K"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    80
	{"l", "L"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    81
	{"m", "M"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    82
	{"n", "N"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    83
	{"o", "O"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    84
	{"p", "P"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    85
	{"q", "Q"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    86
	{"r", "R"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    87
	{"s", "S"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    88
	{"t", "T"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    89
	{"u", "U"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    90
	{"v", "V"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    91
	{"w", "W"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    92
	{"x", "X"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    93
	{"y", "Y"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    94
	{"z", "Z"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    95
	{"delete", QT_TRANSLATE_NOOP("binds (keys)", "Delete")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    96
	{"[0]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 0")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    97
	{"[1]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 1")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    98
	{"[2]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 2")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
    99
	{"[3]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 3")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   100
	{"[4]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 4")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   101
	{"[5]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 5")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   102
	{"[6]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 6")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   103
	{"[7]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 7")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   104
	{"[8]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 8")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   105
	{"[9]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad 9")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   106
	{"[.]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad .")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   107
	{"[/]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad /")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   108
	{"[*]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad *")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   109
	{"[-]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad -")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   110
	{"[+]", QT_TRANSLATE_NOOP("binds (keys)", "Numpad +")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   111
	{"enter", QT_TRANSLATE_NOOP("binds (keys)", "Enter")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   112
	{"equals", QT_TRANSLATE_NOOP("binds (keys)", "Equals")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   113
	{"up", QT_TRANSLATE_NOOP("binds (keys)", "Up")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   114
	{"down", QT_TRANSLATE_NOOP("binds (keys)", "Down")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   115
	{"right", QT_TRANSLATE_NOOP("binds (keys)", "Right")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   116
	{"left", QT_TRANSLATE_NOOP("binds (keys)", "Left")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   117
	{"insert", QT_TRANSLATE_NOOP("binds (keys)", "Insert")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   118
	{"home", QT_TRANSLATE_NOOP("binds (keys)", "Home")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   119
	{"end", QT_TRANSLATE_NOOP("binds (keys)", "End")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   120
	{"page up", QT_TRANSLATE_NOOP("binds (keys)", "Page up")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   121
	{"page down", QT_TRANSLATE_NOOP("binds (keys)", "Page down")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   122
	{"f1", "F1"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   123
	{"f2", "F2"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   124
	{"f3", "F3"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   125
	{"f4", "F4"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   126
	{"f5", "F5"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   127
	{"f6", "F6"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   128
	{"f7", "F7"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   129
	{"f8", "F8"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   130
	{"f9", "F9"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   131
	{"f10", "F10"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   132
	{"f11", "F11"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   133
	{"f12", "F12"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   134
	{"f13", "F13"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   135
	{"f14", "F14"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   136
	{"f15", "F15"},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   137
	{"numlock", QT_TRANSLATE_NOOP("binds (keys)", "Num lock")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   138
	{"caps_lock", QT_TRANSLATE_NOOP("binds (keys)", "Caps lock")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   139
	{"scroll_lock", QT_TRANSLATE_NOOP("binds (keys)", "Scroll lock")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   140
	{"right_shift", QT_TRANSLATE_NOOP("binds (keys)", "Right shift")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   141
	{"left_shift", QT_TRANSLATE_NOOP("binds (keys)", "Left shift")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   142
	{"right_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Right ctrl")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   143
	{"left_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Left ctrl")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   144
	{"right_alt", QT_TRANSLATE_NOOP("binds (keys)", "Right alt")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   145
	{"left_alt", QT_TRANSLATE_NOOP("binds (keys)", "Left alt")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   146
	{"right_meta", QT_TRANSLATE_NOOP("binds (keys)", "Right meta")},
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   147
	{"left_meta", QT_TRANSLATE_NOOP("binds (keys)", "Left meta")}
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   148
	};
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   149
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   150
// button name definitions for Microsoft's XBox360 controller
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   151
// don't modify button order!
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   152
char xb360buttons[][128] = {
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   153
	QT_TRANSLATE_NOOP("binds (keys)", "A button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   154
	QT_TRANSLATE_NOOP("binds (keys)", "B button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   155
	QT_TRANSLATE_NOOP("binds (keys)", "X button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   156
	QT_TRANSLATE_NOOP("binds (keys)", "Y button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   157
	QT_TRANSLATE_NOOP("binds (keys)", "LB button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   158
	QT_TRANSLATE_NOOP("binds (keys)", "RB button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   159
	QT_TRANSLATE_NOOP("binds (keys)", "Back button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   160
	QT_TRANSLATE_NOOP("binds (keys)", "Start button"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   161
	QT_TRANSLATE_NOOP("binds (keys)", "Left stick"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   162
	QT_TRANSLATE_NOOP("binds (keys)", "Right stick")
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 183
diff changeset
   163
};
2428
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   164
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   165
// axis name definitions for Microsoft's XBox360 controller
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   166
// don't modify axis order!
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   167
char xbox360axes[][128] = {
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   168
	QT_TRANSLATE_NOOP("binds (keys)", "Left stick (Right)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   169
	QT_TRANSLATE_NOOP("binds (keys)", "Left stick (Left)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   170
	QT_TRANSLATE_NOOP("binds (keys)", "Left stick (Down)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   171
	QT_TRANSLATE_NOOP("binds (keys)", "Left stick (Up)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   172
	QT_TRANSLATE_NOOP("binds (keys)", "Left trigger"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   173
	QT_TRANSLATE_NOOP("binds (keys)", "Right trigger"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   174
	QT_TRANSLATE_NOOP("binds (keys)", "Right stick (Down)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   175
	QT_TRANSLATE_NOOP("binds (keys)", "Right stick (Up)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   176
	QT_TRANSLATE_NOOP("binds (keys)", "Right stick (Right)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   177
	QT_TRANSLATE_NOOP("binds (keys)", "Right stick (Left)"),
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   178
};
6800f8aa0184 Huge Smaxx patch with some fixes by me:
unc0rr
parents: 2379
diff changeset
   179
char xb360dpad[128] = QT_TRANSLATE_NOOP("binds (keys)", "DPad");