Lines Matching refs:xkey

632     KeyCode originalKeycode = event->xkey.keycode;
697 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
701 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
705 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
709 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
713 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
717 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
721 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
725 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
729 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
733 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
737 event->xkey.keycode = XKeysymToKeycode(awt_display, *keysym);
741 event->xkey.keycode = XKeysymToKeycode(awt_display, XK_Return);
751 if (originalKeycode != event->xkey.keycode) {
753 originalKeycode, event->xkey.keycode);
769 if( (strncmp( ServerVendor( event->xkey.display ), "Sun Microsystems, Inc.", 22) != 0) &&
770 (strncmp( ServerVendor( event->xkey.display ), "Oracle Corporation", 18) != 0) )
778 if( VendorRelease( event->xkey.display ) > 10000 ) {
816 Boolean bxkb = isXKBenabled( event->xkey.display );
817 return IsKeypadKey( XKeycodeToKeysym(event->xkey.display, event->xkey.keycode,(bsun && !bxkb ? 2 : 1) ) );
821 printf(" 0x%X\n",XKeycodeToKeysym(event->xkey.display, event->xkey.keycode, 0));
822 printf(" 0x%X\n",XKeycodeToKeysym(event->xkey.display, event->xkey.keycode, 1));
823 printf(" 0x%X\n",XKeycodeToKeysym(event->xkey.display, event->xkey.keycode, 2));
824 printf(" 0x%X\n",XKeycodeToKeysym(event->xkey.display, event->xkey.keycode, 3));
838 if( (event->xkey.state & ShiftMask) ) { // shift modifier is on
839 *keysym = XKeycodeToKeysym(event->xkey.display,
840 event->xkey.keycode, 3);
842 *keysym = XKeycodeToKeysym(event->xkey.display,
843 event->xkey.keycode, 2);
846 if( (event->xkey.state & ShiftMask) || // shift modifier is on
847 ((event->xkey.state & LockMask) && // lock modifier is on
849 *keysym = XKeycodeToKeysym(event->xkey.display,
850 event->xkey.keycode, 0);
852 *keysym = XKeycodeToKeysym(event->xkey.display,
853 event->xkey.keycode, 1);
863 * (event->xkey.state & awt_NumLockMask) is TRUE.
887 *keysym = XKeycodeToKeysym(event->xkey.display,
888 event->xkey.keycode, 2);