QTfrontend/sdlkeys.cpp
changeset 14833 42346a67fba4
parent 14587 164ec37e9e4b
child 14845 6c51f74d80a8
equal deleted inserted replaced
14832:769189675b6c 14833:42346a67fba4
   112     {"keypad_/", QT_TRANSLATE_NOOP("binds (keys)", "Numpad /")},
   112     {"keypad_/", QT_TRANSLATE_NOOP("binds (keys)", "Numpad /")},
   113     {"keypad_*", QT_TRANSLATE_NOOP("binds (keys)", "Numpad *")},
   113     {"keypad_*", QT_TRANSLATE_NOOP("binds (keys)", "Numpad *")},
   114     {"keypad_-", QT_TRANSLATE_NOOP("binds (keys)", "Numpad -")},
   114     {"keypad_-", QT_TRANSLATE_NOOP("binds (keys)", "Numpad -")},
   115     {"keypad_+", QT_TRANSLATE_NOOP("binds (keys)", "Numpad +")},
   115     {"keypad_+", QT_TRANSLATE_NOOP("binds (keys)", "Numpad +")},
   116     {"enter", QT_TRANSLATE_NOOP("binds (keys)", "Enter")},
   116     {"enter", QT_TRANSLATE_NOOP("binds (keys)", "Enter")},
   117     {"equals", QT_TRANSLATE_NOOP("binds (keys)", "Equals")},
       
   118     {"up", QT_TRANSLATE_NOOP("binds (keys)", "Up")},
   117     {"up", QT_TRANSLATE_NOOP("binds (keys)", "Up")},
   119     {"down", QT_TRANSLATE_NOOP("binds (keys)", "Down")},
   118     {"down", QT_TRANSLATE_NOOP("binds (keys)", "Down")},
   120     {"right", QT_TRANSLATE_NOOP("binds (keys)", "Right")},
   119     {"right", QT_TRANSLATE_NOOP("binds (keys)", "Right")},
   121     {"left", QT_TRANSLATE_NOOP("binds (keys)", "Left")},
   120     {"left", QT_TRANSLATE_NOOP("binds (keys)", "Left")},
   122     {"insert", QT_TRANSLATE_NOOP("binds (keys)", "Insert")},
   121     {"insert", QT_TRANSLATE_NOOP("binds (keys)", "Insert")},
   123     {"home", QT_TRANSLATE_NOOP("binds (keys)", "Home")},
   122     {"home", QT_TRANSLATE_NOOP("binds (keys)", "Home")},
   124     {"end", QT_TRANSLATE_NOOP("binds (keys)", "End")},
   123     {"end", QT_TRANSLATE_NOOP("binds (keys)", "End")},
   125     {"page_up", QT_TRANSLATE_NOOP("binds (keys)", "Page up")},
   124     {"pageup", QT_TRANSLATE_NOOP("binds (keys)", "Page up")},
   126     {"page_down", QT_TRANSLATE_NOOP("binds (keys)", "Page down")},
   125     {"pagedown", QT_TRANSLATE_NOOP("binds (keys)", "Page down")},
   127     {"f1", "F1"},
   126     {"f1", "F1"},
   128     {"f2", "F2"},
   127     {"f2", "F2"},
   129     {"f3", "F3"},
   128     {"f3", "F3"},
   130     {"f4", "F4"},
   129     {"f4", "F4"},
   131     {"f5", "F5"},
   130     {"f5", "F5"},
   138     {"f12", "F12"},
   137     {"f12", "F12"},
   139     {"f13", "F13"},
   138     {"f13", "F13"},
   140     {"f14", "F14"},
   139     {"f14", "F14"},
   141     {"f15", "F15"},
   140     {"f15", "F15"},
   142     {"numlock", QT_TRANSLATE_NOOP("binds (keys)", "Num lock")},
   141     {"numlock", QT_TRANSLATE_NOOP("binds (keys)", "Num lock")},
   143     {"caps_lock", QT_TRANSLATE_NOOP("binds (keys)", "Caps lock")},
   142     {"capslock", QT_TRANSLATE_NOOP("binds (keys)", "Caps lock")},
   144     {"scroll_lock", QT_TRANSLATE_NOOP("binds (keys)", "Scroll lock")},
   143     {"scrolllock", QT_TRANSLATE_NOOP("binds (keys)", "Scroll lock")},
   145     {"right_shift", QT_TRANSLATE_NOOP("binds (keys)", "Right shift")},
   144     {"right_shift", QT_TRANSLATE_NOOP("binds (keys)", "Right shift")},
   146     {"left_shift", QT_TRANSLATE_NOOP("binds (keys)", "Left shift")},
   145     {"left_shift", QT_TRANSLATE_NOOP("binds (keys)", "Left shift")},
   147     {"right_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Right ctrl")},
   146     {"right_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Right ctrl")},
   148     {"left_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Left ctrl")},
   147     {"left_ctrl", QT_TRANSLATE_NOOP("binds (keys)", "Left ctrl")},
   149     {"right_alt", QT_TRANSLATE_NOOP("binds (keys)", "Right alt")},
   148     {"right_alt", QT_TRANSLATE_NOOP("binds (keys)", "Right alt")},
   150     {"left_alt", QT_TRANSLATE_NOOP("binds (keys)", "Left alt")},
   149     {"left_alt", QT_TRANSLATE_NOOP("binds (keys)", "Left alt")},
   151     {"right_meta", QT_TRANSLATE_NOOP("binds (keys)", "Right meta")},
   150 #if defined Q_OS_WIN
   152     {"left_meta", QT_TRANSLATE_NOOP("binds (keys)", "Left meta")}
   151     {"right_gui", QT_TRANSLATE_NOOP("binds (keys)", "Right Windows")},
       
   152     {"left_gui", QT_TRANSLATE_NOOP("binds (keys)", "Left Windows")}
       
   153 #elif defined Q_OS_MACOS
       
   154     {"right_gui", QT_TRANSLATE_NOOP("binds (keys)", "Right command")},
       
   155     {"left_gui", QT_TRANSLATE_NOOP("binds (keys)", "Left command")}
       
   156 #else
       
   157     {"right_gui", QT_TRANSLATE_NOOP("binds (keys)", "Right meta")},
       
   158     {"left_gui", QT_TRANSLATE_NOOP("binds (keys)", "Left meta")}
       
   159 #endif
   153 };
   160 };
   154 
   161 
   155 // button name definitions for Microsoft's XBox360 controller
   162 // button name definitions for Microsoft's XBox360 controller
   156 // don't modify button order!
   163 // don't modify button order!
   157 char xb360buttons[10][128] =
   164 char xb360buttons[10][128] =