Lines Matching refs:modifiers

169 add_to_keymap(char *keyname, uint8 scancode, uint16 modifiers, char *mapname)
182 "modifiers=0x%x\n", (unsigned int) keysym, scancode, modifiers));
191 entry->tr->modifiers = modifiers;
394 uint16 modifiers;
504 modifiers = 0;
507 MASK_ADD_BITS(modifiers, MapAltGrMask);
512 MASK_ADD_BITS(modifiers, MapLeftShiftMask);
517 MASK_ADD_BITS(modifiers, MapNumLockMask);
522 MASK_ADD_BITS(modifiers, MapLocalStateMask);
527 MASK_ADD_BITS(modifiers, MapInhibitMask);
530 add_to_keymap(keyname, scancode, modifiers, mapname);
534 /* Automatically add uppercase key, with same modifiers
538 MASK_ADD_BITS(modifiers, MapLeftShiftMask);
539 add_to_keymap(keyname, scancode, modifiers, mapname);
808 if (MASK_HAS_BITS(tr.modifiers, MapInhibitMask))
815 if (MASK_HAS_BITS(tr.modifiers, MapLocalStateMask))
817 /* The modifiers to send for this key should be obtained
821 tr.modifiers = MapLeftShiftMask;
831 if (MASK_HAS_BITS(tr.modifiers, MapShiftMask)
836 MASK_REMOVE_BITS(tr.modifiers, MapShiftMask);
839 DEBUG_KBD(("Found scancode translation, scancode=0x%x, modifiers=0x%x\n",
840 tr.scancode, tr.modifiers));
854 /* The modifiers to send for this key should be
859 tr.modifiers = MapLeftShiftMask;
989 dummy.modifiers = saved_remote_modifier_state;
1003 if (MASK_HAS_BITS(tr.modifiers, MapNumLockMask)
1009 if (MASK_HAS_BITS(tr.modifiers, MapNumLockMask))
1028 if (MASK_HAS_BITS(tr.modifiers, MapShiftMask)
1032 if (MASK_HAS_BITS(tr.modifiers, MapLeftShiftMask))
1037 else if (MASK_HAS_BITS(tr.modifiers, MapRightShiftMask))
1055 if (MASK_HAS_BITS(tr.modifiers, MapAltGrMask)
1059 if (MASK_HAS_BITS(tr.modifiers, MapAltGrMask))