Searched refs:keysym (Results 1 - 25 of 68) sorted by relevance

123

/external/skia/include/utils/unix/
H A Dkeysym2ucs.h9 * This module converts keysym values into the corresponding ISO 10646-1
15 long keysym2ucs(KeySym keysym);
H A DXkeysToSkKeys.h9 #include "X11/keysym.h"
16 SkKey XKeyToSkKey(KeySym keysym) { argument
17 switch (keysym) {
/external/qemu/
H A Dkeymaps.h2 * QEMU keysym to keycode conversion using rdesktop keymaps
32 int keysym; member in struct:__anon11005
46 int keysym; member in struct:__anon11006::__anon11007
56 int keysym2scancode(void *kbd_layout, int keysym);
58 int keysym_is_numlock(void *kbd_layout, int keysym);
H A Dkeymaps.c2 * QEMU keysym to keycode conversion using rdesktop keymaps
34 return p->keysym;
121 int keysym; local
123 keysym = get_keysym(table, line);
124 if (keysym == 0) {
125 // fprintf(stderr, "Warning: unknown keysym %s\n", line);
133 add_to_key_range(&k->numlock_range, keysym);
134 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode);
139 if (keysym < MAX_NORMAL_KEYCOD
174 keysym2scancode(void *kbd_layout, int keysym) argument
206 keysym_is_numlock(void *kbd_layout, int keysym) argument
[all...]
H A Dcurses.c166 int chr, nextchr, keysym, keycode; local
236 keysym = keycode2keysym[keycode & KEY_MASK];
237 if (keysym == -1)
238 keysym = chr;
241 keycode |= keysym2scancode(kbd_layout, keysym);
266 keysym = curses2keysym[chr];
267 if (keysym == -1)
268 keysym = chr;
270 kbd_put_keysym(keysym);
304 int i, keycode, keysym; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgaevents.c80 SDL_keysym keysym; local
89 /* Get the translated SDL virtual keysym */
90 keysym.scancode = keycode;
91 keysym.sym = X11_TranslateKeycode(DGA_Display, keycode);
92 keysym.mod = KMOD_NONE;
93 keysym.unicode = 0;
107 keysym.unicode = (Uint8)keybuf[0];
110 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
116 SDL_keysym keysym; local
125 /* Get the translated SDL virtual keysym */
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacaevents.c45 SDL_keysym keysym; local
70 keysym.scancode = key;
71 keysym.sym = key;
72 keysym.mod = KMOD_NONE;
73 keysym.unicode = 0;
75 keysym.unicode = key;
77 posted += SDL_PrivateKeyboard((event & CACA_EVENT_KEY_PRESS) ? SDL_PRESSED : SDL_RELEASED, &keysym);
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsevents.c40 SDL_keysym keysym; local
41 keysym.mod=KMOD_NONE;
44 keysym.scancode=i;
45 keysym.sym=keymap[i];
50 SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
56 SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxevents.c35 // The translation tables from a nanox keysym to a SDL keysym
112 SDL_keysym * NX_TranslateKey (GR_EVENT_KEYSTROKE * keystroke, SDL_keysym * keysym) argument
118 keysym -> scancode = keystroke -> scancode ;
119 keysym -> sym = SDLK_UNKNOWN ;
122 keysym -> sym = NX_NONASCII_keymap [ch & 0xFF] ;
124 keysym -> sym = ch & 0x7F ;
127 keysym -> mod = KMOD_NONE ;
134 keysym -> mod |= KMOD_LSHIFT ;
136 keysym
281 SDL_keysym keysym ; local
291 SDL_keysym keysym ; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aaevents.c36 /* The translation tables from a console scancode to a SDL keysym */
39 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
47 SDL_keysym keysym; local
109 posted += SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(evt, &keysym));
114 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(evt, &keysym));
184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument
190 /* Set the keysym information */
191 keysym->scancode = scancode;
192 keysym->sym = keymap[scancode];
193 keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
H A DSDL_atarievents_c.h49 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
H A DSDL_biosevents.c72 SDL_keysym keysym; local
91 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
96 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
H A DSDL_gemdosevents.c73 SDL_keysym keysym; local
92 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
97 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
H A DSDL_ikbdevents.c74 SDL_keysym keysym; local
82 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
89 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
H A DSDL_atarievents.c53 /* The translation tables from a console scancode to a SDL keysym */
214 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym, argument
219 /* Set the keysym information */
220 keysym->scancode = scancode;
221 keysym->mod = KMOD_NONE;
222 keysym->sym = keymap[scancode];
223 keysym->unicode = 0;
225 if (keysym->sym == SDLK_UNKNOWN) {
226 keysym->sym = asciicode = keytab_normal[scancode];
230 keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A DSDL_epocevents.cpp27 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym);
31 /* The translation tables from a console scancode to a SDL keysym */
33 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym);
250 SDL_keysym keysym; local
317 (void*)TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym);
321 switch((int)keysym.sym) {
335 posted += SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
348 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym));
440 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) argument
445 /* Set the keysym informatio
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsevents.c98 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument
100 keysym->scancode = scancode;
101 keysym->sym = SDLK_UNKNOWN;
102 keysym->mod = KMOD_NONE;
105 keysym->sym = keymap[scancode];
107 if (keysym->sym == SDLK_UNKNOWN)
110 return keysym;
116 SDL_keysym keysym; local
125 TranslateKey(c, &keysym));
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocevents.cpp53 /* The translation tables from a console scancode to a SDL keysym */
55 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym);
64 SDL_keysym keysym; local
131 (void*)TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym);
135 switch((int)keysym.sym) {
149 posted += SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
162 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym));
546 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) argument
551 /* Set the keysym information */
553 keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_keyboard.c344 SDL_keysym keysym; local
347 SDL_memset(&keysym, 0, (sizeof keysym));
350 keysym.sym = key;
351 SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
399 int SDL_PrivateKeyboard(Uint8 state, SDL_keysym *keysym) argument
408 printf("The '%s' key has been %s\n", SDL_GetKeyName(keysym->sym),
411 /* Set up the keysym */
417 keysym->mod = (SDLMod)modstate;
418 switch (keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcevents.c101 SDL_keysym keysym; local
122 keysym.sym = sdl_shift[i];
123 SDL_PrivateKeyboard(((state->shift_keys>>i)&1)?SDL_PRESSED:SDL_RELEASED,&keysym);
131 keysym.sym = key;
132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_events.c41 /* The translation tables from a DirectFB keycode to a SDL keysym */
43 static SDL_keysym *DirectFB_TranslateKey (DFBInputEvent *ev, SDL_keysym *keysym);
56 SDL_keysym keysym; local
69 posted += SDL_PrivateKeyboard(SDL_PRESSED, DirectFB_TranslateKey(&evt, &keysym));
72 posted += SDL_PrivateKeyboard(SDL_RELEASED, DirectFB_TranslateKey(&evt, &keysym));
191 static SDL_keysym *DirectFB_TranslateKey (DFBInputEvent *ev, SDL_keysym *keysym) argument
193 /* Set the keysym information */
194 keysym->scancode = ev->key_id;
195 keysym->mod = KMOD_NONE; /* FIXME */
196 keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/svga/
H A DSDL_svgaevents.c43 /* The translation tables from a console scancode to a SDL keysym */
54 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
56 /* Ugh, we have to duplicate the kernel's keysym mapping code...
67 /* Load all the keysym mappings */
189 SDL_keysym keysym; local
193 TranslateKey(scancode, &keysym));
196 TranslateKey(scancode, &keysym));
336 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument
338 /* Set the keysym information */
339 keysym
379 TranslateKey(int scancode, SDL_keysym *keysym) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c29 #include <X11/keysym.h>
55 /* The translation tables from an X11 keysym to a SDL keysym */
560 SDL_keysym keysym; local
568 /* Get the translated SDL virtual keysym and put it on the queue.*/
569 keysym.scancode = keycode;
570 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode);
571 keysym.mod = KMOD_NONE;
572 keysym.unicode = 0;
573 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
753 SDL_keysym keysym; local
1249 X11_KeyToUnicode(SDLKey keysym, SDLMod modifiers) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysevents.cc329 SDL_keysym keysym; local
330 keysym.scancode = key;
332 keysym.sym = keymap[key];
334 keysym.sym = SDLK_UNKNOWN;
339 keysym.mod = KMOD_NONE;
340 keysym.unicode = 0;
348 keysym.unicode = Translate2Unicode(bytes);
351 SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
362 SDL_keysym keysym; local
363 keysym
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macevents.c59 /* The translation table from a macintosh key scancode to a SDL keysym */
62 SDL_keysym *keysym, int pressed);
183 SDL_keysym keysym; local
189 keysym.scancode = 0;
190 keysym.sym = SDLK_UNKNOWN;
191 keysym.mod = KMOD_NONE;
192 keysym.unicode = 0;
199 keysym.sym = mods[i].key;
206 SDL_PrivateKeyboard(mode, &keysym);
223 SDL_keysym keysym; local
649 TranslateKey(int scancode, int modifiers, SDL_keysym *keysym, int pressed) argument
[all...]

Completed in 1152 milliseconds

123