Home
last modified time | relevance | path

Searched refs:keysym (Results 1 – 25 of 70) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DimKStoUCS.c297 X11_KeySymToUcs4(KeySym keysym) in X11_KeySymToUcs4() argument
300 if ((keysym & 0xff000000) == 0x01000000) in X11_KeySymToUcs4()
301 return (keysym & 0x00ffffff); in X11_KeySymToUcs4()
303 if (keysym > 0 && keysym < 0x100) in X11_KeySymToUcs4()
304 return keysym; in X11_KeySymToUcs4()
305 else if (keysym > 0x1a0 && keysym < 0x200) in X11_KeySymToUcs4()
306 return keysym_to_unicode_1a1_1ff[keysym - 0x1a1]; in X11_KeySymToUcs4()
307 else if (keysym > 0x2a0 && keysym < 0x2ff) in X11_KeySymToUcs4()
308 return keysym_to_unicode_2a1_2fe[keysym - 0x2a1]; in X11_KeySymToUcs4()
309 else if (keysym > 0x3a1 && keysym < 0x3ff) in X11_KeySymToUcs4()
[all …]
DSDL_x11keyboard.c38 KeySym keysym; member
165 KeySym keysym; in X11_KeyCodeToSDLScancode() local
168 keysym = X11_KeyCodeToSym(_this, keycode, 0); in X11_KeyCodeToSDLScancode()
169 if (keysym == NoSymbol) { in X11_KeyCodeToSDLScancode()
173 if (keysym >= XK_a && keysym <= XK_z) { in X11_KeyCodeToSDLScancode()
174 return SDL_SCANCODE_A + (keysym - XK_a); in X11_KeyCodeToSDLScancode()
176 if (keysym >= XK_A && keysym <= XK_Z) { in X11_KeyCodeToSDLScancode()
177 return SDL_SCANCODE_A + (keysym - XK_A); in X11_KeyCodeToSDLScancode()
180 if (keysym == XK_0) { in X11_KeyCodeToSDLScancode()
183 if (keysym >= XK_1 && keysym <= XK_9) { in X11_KeyCodeToSDLScancode()
[all …]
DimKStoUCS.h30 extern unsigned int X11_KeySymToUcs4(KeySym keysym);
/third_party/flutter/glfw/src/
Dxkb_unicode.c68 unsigned short keysym; member
857 long _glfwKeySym2Unicode(unsigned int keysym) in _glfwKeySym2Unicode() argument
864 if ((keysym >= 0x0020 && keysym <= 0x007e) || in _glfwKeySym2Unicode()
865 (keysym >= 0x00a0 && keysym <= 0x00ff)) in _glfwKeySym2Unicode()
867 return keysym; in _glfwKeySym2Unicode()
871 if ((keysym & 0xff000000) == 0x01000000) in _glfwKeySym2Unicode()
872 return keysym & 0x00ffffff; in _glfwKeySym2Unicode()
878 if (keysymtab[mid].keysym < keysym) in _glfwKeySym2Unicode()
880 else if (keysymtab[mid].keysym > keysym) in _glfwKeySym2Unicode()
Dxkb_unicode.h31 long _glfwKeySym2Unicode(unsigned int keysym);
/third_party/flutter/skia/tools/sk_app/unix/
Dkeysym2ucs.c40 unsigned short keysym; member
818 long keysym2ucs(KeySym keysym) in keysym2ucs() argument
825 if ((keysym >= 0x0020 && keysym <= 0x007e) || in keysym2ucs()
826 (keysym >= 0x00a0 && keysym <= 0x00ff)) in keysym2ucs()
827 return keysym; in keysym2ucs()
830 if ((keysym & 0xff000000) == 0x01000000) in keysym2ucs()
831 return keysym & 0x00ffffff; in keysym2ucs()
836 if (keysymtab[mid].keysym < keysym) in keysym2ucs()
838 else if (keysymtab[mid].keysym > keysym) in keysym2ucs()
DWindow_unix.cpp193 static Window::Key get_key(KeySym keysym) { in get_key() argument
226 if (gPair[i].fXK == keysym) { in get_key()
296 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, 0, shiftLevel); in handleEvent() local
297 Window::Key key = get_key(keysym); in handleEvent()
300 if (keysym == XK_Escape) { in handleEvent()
306 long uni = keysym2ucs(keysym); in handleEvent()
314 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, in handleEvent() local
316 Window::Key key = get_key(keysym); in handleEvent()
Dkeysym2ucs.h14 long keysym2ucs(KeySym keysym);
/third_party/skia/tools/sk_app/unix/
Dkeysym2ucs.c40 unsigned short keysym; member
818 long keysym2ucs(KeySym keysym) in keysym2ucs() argument
825 if ((keysym >= 0x0020 && keysym <= 0x007e) || in keysym2ucs()
826 (keysym >= 0x00a0 && keysym <= 0x00ff)) in keysym2ucs()
827 return keysym; in keysym2ucs()
830 if ((keysym & 0xff000000) == 0x01000000) in keysym2ucs()
831 return keysym & 0x00ffffff; in keysym2ucs()
836 if (keysymtab[mid].keysym < keysym) in keysym2ucs()
838 else if (keysymtab[mid].keysym > keysym) in keysym2ucs()
DWindow_unix.cpp194 static skui::Key get_key(KeySym keysym) { in get_key() argument
227 if (gPair[i].fXK == keysym) { in get_key()
297 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, 0, shiftLevel); in handleEvent() local
298 skui::Key key = get_key(keysym); in handleEvent()
301 if (keysym == XK_Escape) { in handleEvent()
307 long uni = keysym2ucs(keysym); in handleEvent()
315 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, in handleEvent() local
317 skui::Key key = get_key(keysym); in handleEvent()
Dkeysym2ucs.h14 long keysym2ucs(KeySym keysym);
/third_party/python/Lib/idlelib/
Dautocomplete_w.py330 keysym = event.keysym
335 if keysym != "Tab":
337 if (len(keysym) == 1 or keysym in ("underscore", "BackSpace")
338 or (self.mode == FILES and keysym in
342 if len(keysym) == 1:
343 self._change_start(self.start + keysym)
344 elif keysym == "underscore":
346 elif keysym == "period":
348 elif keysym == "minus":
362 elif keysym == "Return":
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_events.c67 SDL_Keysym * keysym, Uint32 *unicode);
69 SDL_Keysym * keysym, Uint32 *unicode);
178 SDL_Keysym keysym; in ProcessWindowEvent() local
235 DirectFB_TranslateKey(_this, evt, &keysym, &unicode); in ProcessWindowEvent()
237 SDL_SendKeyboardKey_ex(0, SDL_PRESSED, keysym.scancode); in ProcessWindowEvent()
249 DirectFB_TranslateKey(_this, evt, &keysym, &unicode); in ProcessWindowEvent()
250 SDL_SendKeyboardKey_ex(0, SDL_RELEASED, keysym.scancode); in ProcessWindowEvent()
311 SDL_Keysym keysym; in ProcessInputEvent() local
371 DirectFB_TranslateKeyInputEvent(_this, ievt, &keysym, &unicode); in ProcessInputEvent()
373 SDL_SendKeyboardKey_ex(kbd_idx, SDL_PRESSED, keysym.scancode); in ProcessInputEvent()
[all …]
/third_party/flutter/skia/tools/sk_app/ios/
DWindow_ios.cpp99 static Window::Key get_key(const SDL_Keysym& keysym) { in get_key() argument
132 if (gPair[i].fSDLK == keysym.sym) { in get_key()
156 if (event.key.keysym.mod & gModifiers[i].fSDLMask) { in get_modifiers()
217 Window::Key key = get_key(event.key.keysym); in handleEvent()
220 if (event.key.keysym.sym == SDLK_ESCAPE) { in handleEvent()
228 Window::Key key = get_key(event.key.keysym); in handleEvent()
/third_party/curl/packages/vms/
Dconfig_h.com1060 $ keysym = key2b
1061 $ if key2c .nes. "" then keysym = keysym + "_" + key2c
1062 $ if key2d .nes. "" then keysym = keysym + "_" + key2d
1063 $ if key2e .nes. "" then keysym = keysym + "_" + key2e
1080 $ keysym = "ST" + "_" + key2c
1081 $ keysym = f$edit(keysym,"LOWERCASE")
1087 $ keysym = f$edit(key2b, "LOWERCASE")
1100 $ keysym = "f_" + f$edit(key2c,"LOWERCASE")
1108 $ keysym = "ut_" + f$edit(key2d,"LOWERCASE")
1132 $ if keysym .eqs. "CRYPT"
[all …]
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Dkeyboard.c269 index = keyToIndex(event.key.keysym); in main()
270 scancode = event.key.keysym.scancode; in main()
271 mod = event.key.keysym.mod; in main()
290 (event.key.keysym.scancode == SDL_SCANCODE_SEMICOLON in main()
291 && (event.key.keysym.mod & KMOD_SHIFT)); in main()
/third_party/cef/patch/patches/
Dcomponent_build.patch116 @@ -24,7 +25,7 @@ DomKey NonPrintableXKeySymToDomKey(xkb_keysym_t keysym);
117 // char16_t DeadXKeySymToCombiningCharacter(xkb_keysym_t keysym);
119 // Return the DomKey determined by the XKB layout result (keysym, character).
120 -DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
121 +KEYCODES_X_EXPORT DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character);
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_ime.c118 SDL_IME_ProcessKeyEvent(Uint32 keysym, Uint32 keycode) in SDL_IME_ProcessKeyEvent() argument
121 return SDL_IME_ProcessKeyEvent_Real(keysym, keycode); in SDL_IME_ProcessKeyEvent()
DSDL_fcitx.h34 extern SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
/third_party/flutter/skia/third_party/externals/sdl/test/
Dcontrollermap.c292 … if (event.key.keysym.sym == SDLK_BACKSPACE || event.key.keysym.sym == SDLK_AC_BACK) { in WatchJoystick()
301 if (event.key.keysym.sym == SDLK_SPACE) { in WatchJoystick()
308 if ((event.key.keysym.sym != SDLK_ESCAPE)) { in WatchJoystick()
Dtestwm2.c83 if (event.key.keysym.sym == SDLK_LEFT) { in loop()
89 } else if (event.key.keysym.sym == SDLK_RIGHT) { in loop()
Dtesthittesting.c108 if (e.key.keysym.sym == SDLK_ESCAPE) { in main()
110 } else if (e.key.keysym.sym == SDLK_x) { in main()
Dtestintersections.c224 switch (event.key.keysym.sym) { in loop()
226 if (event.key.keysym.mod & KMOD_SHIFT) in loop()
233 if (event.key.keysym.mod & KMOD_SHIFT) in loop()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_common.c1082 event->key.keysym.scancode, in SDLTest_PrintEvent()
1083 SDL_GetScancodeName(event->key.keysym.scancode), in SDLTest_PrintEvent()
1084 event->key.keysym.sym, SDL_GetKeyName(event->key.keysym.sym)); in SDLTest_PrintEvent()
1089 event->key.keysym.scancode, in SDLTest_PrintEvent()
1090 SDL_GetScancodeName(event->key.keysym.scancode), in SDLTest_PrintEvent()
1091 event->key.keysym.sym, SDL_GetKeyName(event->key.keysym.sym)); in SDLTest_PrintEvent()
1338 SDL_bool withControl = !!(event->key.keysym.mod & KMOD_CTRL); in SDLTest_CommonEvent()
1339 SDL_bool withShift = !!(event->key.keysym.mod & KMOD_SHIFT); in SDLTest_CommonEvent()
1340 SDL_bool withAlt = !!(event->key.keysym.mod & KMOD_ALT); in SDLTest_CommonEvent()
1342 switch (event->key.keysym.sym) { in SDLTest_CommonEvent()
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_linux.cc283 int keysym = ui::XKeysymForWindowsKeyCode( in TranslateUiKeyEvent() local
285 char16_t character = ui::GetUnicodeCharacterFromXKeySym(keysym); in TranslateUiKeyEvent()
305 ui::DomKey dom_key = ui::XKeySymToDomKey(keysym, character); in TranslateUiKeyEvent()

123