File: wiikeysyms.h

package info (click to toggle)
fuse-emulator 1.0.0.1a%2Bdfsg1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 9,568 kB
  • sloc: ansic: 67,895; sh: 10,265; perl: 3,386; makefile: 787; yacc: 227; lex: 139
file content (113 lines) | stat: -rw-r--r-- 2,224 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* wiikeysyms.h: routines for dealing with the Wii USB keyboard
   Copyright (c) 2008-2009 Bjoern Giesler, Philip Kendall

   $Id: wiikeysyms.h 3945 2009-01-10 18:44:42Z zubzero $

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

   Author contact information:

   E-mail: bjoern@giesler.de

*/

#ifndef FUSE_WIIKEYSYMS_H
#define FUSE_WIIKEYSYMS_H

/* definitions taken from http://wiibrew.org/wiki//dev/usb/kbd */

enum {

  WII_KEY_A = 0x04,
  WII_KEY_B,
  WII_KEY_C,
  WII_KEY_D,
  WII_KEY_E,
  WII_KEY_F,
  WII_KEY_G,
  WII_KEY_H,
  WII_KEY_I,
  WII_KEY_J,
  WII_KEY_K,
  WII_KEY_L,
  WII_KEY_M,
  WII_KEY_N,
  WII_KEY_O,
  WII_KEY_P,
  WII_KEY_Q,
  WII_KEY_R,
  WII_KEY_S,
  WII_KEY_T,
  WII_KEY_U,
  WII_KEY_V,
  WII_KEY_W,
  WII_KEY_X,
  WII_KEY_Y,
  WII_KEY_Z,

  WII_KEY_1,
  WII_KEY_2,
  WII_KEY_3,
  WII_KEY_4,
  WII_KEY_5,
  WII_KEY_6,
  WII_KEY_7,
  WII_KEY_8,
  WII_KEY_9,
  WII_KEY_0,

  WII_KEY_RETURN,
  WII_KEY_ESCAPE,
  WII_KEY_BACKSPACE,
  WII_KEY_TAB,
  WII_KEY_SPACE,
  WII_KEY_MINUS,
  WII_KEY_EQUAL,

  WII_KEY_SEMICOLON = 0x33,
  WII_KEY_APOSTROPHE,

  WII_KEY_COMMA = 0x36,
  WII_KEY_PERIOD,
  WII_KEY_SLASH,

  WII_KEY_CAPS_LOCK = 0x39,
  WII_KEY_F1,
  WII_KEY_F2,
  WII_KEY_F3,
  WII_KEY_F4,
  WII_KEY_F5,
  WII_KEY_F6,
  WII_KEY_F7,
  WII_KEY_F8,
  WII_KEY_F9,
  WII_KEY_F10,
  WII_KEY_F11,
  WII_KEY_F12,

  WII_KEY_INSERT = 0x49,
  WII_KEY_HOME,
  WII_KEY_PAGE_UP,
  WII_KEY_DELETE,
  WII_KEY_END,
  WII_KEY_PAGE_DOWN,
  WII_KEY_RIGHT,
  WII_KEY_LEFT,
  WII_KEY_DOWN,
  WII_KEY_UP,

};

#endif			/* #ifndef FUSE_WIIKEYSYMS_H */