HomeSort by relevance Sort by last modified time
    Searched refs:keysym (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/qemu/
keymaps.h 2 * QEMU keysym to keycode conversion using rdesktop keymaps
32 int keysym; member in struct:__anon6503
46 int keysym; member in struct:__anon6504::__anon6505
56 int keysym2scancode(void *kbd_layout, int keysym);
58 int keysym_is_numlock(void *kbd_layout, int keysym);
keymaps.c 2 * QEMU keysym to keycode conversion using rdesktop keymaps
34 return p->keysym;
98 int keysym; local
100 keysym = get_keysym(table, line);
101 if (keysym == 0) {
102 // fprintf(stderr, "Warning: unknown keysym %s\n", line);
110 add_to_key_range(&k->numlock_range, keysym);
111 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode);
116 if (keysym < MAX_NORMAL_KEYCODE)
    [all...]
curses.c 166 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.12/src/video/dga/
SDL_dgaevents.c 79 SDL_keysym keysym; local
88 /* Get the translated SDL virtual keysym */
89 keysym.scancode = keycode;
90 keysym.sym = X11_TranslateKeycode(DGA_Display, keycode);
91 keysym.mod = KMOD_NONE;
92 keysym.unicode = 0;
106 keysym.unicode = (Uint8)keybuf[0];
109 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
115 SDL_keysym keysym; local
124 /* Get the translated SDL virtual keysym */
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/epoc/
SDL_epocevents.cpp 50 /* The translation tables from a console scancode to a SDL keysym */
52 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
60 SDL_keysym keysym; local
88 //!!posted += SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(aWsEvent.Key()->iScanCode, &keysym));
94 (void*)TranslateKey(aWsEvent.Key()->iScanCode, &keysym);
97 switch((int)keysym.sym) {
111 posted += SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
117 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(aWsEvent.Key()->iScanCode, &keysym));
348 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
353 /* Set the keysym information */
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/nanox/
SDL_nxevents.c 35 // The translation tables from a nanox keysym to a SDL keysym
112 SDL_keysym * NX_TranslateKey (GR_EVENT_KEYSTROKE * keystroke, SDL_keysym * keysym)
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 -> mod |= KMOD_RSHIFT
281 SDL_keysym keysym ; local
291 SDL_keysym keysym ; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/aalib/
SDL_aaevents.c 36 /* 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)
190 /* Set the keysym information */
191 keysym->scancode = scancode;
192 keysym->sym = keymap[scancode];
193 keysym->mod = KMOD_NONE
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
SDL_atarievents_c.h 62 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
SDL_biosevents.c 72 SDL_keysym keysym; local
91 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
96 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
SDL_gemdosevents.c 78 SDL_keysym keysym; local
97 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
102 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
SDL_ikbdevents.c 76 SDL_keysym keysym; local
84 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE));
91 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
SDL_atarievents.c 58 /* The translation tables from a console scancode to a SDL keysym */
219 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
224 /* Set the keysym information */
225 keysym->scancode = scancode;
226 keysym->mod = KMOD_NONE;
227 keysym->sym = keymap[scancode];
228 keysym->unicode = 0;
230 if (keysym->sym == SDLK_UNKNOWN) {
231 keysym->sym = asciicode = keytab_normal[scancode];
235 keysym->unicode = SDL_AtariToUnicodeTable[asciicode]
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/wscons/
SDL_wsconsevents.c 98 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
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.12/src/video/bwindow/
SDL_sysevents.cc 318 SDL_keysym keysym; local
319 keysym.scancode = key;
321 keysym.sym = keymap[key];
323 keysym.sym = SDLK_UNKNOWN;
328 keysym.mod = KMOD_NONE;
329 keysym.unicode = 0;
337 keysym.unicode = Translate2Unicode(bytes);
340 SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
351 SDL_keysym keysym; local
352 keysym.scancode = key
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/events/
SDL_keyboard.c 318 SDL_keysym keysym; local
321 SDL_memset(&keysym, 0, (sizeof keysym));
324 keysym.sym = key;
325 SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
373 int SDL_PrivateKeyboard(Uint8 state, SDL_keysym *keysym)
382 printf("The '%s' key has been %s\n", SDL_GetKeyName(keysym->sym),
385 /* Set up the keysym */
391 keysym->mod = (SDLMod)modstate;
392 switch (keysym->sym)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dc/
SDL_dcevents.c 101 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.12/src/video/directfb/
SDL_DirectFB_events.c 41 /* 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));
182 static SDL_keysym *DirectFB_TranslateKey (DFBInputEvent *ev, SDL_keysym *keysym)
184 /* Set the keysym information */
185 keysym->scancode = ev->key_id;
186 keysym->mod = KMOD_NONE; /* FIXME */
187 keysym->unicode = (DFB_KEY_TYPE (ev->key_symbol) == DIKT_UNICODE) ? ev->key_symbol : 0
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
SDL_amigaevents.c 38 /* The translation tables from an Amiga keysym to a SDL keysym */
40 SDL_keysym *amiga_TranslateKey(int code, SDL_keysym *keysym);
196 SDL_keysym keysym; local
198 amiga_TranslateKey(code, &keysym));
204 SDL_keysym keysym; local
211 amiga_TranslateKey(code, &keysym));
426 SDL_keysym *amiga_TranslateKey(int code, SDL_keysym *keysym)
435 keysym->scancode = code;
436 keysym->sym = MISC_keymap[code]
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/svga/
SDL_svgaevents.c 43 /* 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)
338 /* Set the keysym information */
339 keysym->scancode = scancode
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11events.c 29 #include <X11/keysym.h>
55 /* The translation tables from an X11 keysym to a SDL keysym */
555 SDL_keysym keysym; local
563 /* Get the translated SDL virtual keysym and put it on the queue.*/
564 keysym.scancode = keycode;
565 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode);
566 keysym.mod = KMOD_NONE;
567 keysym.unicode = 0;
568 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
748 SDL_keysym keysym; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
SDL_macevents.c 59 /* 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
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ggi/
SDL_ggievents.c 43 /* The translation tables from a GGI keycode to a SDL keysym */
45 static SDL_keysym *GGI_TranslateKey(ggi_event *ev, SDL_keysym *keysym);
66 SDL_keysym keysym; local
105 posted += SDL_PrivateKeyboard(SDL_PRESSED, GGI_TranslateKey(&ev, &keysym));
108 posted += SDL_PrivateKeyboard(SDL_RELEASED, GGI_TranslateKey(&ev, &keysym));
249 static SDL_keysym *GGI_TranslateKey(gii_event *ev, SDL_keysym *keysym)
251 /* Set the keysym information */
252 keysym->scancode = ev->key.button;
253 keysym->sym = keymap[ev->key.button];
254 keysym->mod = KMOD_NONE
    [all...]
  /development/ndk/platforms/android-4/samples/san-angeles/jni/
