diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
commit | 90f1536dd315cd265bfc7ef35058761a65a01734 (patch) | |
tree | ce1f7aed9444ad2577d62a6e5a2dd36008771c6c /xkb/xkb.h | |
parent | d461855a73d8c9f51a18673aef7ce88f94a71629 (diff) |
Initial revision
Diffstat (limited to 'xkb/xkb.h')
-rw-r--r-- | xkb/xkb.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/xkb/xkb.h b/xkb/xkb.h new file mode 100644 index 000000000..4eeb781db --- /dev/null +++ b/xkb/xkb.h @@ -0,0 +1,72 @@ +/* $XFree86: xc/programs/Xserver/xkb/xkb.h,v 1.1 2003/07/16 01:39:08 dawes Exp $ */ + +/* #include "XKBfile.h" */ + +extern int ProcXkbUseExtension(ClientPtr client); +extern int ProcXkbSelectEvents(ClientPtr client); +extern int ProcXkbBell(ClientPtr client); +extern int ProcXkbGetState(ClientPtr client); +extern int ProcXkbLatchLockState(ClientPtr client); +extern int ProcXkbGetControls(ClientPtr client); +extern int ProcXkbSetControls(ClientPtr client); +extern int ProcXkbGetMap(ClientPtr client); +extern int ProcXkbSetMap(ClientPtr client); +extern int ProcXkbGetCompatMap(ClientPtr client); +extern int ProcXkbSetCompatMap(ClientPtr client); +extern int ProcXkbGetIndicatorState(ClientPtr client); +extern int ProcXkbGetIndicatorMap(ClientPtr client); +extern int ProcXkbSetIndicatorMap(ClientPtr client); +extern int ProcXkbGetNamedIndicator(ClientPtr client); +extern int ProcXkbSetNamedIndicator(ClientPtr client); +extern int ProcXkbGetNames(ClientPtr client); +extern int ProcXkbSetNames(ClientPtr client); +extern int ProcXkbGetGeometry(ClientPtr client); +extern int ProcXkbSetGeometry(ClientPtr client); +extern int ProcXkbPerClientFlags(ClientPtr client); +extern int ProcXkbListComponents(ClientPtr client); +extern int ProcXkbGetKbdByName(ClientPtr client); +extern int ProcXkbGetDeviceInfo(ClientPtr client); +extern int ProcXkbSetDeviceInfo(ClientPtr client); +extern int ProcXkbSetDebuggingFlags(ClientPtr client); + +extern int XkbSetRepeatRate(DeviceIntPtr dev, int timeout, int interval, int major, int minor); +extern int XkbGetRepeatRate(DeviceIntPtr dev, int *timeout, int *interval); + +extern Status XkbComputeGetIndicatorMapReplySize( + XkbIndicatorPtr indicators, + xkbGetIndicatorMapReply *rep); +extern int XkbSendIndicatorMap( + ClientPtr client, + XkbIndicatorPtr indicators, + xkbGetIndicatorMapReply *rep); + +extern void XkbComputeCompatState(XkbSrvInfoPtr xkbi); +extern void XkbSetPhysicalLockingKey(DeviceIntPtr dev, unsigned key); + +extern Bool XkbFilterEvents(ClientPtr pClient, int nEvents, xEvent *xE); + +extern Bool XkbApplyLEDChangeToKeyboard( + XkbSrvInfoPtr xkbi, + XkbIndicatorMapPtr map, + Bool on, + XkbChangesPtr change); + +extern Bool XkbWriteRulesProp(ClientPtr client, pointer closure); + +extern XkbAction XkbGetButtonAction(DeviceIntPtr kbd, DeviceIntPtr dev, int button); + +/* extern Status XkbMergeFile(XkbDescPtr xkb, XkbFileInfo finfo); */ + +extern Bool XkbDDXCompileNamedKeymap( + XkbDescPtr xkb, + XkbComponentNamesPtr names, + char * nameRtrn, + int nameRtrnLen); + +extern Bool XkbDDXCompileKeymapByNames( + XkbDescPtr xkb, + XkbComponentNamesPtr names, + unsigned want, + unsigned need, + char * nameRtrn, + int nameRtrnLen); |