Lines Matching defs:pEv
436 XkbSendIndicatorNotify(DeviceIntPtr kbd,int xkbType,xkbIndicatorNotify *pEv)
448 state = pEv->state;
449 changed = pEv->changed;
460 pEv->type = XkbEventCode + XkbEventBase;
461 pEv->xkbType = xkbType;
462 pEv->deviceID = kbd->id;
463 pEv->time = time = GetTimeInMillis();
466 pEv->sequenceNumber = interest->client->sequence;
467 pEv->time = time;
468 pEv->changed = changed;
469 pEv->state = state;
472 swaps(&pEv->sequenceNumber,n);
473 swapl(&pEv->time,n);
474 swapl(&pEv->changed,n);
475 swapl(&pEv->state,n);
477 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);
575 XkbSendAccessXNotify(DeviceIntPtr kbd,xkbAccessXNotify *pEv)
587 sk_delay= pEv->slowKeysDelay;
588 db_delay= pEv->debounceDelay;
593 (interest->accessXNotifyMask&(1<<pEv->detail)) &&
596 pEv->type = XkbEventCode + XkbEventBase;
597 pEv->xkbType = XkbAccessXNotify;
598 pEv->deviceID = kbd->id;
599 pEv->time = time = GetTimeInMillis();
602 pEv->sequenceNumber = interest->client->sequence;
603 pEv->time = time;
604 pEv->slowKeysDelay = sk_delay;
605 pEv->debounceDelay = db_delay;
608 swaps(&pEv->sequenceNumber,n);
609 swapl(&pEv->time,n);
610 swaps(&pEv->slowKeysDelay,n);
611 swaps(&pEv->debounceDelay,n);
613 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);
621 XkbSendNamesNotify(DeviceIntPtr kbd,xkbNamesNotify *pEv)
634 changed= pEv->changed;
635 changedIndicators= pEv->changedIndicators;
636 changedVirtualMods= pEv->changedVirtualMods;
641 (interest->namesNotifyMask&pEv->changed) &&
644 pEv->type = XkbEventCode + XkbEventBase;
645 pEv->xkbType = XkbNamesNotify;
646 pEv->deviceID = kbd->id;
647 pEv->time = time = GetTimeInMillis();
650 pEv->sequenceNumber = interest->client->sequence;
651 pEv->time = time;
652 pEv->changed = changed;
653 pEv->changedIndicators = changedIndicators;
654 pEv->changedVirtualMods= changedVirtualMods;
657 swaps(&pEv->sequenceNumber,n);
658 swapl(&pEv->time,n);
659 swaps(&pEv->changed,n);
660 swapl(&pEv->changedIndicators,n);
661 swaps(&pEv->changedVirtualMods,n);
663 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);
671 XkbSendCompatMapNotify(DeviceIntPtr kbd,xkbCompatMapNotify *pEv)
690 pEv->type = XkbEventCode + XkbEventBase;
691 pEv->xkbType = XkbCompatMapNotify;
692 pEv->deviceID = kbd->id;
693 pEv->time = time = GetTimeInMillis();
694 firstSI= pEv->firstSI;
695 nSI= pEv->nSI;
696 nTotalSI= pEv->nTotalSI;
699 pEv->sequenceNumber = interest->client->sequence;
700 pEv->time = time;
701 pEv->firstSI = firstSI;
702 pEv->nSI = nSI;
703 pEv->nTotalSI = nTotalSI;
706 swaps(&pEv->sequenceNumber,n);
707 swapl(&pEv->time,n);
708 swaps(&pEv->firstSI,n);
709 swaps(&pEv->nSI,n);
710 swaps(&pEv->nTotalSI,n);
712 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);
720 XkbSendActionMessage(DeviceIntPtr kbd,xkbActionMessage *pEv)
734 pEv->mods= xkbi->state.mods;
735 pEv->group= xkbi->state.group;
743 pEv->type = XkbEventCode + XkbEventBase;
744 pEv->xkbType = XkbActionMessage;
745 pEv->deviceID = kbd->id;
746 pEv->sequenceNumber = interest->client->sequence;
747 pEv->time = time = GetTimeInMillis();
750 pEv->sequenceNumber = interest->client->sequence;
751 pEv->time = time;
754 swaps(&pEv->sequenceNumber,n);
755 swapl(&pEv->time,n);
757 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);
767 xkbExtensionDeviceNotify * pEv)
780 reason= pEv->reason;
781 defined= pEv->ledsDefined;
782 state= pEv->ledState;
790 pEv->type = XkbEventCode + XkbEventBase;
791 pEv->xkbType = XkbExtensionDeviceNotify;
792 pEv->deviceID = dev->id;
793 pEv->sequenceNumber = interest->client->sequence;
794 pEv->time = time = GetTimeInMillis();
798 pEv->sequenceNumber = interest->client->sequence;
799 pEv->time = time;
800 pEv->ledsDefined= defined;
801 pEv->ledState= state;
802 pEv->reason= reason;
803 pEv->supported= XkbXI_AllFeaturesMask;
807 swaps(&pEv->sequenceNumber,n);
808 swapl(&pEv->time,n);
809 swapl(&pEv->ledsDefined,n);
810 swapl(&pEv->ledState,n);
811 swaps(&pEv->reason,n);
812 swaps(&pEv->supported,n);
814 WriteToClient(interest->client, sizeof(xEvent), (char *)pEv);