AnnKeyCode.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <OIS.h>
10 
11 namespace Annwvyn
12 {
13  namespace KeyCode //maybe change that name...
14  {
17  enum code {
18  unassigned = OIS::KC_UNASSIGNED,
19  escape = OIS::KC_ESCAPE,
20  one = OIS::KC_1,
21  two = OIS::KC_2,
22  three = OIS::KC_3,
23  four = OIS::KC_4,
24  five = OIS::KC_5,
25  six = OIS::KC_6,
26  seven = OIS::KC_7,
27  eight = OIS::KC_8,
28  nine = OIS::KC_9,
29  zero = OIS::KC_0,
30  minus = OIS::KC_MINUS, // - on main keyboard
31  equals = OIS::KC_EQUALS,
32  back = OIS::KC_BACK, // backspace
33  tab = OIS::KC_TAB,
34  q = OIS::KC_Q,
35  w = OIS::KC_W,
36  e = OIS::KC_E,
37  r = OIS::KC_R,
38  t = OIS::KC_T,
39  y = OIS::KC_Y,
40  u = OIS::KC_U,
41  i = OIS::KC_I,
42  o = OIS::KC_O,
43  p = OIS::KC_P,
44  lbracket = OIS::KC_LBRACKET,
45  rbracket = OIS::KC_RBRACKET,
46  enter = OIS::KC_RETURN, // Enter on main keyboard
47  lcontrol = OIS::KC_LCONTROL,
48  a = OIS::KC_A,
49  s = OIS::KC_S,
50  d = OIS::KC_D,
51  f = OIS::KC_F,
52  g = OIS::KC_G,
53  h = OIS::KC_H,
54  j = OIS::KC_J,
55  k = OIS::KC_K,
56  l = OIS::KC_L,
57  semicolon = OIS::KC_SEMICOLON,
58  apostrofe = OIS::KC_APOSTROPHE,
59  grave = OIS::KC_GRAVE, // accent
60  lshift = OIS::KC_LSHIFT,
61  backslash = OIS::KC_BACKSLASH,
62  z = OIS::KC_Z,
63  x = OIS::KC_X,
64  c = OIS::KC_C,
65  v = OIS::KC_V,
66  b = OIS::KC_B,
67  n = OIS::KC_N,
68  m = OIS::KC_M,
69  comma = OIS::KC_COMMA,
70  period = OIS::KC_PERIOD, // . on main keyboard
71  slash = OIS::KC_SLASH, // / on main keyboard
72  rshift = OIS::KC_RSHIFT,
73  multiply = OIS::KC_MULTIPLY, // * on numeric keypad
74  lmenu = OIS::KC_LMENU, // left Alt
75  space = OIS::KC_SPACE,
76  capital = OIS::KC_CAPITAL,
77  f1 = OIS::KC_F1,
78  f2 = OIS::KC_F2,
79  f3 = OIS::KC_F3,
80  f4 = OIS::KC_F4,
81  f5 = OIS::KC_F5,
82  f6 = OIS::KC_F6,
83  f7 = OIS::KC_F7,
84  f8 = OIS::KC_F8,
85  f9 = OIS::KC_F9,
86  f10 = OIS::KC_F10,
87  numlock = OIS::KC_NUMLOCK,
88  scroll = OIS::KC_SCROLL, // Scroll Lock
89  num_seven = OIS::KC_NUMPAD7,
90  num_eight = OIS::KC_NUMPAD8,
91  num_nine = OIS::KC_NUMPAD9,
92  substract = OIS::KC_SUBTRACT, // - on numeric keypad
93  num_four = OIS::KC_NUMPAD4,
94  num_five = OIS::KC_NUMPAD5,
95  num_six = OIS::KC_NUMPAD6,
96  add = OIS::KC_ADD, // + on numeric keypad
97  num_one = OIS::KC_NUMPAD1,
98  num_two = OIS::KC_NUMPAD2,
99  num_three = OIS::KC_NUMPAD3,
100  num_zero = OIS::KC_NUMPAD0,
101  decimal = OIS::KC_DECIMAL, // . on numeric keypad
102  oem_102 = OIS::KC_OEM_102, // < > | on UK/Germany keyboards
103  f11 = OIS::KC_F11,
104  f12 = OIS::KC_F12,
105  f13 = OIS::KC_F13, // (NEC PC98)
106  f14 = OIS::KC_F14, // (NEC PC98)
107  f15 = OIS::KC_F15, // (NEC PC98)
108  kana = OIS::KC_KANA, // (Japanese keyboard)
109  anbt_c1 = OIS::KC_ABNT_C1, // / ? on Portuguese (Brazilian) keyboards
110  convert = OIS::KC_CONVERT, // (Japanese keyboard)
111  noconvert = OIS::KC_NOCONVERT, // (Japanese keyboard)
112  yen = OIS::KC_YEN, // (Japanese keyboard)
113  abnt_C2 = OIS::KC_ABNT_C2, // Numpad . on Portuguese (Brazilian) keyboards
114  num_equals = OIS::KC_NUMPADEQUALS, // = on numeric keypad (NEC PC98)
115  prevtrack = OIS::KC_PREVTRACK, // Previous Track (KC_CIRCUMFLEX on Japanese keyboard)
116  at = OIS::KC_AT, // (NEC PC98)
117  colon = OIS::KC_COLON, // (NEC PC98)
118  underline = OIS::KC_UNDERLINE, // (NEC PC98)
119  kanji = OIS::KC_KANJI, // (Japanese keyboard)
120  stop = OIS::KC_STOP, // (NEC PC98)
121  ax = OIS::KC_AX, // (Japan AX)
122  unlabeled = OIS::KC_UNLABELED, // (J3100)
123  nexttrack = OIS::KC_NEXTTRACK, // Next Track
124  num_enter = OIS::KC_NUMPADENTER, // Enter on numeric keypad
125  rcontrol = OIS::KC_RCONTROL,
126  mute = OIS::KC_MUTE, // Mute
127  calculator = OIS::KC_CALCULATOR, // Calculator
128  playpause = OIS::KC_PLAYPAUSE, // Play / Pause
129  mediastop = OIS::KC_MEDIASTOP, // Media Stop
130  volumedown = OIS::KC_VOLUMEDOWN, // Volume -
131  volumeup = OIS::KC_VOLUMEUP, // Volume +
132  webhome = OIS::KC_WEBHOME, // Web home
133  num_comma = OIS::KC_NUMPADCOMMA, // , on numeric keypad (NEC PC98)
134  divide = OIS::KC_DIVIDE, // / on numeric keypad
135  sysrq = OIS::KC_SYSRQ,
136  rmenu = OIS::KC_RMENU, // right Alt
137  pause = OIS::KC_PAUSE, // Pause
138  home = OIS::KC_HOME, // Home on arrow keypad
139  up = OIS::KC_UP, // UpArrow on arrow keypad
140  pageup = OIS::KC_PGUP, // PgUp on arrow keypad
141  left = OIS::KC_LEFT, // LeftArrow on arrow keypad
142  right = OIS::KC_RIGHT, // RightArrow on arrow keypad
143  end = OIS::KC_END, // End on arrow keypad
144  down = OIS::KC_DOWN, // DownArrow on arrow keypad
145  pagedown = OIS::KC_PGDOWN, // PgDn on arrow keypad
146  insert = OIS::KC_INSERT, // Insert on arrow keypad
147  del = OIS::KC_DELETE, // Delete on arrow keypad
148  lwin = OIS::KC_LWIN, // Left Windows key
149  rwin = OIS::KC_RWIN, // Right Windows key
150  apps = OIS::KC_APPS, // AppMenu key
151  power = OIS::KC_POWER, // System Power
152  sleep = OIS::KC_SLEEP, // System Sleep
153  wake = OIS::KC_WAKE, // System Wake
154  websearch = OIS::KC_WEBSEARCH, // Web Search
155  webfavorites = OIS::KC_WEBFAVORITES, // Web Favorites
156  webrefresh = OIS::KC_WEBREFRESH, // Web Refresh
157  webstop = OIS::KC_WEBSTOP, // Web Stop
158  webfoward = OIS::KC_WEBFORWARD, // Web Forward
159  webback = OIS::KC_WEBBACK, // Web Back
160  mycomputer = OIS::KC_MYCOMPUTER, // My Computer
161  mail = OIS::KC_MAIL, // Mail
162  mediaselect = OIS::KC_MEDIASELECT, // Media Select
164  };
165  }
166 }
Namespace containing the totality of Annwvyn components.
Definition: AnnGetter.cpp:8