app-linux.c 53 #include <X11/keysym.h>
222 unsigned int keycode, keysym; local
224 keysym = XKeycodeToKeysym(sDisplay, keycode, 0);
225 if (keysym == XK_Return || keysym == XK_Escape)
  /external/qemu/distrib/sdl-1.2.12/src/video/vgl/
SDL_vglevents.c 40 /* The translation tables from a console scancode to a SDL keysym */
44 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
51 /* Ugh, we have to duplicate the kernel's keysym mapping code...
74 SDL_keysym keysym; local
86 TranslateKey(scancode, &keysym));
268 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
270 /* Set the keysym information */
271 keysym->scancode = scancode;
272 keysym->sym = keymap[scancode];
273 keysym->mod = KMOD_NONE
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_events.c 44 /* The translation tables from a photon keysym to a SDL keysym */
47 SDL_keysym *ph_TranslateKey(PhKeyEvent_t *key, SDL_keysym *keysym);
339 SDL_keysym keysym; local
358 posted = SDL_PrivateKeyboard(SDL_PRESSED, ph_TranslateKey(keyEvent, &keysym));
373 posted = SDL_PrivateKeyboard(SDL_RELEASED, ph_TranslateKey( keyEvent, &keysym));
546 SDL_keysym *ph_TranslateKey(PhKeyEvent_t *key, SDL_keysym *keysym)
570 keysym->sym = (SDLKey)(cap&0xFF);
572 if ((keysym->sym >= 'A')&&(keysym->sym <= 'Z')
    [all...]

Completed in 218 milliseconds

1 2 3