Home
last modified time | relevance | path

Searched refs:publicKeys (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/glfw/src/
Dmir_init.c38 memset(_glfw.mir.publicKeys, -1, sizeof(_glfw.mir.publicKeys)); in createKeyTables()
40 _glfw.mir.publicKeys[KEY_GRAVE] = GLFW_KEY_GRAVE_ACCENT; in createKeyTables()
41 _glfw.mir.publicKeys[KEY_1] = GLFW_KEY_1; in createKeyTables()
42 _glfw.mir.publicKeys[KEY_2] = GLFW_KEY_2; in createKeyTables()
43 _glfw.mir.publicKeys[KEY_3] = GLFW_KEY_3; in createKeyTables()
44 _glfw.mir.publicKeys[KEY_4] = GLFW_KEY_4; in createKeyTables()
45 _glfw.mir.publicKeys[KEY_5] = GLFW_KEY_5; in createKeyTables()
46 _glfw.mir.publicKeys[KEY_6] = GLFW_KEY_6; in createKeyTables()
47 _glfw.mir.publicKeys[KEY_7] = GLFW_KEY_7; in createKeyTables()
48 _glfw.mir.publicKeys[KEY_8] = GLFW_KEY_8; in createKeyTables()
[all …]
Dwin32_init.c171 memset(_glfw.win32.publicKeys, -1, sizeof(_glfw.win32.publicKeys)); in createKeyTables()
174 _glfw.win32.publicKeys[0x00B] = GLFW_KEY_0; in createKeyTables()
175 _glfw.win32.publicKeys[0x002] = GLFW_KEY_1; in createKeyTables()
176 _glfw.win32.publicKeys[0x003] = GLFW_KEY_2; in createKeyTables()
177 _glfw.win32.publicKeys[0x004] = GLFW_KEY_3; in createKeyTables()
178 _glfw.win32.publicKeys[0x005] = GLFW_KEY_4; in createKeyTables()
179 _glfw.win32.publicKeys[0x006] = GLFW_KEY_5; in createKeyTables()
180 _glfw.win32.publicKeys[0x007] = GLFW_KEY_6; in createKeyTables()
181 _glfw.win32.publicKeys[0x008] = GLFW_KEY_7; in createKeyTables()
182 _glfw.win32.publicKeys[0x009] = GLFW_KEY_8; in createKeyTables()
[all …]
Dcocoa_init.m77 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;
[all …]
Dwl_init.c255 if (key < sizeof(_glfw.wl.publicKeys) / sizeof(_glfw.wl.publicKeys[0])) in toGLFWKeyCode()
256 return _glfw.wl.publicKeys[key]; in toGLFWKeyCode()
443 memset(_glfw.wl.publicKeys, -1, sizeof(_glfw.wl.publicKeys)); in createKeyTables()
445 _glfw.wl.publicKeys[KEY_GRAVE] = GLFW_KEY_GRAVE_ACCENT; in createKeyTables()
446 _glfw.wl.publicKeys[KEY_1] = GLFW_KEY_1; in createKeyTables()
447 _glfw.wl.publicKeys[KEY_2] = GLFW_KEY_2; in createKeyTables()
448 _glfw.wl.publicKeys[KEY_3] = GLFW_KEY_3; in createKeyTables()
449 _glfw.wl.publicKeys[KEY_4] = GLFW_KEY_4; in createKeyTables()
450 _glfw.wl.publicKeys[KEY_5] = GLFW_KEY_5; in createKeyTables()
451 _glfw.wl.publicKeys[KEY_6] = GLFW_KEY_6; in createKeyTables()
[all …]
Dx11_init.c235 memset(_glfw.x11.publicKeys, -1, sizeof(_glfw.x11.publicKeys)); in createKeyTables()
308 _glfw.x11.publicKeys[scancode] = key; in createKeyTables()
319 if (_glfw.x11.publicKeys[scancode] < 0) in createKeyTables()
320 _glfw.x11.publicKeys[scancode] = translateKeyCode(scancode); in createKeyTables()
323 if (_glfw.x11.publicKeys[scancode] > 0) in createKeyTables()
324 _glfw.x11.nativeKeys[_glfw.x11.publicKeys[scancode]] = scancode; in createKeyTables()
Dmir_platform.h110 short int publicKeys[256]; member
Dcocoa_platform.h99 short int publicKeys[256]; member
Dwl_platform.h132 short int publicKeys[256]; member
Dmir_window.c135 if (key < sizeof(_glfw.mir.publicKeys) / sizeof(_glfw.mir.publicKeys[0])) in toGLFWKeyCode()
136 return _glfw.mir.publicKeys[key]; in toGLFWKeyCode()
Dx11_platform.h152 short int publicKeys[256]; member
Dwin32_platform.h252 short int publicKeys[512]; member
Dcocoa_window.m169 if (key >= sizeof(_glfw.ns.publicKeys) / sizeof(_glfw.ns.publicKeys[0]))
172 return _glfw.ns.publicKeys[key];
1486 if (!_glfwIsPrintable(_glfw.ns.publicKeys[scancode]))
Dwin32_window.c388 return _glfw.win32.publicKeys[HIWORD(lParam) & 0x1FF]; in translateKey()
1497 if (!_glfwIsPrintable(_glfw.win32.publicKeys[scancode])) in _glfwPlatformGetKeyName()
Dx11_window.c206 return _glfw.x11.publicKeys[scancode]; in translateKey()
2169 if (!_glfwIsPrintable(_glfw.x11.publicKeys[scancode])) in _glfwPlatformGetKeyName()