Lines Matching refs:xkey
317 (peekevent.xkey.keycode == event->xkey.keycode) &&
318 ((peekevent.xkey.time-event->xkey.time) < 2) ) {
561 KeyCode keycode = xevent.xkey.keycode;
564 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode);
596 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status);
606 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, count, &xkeysym, &status);
734 if ( XLookupString(&xevent.xkey,
754 KeyCode keycode = xevent.xkey.keycode;
765 printf("KeyRelease (X11 keycode = 0x%X)\n", xevent.xkey.keycode);
1255 XKeyEvent xkey;
1262 SDL_memset(&xkey, 0, sizeof(xkey));
1263 xkey.display = SDL_Display;
1276 xkey.keycode = XKeysymToKeycode(xkey.display, xsym);
1280 xkey.state |= ShiftMask;
1282 xkey.state |= LockMask;
1284 xkey.state |= ControlMask;
1286 xkey.state |= mode_switch_mask;
1288 xkey.state |= alt_l_mask;
1290 xkey.state |= alt_r_mask;
1292 xkey.state |= meta_l_mask;
1294 xkey.state |= meta_r_mask;
1296 xkey.state |= num_mask;
1299 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, NULL) )