Lines Matching defs:pEv

432 XkbSendIndicatorNotify(DeviceIntPtr kbd, int xkbType, xkbIndicatorNotify * pEv)
444 state = pEv->state;
445 changed = pEv->changed;
454 pEv->type = XkbEventCode + XkbEventBase;
455 pEv->xkbType = xkbType;
456 pEv->deviceID = kbd->id;
457 pEv->time = time = GetTimeInMillis();
460 pEv->sequenceNumber = interest->client->sequence;
461 pEv->time = time;
462 pEv->changed = changed;
463 pEv->state = state;
465 swaps(&pEv->sequenceNumber);
466 swapl(&pEv->time);
467 swapl(&pEv->changed);
468 swapl(&pEv->state);
470 WriteToClient(interest->client, sizeof(xEvent), pEv);
564 XkbSendAccessXNotify(DeviceIntPtr kbd, xkbAccessXNotify * pEv)
576 sk_delay = pEv->slowKeysDelay;
577 db_delay = pEv->debounceDelay;
581 (interest->accessXNotifyMask & (1 << pEv->detail))) {
583 pEv->type = XkbEventCode + XkbEventBase;
584 pEv->xkbType = XkbAccessXNotify;
585 pEv->deviceID = kbd->id;
586 pEv->time = time = GetTimeInMillis();
589 pEv->sequenceNumber = interest->client->sequence;
590 pEv->time = time;
591 pEv->slowKeysDelay = sk_delay;
592 pEv->debounceDelay = db_delay;
594 swaps(&pEv->sequenceNumber);
595 swapl(&pEv->time);
596 swaps(&pEv->slowKeysDelay);
597 swaps(&pEv->debounceDelay);
599 WriteToClient(interest->client, sizeof(xEvent), pEv);
607 XkbSendNamesNotify(DeviceIntPtr kbd, xkbNamesNotify * pEv)
620 changed = pEv->changed;
621 changedIndicators = pEv->changedIndicators;
622 changedVirtualMods = pEv->changedVirtualMods;
626 (interest->namesNotifyMask & pEv->changed)) {
628 pEv->type = XkbEventCode + XkbEventBase;
629 pEv->xkbType = XkbNamesNotify;
630 pEv->deviceID = kbd->id;
631 pEv->time = time = GetTimeInMillis();
634 pEv->sequenceNumber = interest->client->sequence;
635 pEv->time = time;
636 pEv->changed = changed;
637 pEv->changedIndicators = changedIndicators;
638 pEv->changedVirtualMods = changedVirtualMods;
640 swaps(&pEv->sequenceNumber);
641 swapl(&pEv->time);
642 swaps(&pEv->changed);
643 swapl(&pEv->changedIndicators);
644 swaps(&pEv->changedVirtualMods);
646 WriteToClient(interest->client, sizeof(xEvent), pEv);
654 XkbSendCompatMapNotify(DeviceIntPtr kbd, xkbCompatMapNotify * pEv)
671 pEv->type = XkbEventCode + XkbEventBase;
672 pEv->xkbType = XkbCompatMapNotify;
673 pEv->deviceID = kbd->id;
674 pEv->time = time = GetTimeInMillis();
675 firstSI = pEv->firstSI;
676 nSI = pEv->nSI;
677 nTotalSI = pEv->nTotalSI;
680 pEv->sequenceNumber = interest->client->sequence;
681 pEv->time = time;
682 pEv->firstSI = firstSI;
683 pEv->nSI = nSI;
684 pEv->nTotalSI = nTotalSI;
686 swaps(&pEv->sequenceNumber);
687 swapl(&pEv->time);
688 swaps(&pEv->firstSI);
689 swaps(&pEv->nSI);
690 swaps(&pEv->nTotalSI);
692 WriteToClient(interest->client, sizeof(xEvent), pEv);
700 XkbSendActionMessage(DeviceIntPtr kbd, xkbActionMessage * pEv)
714 pEv->mods = xkbi->state.mods;
715 pEv->group = xkbi->state.group;
721 pEv->type = XkbEventCode + XkbEventBase;
722 pEv->xkbType = XkbActionMessage;
723 pEv->deviceID = kbd->id;
724 pEv->sequenceNumber = interest->client->sequence;
725 pEv->time = time = GetTimeInMillis();
728 pEv->sequenceNumber = interest->client->sequence;
729 pEv->time = time;
731 swaps(&pEv->sequenceNumber);
732 swapl(&pEv->time);
734 WriteToClient(interest->client, sizeof(xEvent), pEv);
743 ClientPtr client, xkbExtensionDeviceNotify * pEv)
756 reason = pEv->reason;
757 defined = pEv->ledsDefined;
758 state = pEv->ledState;
764 pEv->type = XkbEventCode + XkbEventBase;
765 pEv->xkbType = XkbExtensionDeviceNotify;
766 pEv->deviceID = dev->id;
767 pEv->sequenceNumber = interest->client->sequence;
768 pEv->time = time = GetTimeInMillis();
772 pEv->sequenceNumber = interest->client->sequence;
773 pEv->time = time;
774 pEv->ledsDefined = defined;
775 pEv->ledState = state;
776 pEv->reason = reason;
777 pEv->supported = XkbXI_AllFeaturesMask;
780 swaps(&pEv->sequenceNumber);
781 swapl(&pEv->time);
782 swapl(&pEv->ledsDefined);
783 swapl(&pEv->ledState);
784 swaps(&pEv->reason);
785 swaps(&pEv->supported);
787 WriteToClient(interest->client, sizeof(xEvent), pEv);