• Home
  • Raw
  • Download

Lines Matching refs:publicKeys

77     memset(_glfw.ns.publicKeys, -1, sizeof(_glfw.ns.publicKeys));
80 _glfw.ns.publicKeys[0x1D] = GLFW_KEY_0;
81 _glfw.ns.publicKeys[0x12] = GLFW_KEY_1;
82 _glfw.ns.publicKeys[0x13] = GLFW_KEY_2;
83 _glfw.ns.publicKeys[0x14] = GLFW_KEY_3;
84 _glfw.ns.publicKeys[0x15] = GLFW_KEY_4;
85 _glfw.ns.publicKeys[0x17] = GLFW_KEY_5;
86 _glfw.ns.publicKeys[0x16] = GLFW_KEY_6;
87 _glfw.ns.publicKeys[0x1A] = GLFW_KEY_7;
88 _glfw.ns.publicKeys[0x1C] = GLFW_KEY_8;
89 _glfw.ns.publicKeys[0x19] = GLFW_KEY_9;
90 _glfw.ns.publicKeys[0x00] = GLFW_KEY_A;
91 _glfw.ns.publicKeys[0x0B] = GLFW_KEY_B;
92 _glfw.ns.publicKeys[0x08] = GLFW_KEY_C;
93 _glfw.ns.publicKeys[0x02] = GLFW_KEY_D;
94 _glfw.ns.publicKeys[0x0E] = GLFW_KEY_E;
95 _glfw.ns.publicKeys[0x03] = GLFW_KEY_F;
96 _glfw.ns.publicKeys[0x05] = GLFW_KEY_G;
97 _glfw.ns.publicKeys[0x04] = GLFW_KEY_H;
98 _glfw.ns.publicKeys[0x22] = GLFW_KEY_I;
99 _glfw.ns.publicKeys[0x26] = GLFW_KEY_J;
100 _glfw.ns.publicKeys[0x28] = GLFW_KEY_K;
101 _glfw.ns.publicKeys[0x25] = GLFW_KEY_L;
102 _glfw.ns.publicKeys[0x2E] = GLFW_KEY_M;
103 _glfw.ns.publicKeys[0x2D] = GLFW_KEY_N;
104 _glfw.ns.publicKeys[0x1F] = GLFW_KEY_O;
105 _glfw.ns.publicKeys[0x23] = GLFW_KEY_P;
106 _glfw.ns.publicKeys[0x0C] = GLFW_KEY_Q;
107 _glfw.ns.publicKeys[0x0F] = GLFW_KEY_R;
108 _glfw.ns.publicKeys[0x01] = GLFW_KEY_S;
109 _glfw.ns.publicKeys[0x11] = GLFW_KEY_T;
110 _glfw.ns.publicKeys[0x20] = GLFW_KEY_U;
111 _glfw.ns.publicKeys[0x09] = GLFW_KEY_V;
112 _glfw.ns.publicKeys[0x0D] = GLFW_KEY_W;
113 _glfw.ns.publicKeys[0x07] = GLFW_KEY_X;
114 _glfw.ns.publicKeys[0x10] = GLFW_KEY_Y;
115 _glfw.ns.publicKeys[0x06] = GLFW_KEY_Z;
117 _glfw.ns.publicKeys[0x27] = GLFW_KEY_APOSTROPHE;
118 _glfw.ns.publicKeys[0x2A] = GLFW_KEY_BACKSLASH;
119 _glfw.ns.publicKeys[0x2B] = GLFW_KEY_COMMA;
120 _glfw.ns.publicKeys[0x18] = GLFW_KEY_EQUAL;
121 _glfw.ns.publicKeys[0x32] = GLFW_KEY_GRAVE_ACCENT;
122 _glfw.ns.publicKeys[0x21] = GLFW_KEY_LEFT_BRACKET;
123 _glfw.ns.publicKeys[0x1B] = GLFW_KEY_MINUS;
124 _glfw.ns.publicKeys[0x2F] = GLFW_KEY_PERIOD;
125 _glfw.ns.publicKeys[0x1E] = GLFW_KEY_RIGHT_BRACKET;
126 _glfw.ns.publicKeys[0x29] = GLFW_KEY_SEMICOLON;
127 _glfw.ns.publicKeys[0x2C] = GLFW_KEY_SLASH;
128 _glfw.ns.publicKeys[0x0A] = GLFW_KEY_WORLD_1;
130 _glfw.ns.publicKeys[0x33] = GLFW_KEY_BACKSPACE;
131 _glfw.ns.publicKeys[0x39] = GLFW_KEY_CAPS_LOCK;
132 _glfw.ns.publicKeys[0x75] = GLFW_KEY_DELETE;
133 _glfw.ns.publicKeys[0x7D] = GLFW_KEY_DOWN;
134 _glfw.ns.publicKeys[0x77] = GLFW_KEY_END;
135 _glfw.ns.publicKeys[0x24] = GLFW_KEY_ENTER;
136 _glfw.ns.publicKeys[0x35] = GLFW_KEY_ESCAPE;
137 _glfw.ns.publicKeys[0x7A] = GLFW_KEY_F1;
138 _glfw.ns.publicKeys[0x78] = GLFW_KEY_F2;
139 _glfw.ns.publicKeys[0x63] = GLFW_KEY_F3;
140 _glfw.ns.publicKeys[0x76] = GLFW_KEY_F4;
141 _glfw.ns.publicKeys[0x60] = GLFW_KEY_F5;
142 _glfw.ns.publicKeys[0x61] = GLFW_KEY_F6;
143 _glfw.ns.publicKeys[0x62] = GLFW_KEY_F7;
144 _glfw.ns.publicKeys[0x64] = GLFW_KEY_F8;
145 _glfw.ns.publicKeys[0x65] = GLFW_KEY_F9;
146 _glfw.ns.publicKeys[0x6D] = GLFW_KEY_F10;
147 _glfw.ns.publicKeys[0x67] = GLFW_KEY_F11;
148 _glfw.ns.publicKeys[0x6F] = GLFW_KEY_F12;
149 _glfw.ns.publicKeys[0x69] = GLFW_KEY_F13;
150 _glfw.ns.publicKeys[0x6B] = GLFW_KEY_F14;
151 _glfw.ns.publicKeys[0x71] = GLFW_KEY_F15;
152 _glfw.ns.publicKeys[0x6A] = GLFW_KEY_F16;
153 _glfw.ns.publicKeys[0x40] = GLFW_KEY_F17;
154 _glfw.ns.publicKeys[0x4F] = GLFW_KEY_F18;
155 _glfw.ns.publicKeys[0x50] = GLFW_KEY_F19;
156 _glfw.ns.publicKeys[0x5A] = GLFW_KEY_F20;
157 _glfw.ns.publicKeys[0x73] = GLFW_KEY_HOME;
158 _glfw.ns.publicKeys[0x72] = GLFW_KEY_INSERT;
159 _glfw.ns.publicKeys[0x7B] = GLFW_KEY_LEFT;
160 _glfw.ns.publicKeys[0x3A] = GLFW_KEY_LEFT_ALT;
161 _glfw.ns.publicKeys[0x3B] = GLFW_KEY_LEFT_CONTROL;
162 _glfw.ns.publicKeys[0x38] = GLFW_KEY_LEFT_SHIFT;
163 _glfw.ns.publicKeys[0x37] = GLFW_KEY_LEFT_SUPER;
164 _glfw.ns.publicKeys[0x6E] = GLFW_KEY_MENU;
165 _glfw.ns.publicKeys[0x47] = GLFW_KEY_NUM_LOCK;
166 _glfw.ns.publicKeys[0x79] = GLFW_KEY_PAGE_DOWN;
167 _glfw.ns.publicKeys[0x74] = GLFW_KEY_PAGE_UP;
168 _glfw.ns.publicKeys[0x7C] = GLFW_KEY_RIGHT;
169 _glfw.ns.publicKeys[0x3D] = GLFW_KEY_RIGHT_ALT;
170 _glfw.ns.publicKeys[0x3E] = GLFW_KEY_RIGHT_CONTROL;
171 _glfw.ns.publicKeys[0x3C] = GLFW_KEY_RIGHT_SHIFT;
172 _glfw.ns.publicKeys[0x36] = GLFW_KEY_RIGHT_SUPER;
173 _glfw.ns.publicKeys[0x31] = GLFW_KEY_SPACE;
174 _glfw.ns.publicKeys[0x30] = GLFW_KEY_TAB;
175 _glfw.ns.publicKeys[0x7E] = GLFW_KEY_UP;
177 _glfw.ns.publicKeys[0x52] = GLFW_KEY_KP_0;
178 _glfw.ns.publicKeys[0x53] = GLFW_KEY_KP_1;
179 _glfw.ns.publicKeys[0x54] = GLFW_KEY_KP_2;
180 _glfw.ns.publicKeys[0x55] = GLFW_KEY_KP_3;
181 _glfw.ns.publicKeys[0x56] = GLFW_KEY_KP_4;
182 _glfw.ns.publicKeys[0x57] = GLFW_KEY_KP_5;
183 _glfw.ns.publicKeys[0x58] = GLFW_KEY_KP_6;
184 _glfw.ns.publicKeys[0x59] = GLFW_KEY_KP_7;
185 _glfw.ns.publicKeys[0x5B] = GLFW_KEY_KP_8;
186 _glfw.ns.publicKeys[0x5C] = GLFW_KEY_KP_9;
187 _glfw.ns.publicKeys[0x45] = GLFW_KEY_KP_ADD;
188 _glfw.ns.publicKeys[0x41] = GLFW_KEY_KP_DECIMAL;
189 _glfw.ns.publicKeys[0x4B] = GLFW_KEY_KP_DIVIDE;
190 _glfw.ns.publicKeys[0x4C] = GLFW_KEY_KP_ENTER;
191 _glfw.ns.publicKeys[0x51] = GLFW_KEY_KP_EQUAL;
192 _glfw.ns.publicKeys[0x43] = GLFW_KEY_KP_MULTIPLY;
193 _glfw.ns.publicKeys[0x4E] = GLFW_KEY_KP_SUBTRACT;
198 if (_glfw.ns.publicKeys[scancode] >= 0)
199 _glfw.ns.nativeKeys[_glfw.ns.publicKeys[scancode]] = scancode;