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