QTfrontend/sdlkeys.h
author unc0rr
Sat, 23 Sep 2006 19:26:07 +0000
changeset 161 d8870bbf960e
parent 21 dff476dcaaa3
child 183 57c2ef19f719
permissions -rw-r--r--
- AmmoMenu - Many small fixes

/*
 * Hedgewars, a worms-like game
 * Copyright (c) 2005 Andrey Korotaev <unC0Rr@gmail.com>
 *
 * Distributed under the terms of the BSD-modified licence:
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * with the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

char sdlkeys[][2][16] = 
{
	{"mousel",	"mousel"},
	{"mousem",	"mousem"},
	{"mouser",	"mouser"},
	{"backspace",	"backspace"},
	{"tab",	"tab"},
	{"clear",	"clear"},
	{"return",	"return"},
	{"pause",	"pause"},
	{"escape",	"escape"},
	{"space",	"space"},
	{"!",	"!"},
	{"\"",	"\""},
	{"#",	"#"},
	{"$",	"$"},
	{"&",	"&"},
	{"'",	"'"},
	{"(",	"("},
	{")",	")"},
	{"*",	"*"},
	{"+",	"+"},
	{",",	","},
	{"-",	"-"},
	{".",	"."},
	{"/",	"/"},
	{"0",	"0"},
	{"1",	"1"},
	{"2",	"2"},
	{"3",	"3"},
	{"4",	"4"},
	{"5",	"5"},
	{"6",	"6"},
	{"7",	"7"},
	{"8",	"8"},
	{"9",	"9"},
	{":",	":"},
	{";",	";"},
	{"<",	"<"},
	{"=",	"="},
	{">",	">"},
	{"?",	"?"},
	{"@",	"@"},
	{"[",	"["},
	{"\\",	"\\"},
	{"]",	"]"},
	{"^",	"^"},
	{"_",	"_"},
	{"`",	"`"},
	{"a",	"a"},
	{"b",	"b"},
	{"c",	"c"},
	{"d",	"d"},
	{"e",	"e"},
	{"f",	"f"},
	{"g",	"g"},
	{"h",	"h"},
	{"i",	"i"},
	{"j",	"j"},
	{"k",	"k"},
	{"l",	"l"},
	{"m",	"m"},
	{"n",	"n"},
	{"o",	"o"},
	{"p",	"p"},
	{"q",	"q"},
	{"r",	"r"},
	{"s",	"s"},
	{"t",	"t"},
	{"u",	"u"},
	{"v",	"v"},
	{"w",	"w"},
	{"x",	"x"},
	{"y",	"y"},
	{"z",	"z"},
	{"delete",	"delete"},
	{"[0]",	"[0]"},
	{"[1]",	"[1]"},
	{"[2]",	"[2]"},
	{"[3]",	"[3]"},
	{"[4]",	"[4]"},
	{"[5]",	"[5]"},
	{"[6]",	"[6]"},
	{"[7]",	"[7]"},
	{"[8]",	"[8]"},
	{"[9]",	"[9]"},
	{"[.]",	"[.]"},
	{"[/]",	"[/]"},
	{"[*]",	"[*]"},
	{"[-]",	"[-]"},
	{"[+]",	"[+]"},
	{"enter",	"enter"},
	{"equals",	"equals"},
	{"up",	"up"},
	{"down",	"down"},
	{"right",	"right"},
	{"left",	"left"},
	{"insert",	"insert"},
	{"home",	"home"},
	{"end",	"end"},
	{"page up",	"page up"},
	{"page down",	"page down"},
	{"f1",	"f1"},
	{"f2",	"f2"},
	{"f3",	"f3"},
	{"f4",	"f4"},
	{"f5",	"f5"},
	{"f6",	"f6"},
	{"f7",	"f7"},
	{"f8",	"f8"},
	{"f9",	"f9"},
	{"f10",	"f10"},
	{"f11",	"f11"},
	{"f12",	"f12"},
	{"f13",	"f13"},
	{"f14",	"f14"},
	{"f15",	"f15"},
	{"numlock",	"numlock"},
	{"caps_lock",	"caps_lock"},
	{"scroll_lock",	"scroll_lock"},
	{"right_shift",	"right_shift"},
	{"left_shift",	"left_shift"},
	{"right_ctrl",	"right_ctrl"},
	{"left_ctrl",	"left_ctrl"},
	{"right_alt",	"right_alt"},
	{"left_alt",	"left_alt"},
	{"right_meta",	"right_meta"},
	{"left_meta",	"left_meta"},
	{"", ""}
};