Lines Matching defs:kbd

48  *   - Core mapping notify events sent to clients for whom kbd is the
56 XkbSendLegacyMapNotify(DeviceIntPtr kbd, CARD16 xkb_event, CARD16 changed,
98 if (!XIShouldNotify(clients[i], kbd))
136 .deviceid = kbd->id,
142 SendEventToAllWindows(kbd, DeviceMappingNotifyMask, (xEvent *) &xi_mn,
148 .deviceid = kbd->id,
154 SendEventToAllWindows(kbd, DeviceMappingNotifyMask, (xEvent *) &xi_mn,
162 XkbSendNewKeyboardNotify(DeviceIntPtr kbd, xkbNewKeyboardNotify * pNKN)
194 XkbSendLegacyMapNotify(kbd, XkbNewKeyboardNotify, changed, pNKN->minKeyCode,
203 XkbSendStateNotify(DeviceIntPtr kbd, xkbStateNotify * pSN)
211 interest = kbd->xkb_interest;
212 if (!interest || !kbd->key || !kbd->key->xkbInfo)
214 xkbi = kbd->key->xkbInfo;
219 pSN->deviceID = kbd->id;
266 XkbSendMapNotify(DeviceIntPtr kbd, xkbMapNotify * pMN)
271 XkbSrvInfoPtr xkbi = kbd->key->xkbInfo;
277 pMN->deviceID = kbd->id;
299 XkbSendLegacyMapNotify(kbd, XkbMapNotify, changed, pMN->firstKeySym,
304 XkbComputeControlsNotify(DeviceIntPtr kbd,
314 if (!kbd || !kbd->kbdfeed)
360 kbd->kbdfeed->ctrl.autoRepeat = TRUE;
362 kbd->kbdfeed->ctrl.autoRepeat = FALSE;
364 if (kbd->kbdfeed && kbd->kbdfeed->CtrlProc &&
366 (*kbd->kbdfeed->CtrlProc) (kbd, &kbd->kbdfeed->ctrl);
371 if (!kbd->xkb_interest)
383 XkbSendControlsNotify(DeviceIntPtr kbd, xkbControlsNotify * pCN)
391 interest = kbd->xkb_interest;
392 if (!interest || !kbd->key || !kbd->key->xkbInfo)
394 xkbi = kbd->key->xkbInfo;
407 pCN->deviceID = kbd->id;
432 XkbSendIndicatorNotify(DeviceIntPtr kbd, int xkbType, xkbIndicatorNotify * pEv)
439 interest = kbd->xkb_interest;
456 pEv->deviceID = kbd->id;
480 DeviceIntPtr kbd,
494 if (!kbd->key || !kbd->key->xkbInfo)
497 xkbi = kbd->key->xkbInfo;
501 if (kbd->kbdfeed->BellProc)
502 (*kbd->kbdfeed->BellProc) (percent, kbd, (void *) pCtrl, class);
504 interest = kbd->xkb_interest;
534 bn.deviceID = kbd->id;
564 XkbSendAccessXNotify(DeviceIntPtr kbd, xkbAccessXNotify * pEv)
571 interest = kbd->xkb_interest;
585 pEv->deviceID = kbd->id;
607 XkbSendNamesNotify(DeviceIntPtr kbd, xkbNamesNotify * pEv)
615 interest = kbd->xkb_interest;
630 pEv->deviceID = kbd->id;
654 XkbSendCompatMapNotify(DeviceIntPtr kbd, xkbCompatMapNotify * pEv)
661 interest = kbd->xkb_interest;
673 pEv->deviceID = kbd->id;
700 XkbSendActionMessage(DeviceIntPtr kbd, xkbActionMessage * pEv)
707 interest = kbd->xkb_interest;
708 if (!interest || !kbd->key || !kbd->key->xkbInfo)
711 xkbi = kbd->key->xkbInfo;
723 pEv->deviceID = kbd->id;
795 XkbSendNotification(DeviceIntPtr kbd,
809 XkbSendStateNotify(kbd, &sn);
831 XkbSendMapNotify(kbd, &mn);
844 XkbSendControlsNotify(kbd, &cn);
850 sli = XkbFindSrvLedInfo(kbd, XkbDfltXIClass, XkbDfltXIId, 0);
854 XkbSendIndicatorNotify(kbd, XkbIndicatorMapNotify, &in);
860 sli = XkbFindSrvLedInfo(kbd, XkbDfltXIClass, XkbDfltXIId, 0);
864 XkbSendIndicatorNotify(kbd, XkbIndicatorStateNotify, &in);
878 XkbSendNamesNotify(kbd, &nn);
887 cmn.nTotalSI = kbd->key->xkbInfo->desc->compat->num_si;
888 XkbSendCompatMapNotify(kbd, &cmn);