root/projects/WinDictator/trunk/bin/typist/kbd_us.h

Revision 19, 2.8 kB (checked in by edsuom, 2 years ago)

Importing windictator into the global FOSS repo

Line 
1 /*
2  * 
3  *  Copyright (c) 2002 Steve Slaven, All Rights Reserved.
4  * 
5  *  This program is free software; you can redistribute it and/or
6  *  modify it under the terms of the GNU General Public License as
7  *  published by the Free Software Foundation; either version 2 of
8  *  the License, or (at your option) any later version.
9  * 
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  *  GNU General Public License for more details.
14  * 
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  *  MA 02111-1307 USA
19  *
20  *  Modified 2006 by Edwin A. Suominen for use in a keystroke-typing Python
21  *  extension
22  * 
23 */
24
25 /* Map for US keyboards */
26 #define KBDMAP "US"
27
28 /* The need shift thing is keymap dependent, it's:
29    char, needs_shit_key, x_token */
30 char *problems[] = { " ", NULL, "space",
31                      ":", "Shift_L", "colon",
32                      ";", NULL, "semicolon",
33                      "<", "Shift_L", "less",
34                      ">", "Shift_L", "greater",
35                      "?", "Shift_L", "question",
36                      "/", NULL, "slash",
37                      "+", "Shift_L", "plus",
38                      ",", NULL, "comma",
39                      "-", NULL, "minus",
40                      ".", NULL, "period",
41                      "!", "Shift_L", "exclam",
42                      "#", "Shift_L", "number",
43                      "$", "Shift_L", "dollar",
44                      "%", "Shift_L", "percent",
45                      "&", "Shift_L", "ampersand",
46                      "(", "Shift_L", "parenleft",
47                      ")", "Shift_L", "parenright",
48                      "{", "Shift_L", "braceleft",
49                      "}", "Shift_L", "braceright",
50                      "|", "Shift_L", "bar",
51                      "~", "Shift_L", "asciitilde",
52                      "'", NULL, "apostrophe",
53                      "*", "Shift_L", "asterisk",
54                      "=", NULL, "equal",
55                      "[", NULL, "bracketleft",
56                      "]", NULL, "bracketright",
57                      "_", "Shift_L", "underscore",
58                      "`", NULL, "grave",
59                      "@", "Shift_L", "at",
60                      "A", "Shift_L", "A",
61                      "B", "Shift_L", "B",
62                      "C", "Shift_L", "C",
63                      "D", "Shift_L", "D",
64                      "E", "Shift_L", "E",
65                      "F", "Shift_L", "F",
66                      "G", "Shift_L", "G",
67                      "H", "Shift_L", "H",
68                      "I", "Shift_L", "I",
69                      "J", "Shift_L", "J",
70                      "K", "Shift_L", "K",
71                      "L", "Shift_L", "L",
72                      "M", "Shift_L", "M",
73                      "N", "Shift_L", "N",
74                      "O", "Shift_L", "O",
75                      "P", "Shift_L", "P",
76                      "Q", "Shift_L", "Q",
77                      "R", "Shift_L", "R",
78                      "S", "Shift_L", "S",
79                      "T", "Shift_L", "T",
80                      "U", "Shift_L", "U",
81                      "V", "Shift_L", "V",
82                      "W", "Shift_L", "W",
83                      "X", "Shift_L", "X",
84                      "Y", "Shift_L", "Y",
85                      "Z", "Shift_L", "Z",
86                      "\"", "Shift_L", "quote",
87                      "\t", NULL, "tab",
88                      "\\", NULL, "backslash",
89                      NULL, NULL, NULL };
Note: See TracBrowser for help on using the browser.