📄 xkblib.h
字号:
#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which*/#endif);extern void XkbFreeControls(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which */, Bool /* freeMap */#endif);extern Status XkbGetControls(#if NeedFunctionPrototypes Display * /* dpy */, unsigned long /* which */, XkbDescPtr /* desc */#endif);extern Bool XkbSetControls(#if NeedFunctionPrototypes Display * /* dpy */, unsigned long /* which */, XkbDescPtr /* desc */#endif);extern void XkbNoteControlsChanges(#if NeedFunctionPrototypes XkbControlsChangesPtr /* old */, XkbControlsNotifyEvent * /* new */, unsigned int /* wanted */#endif);#define XkbGetControlsChanges(d,x,c) XkbGetControls(d,(c)->changed_ctrls,x)#define XkbChangeControls(d,x,c) XkbSetControls(d,(c)->changed_ctrls,x)extern Status XkbAllocCompatMap(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which */, unsigned int /* nInterpret */#endif);extern void XkbFreeCompatMap(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which */, Bool /* freeMap */#endif);extern Status XkbGetCompatMap(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, XkbDescPtr /* xkb */#endif);extern Bool XkbSetCompatMap(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, XkbDescPtr /* xkb */, Bool /* updateActions */#endif);extern XkbSymInterpretPtr XkbAddSymInterpret(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, XkbSymInterpretPtr /* si */, Bool /* updateMap */, XkbChangesPtr /* changes */#endif);extern Status XkbAllocNames(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which */, int /* nTotalRG */, int /* nTotalAliases */#endif);extern Status XkbGetNames(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, XkbDescPtr /* desc */#endif);extern Bool XkbSetNames(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, unsigned int /* firstType */, unsigned int /* nTypes */, XkbDescPtr /* desc */#endif);extern Bool XkbChangeNames(#if NeedFunctionPrototypes Display * /* dpy */, XkbDescPtr /* xkb */, XkbNameChangesPtr /* changes */#endif);extern void XkbFreeNames(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, unsigned int /* which */, Bool /* freeMap */#endif);extern Status XkbGetState(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* deviceSpec */, XkbStatePtr /* rtrnState */#endif);extern Bool XkbSetMap(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, XkbDescPtr /* desc */#endif);extern Bool XkbChangeMap(#if NeedFunctionPrototypes Display* /* dpy */, XkbDescPtr /* desc */, XkbMapChangesPtr /* changes */#endif);extern Bool XkbSetDetectableAutoRepeat(#if NeedFunctionPrototypes Display * /* dpy */, Bool /* detectable */, Bool * /* supported */#endif);extern Bool XkbGetDetectableAutoRepeat(#if NeedFunctionPrototypes Display * /* dpy */, Bool * /* supported */#endif);extern Bool XkbSetAutoResetControls(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* changes */, unsigned int * /* auto_ctrls */, unsigned int * /* auto_values */#endif);extern Bool XkbGetAutoResetControls(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int * /* auto_ctrls */, unsigned int * /* auto_ctrl_values */#endif);extern Status XkbCopyKeyType(#if NeedFunctionPrototypes XkbKeyTypePtr /* from */, XkbKeyTypePtr /* into */#endif);extern Status XkbCopyKeyTypes(#if NeedFunctionPrototypes XkbKeyTypePtr /* from */, XkbKeyTypePtr /* into */, int /* num_types */#endif);extern Status XkbResizeKeyType(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, int /* type_ndx */, int /* map_count */, Bool /* want_preserve */, int /* new_num_lvls */#endif);extern KeySym *XkbResizeKeySyms(#if NeedFunctionPrototypes XkbDescPtr /* desc */, int /* forKey */, int /* symsNeeded */#endif);extern XkbAction *XkbResizeKeyActions(#if NeedFunctionPrototypes XkbDescPtr /* desc */, int /* forKey */, int /* actsNeeded */#endif);extern Status XkbChangeTypesOfKey(#if NeedFunctionPrototypes XkbDescPtr /* xkb */, int /* key */, int /* num_groups */, unsigned int /* groups */, int * /* newTypes */, XkbMapChangesPtr /* pChanges */#endif);/***====================================================================***/extern XkbComponentListPtr XkbListComponents(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* deviceSpec */, XkbComponentNamesPtr /* ptrns */, int * /* max_inout */#endif);extern void XkbFreeComponentList(#if NeedFunctionPrototypes XkbComponentListPtr /* list */#endif);extern XkbDescPtr XkbGetKeyboard(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, unsigned int /* deviceSpec */#endif);extern XkbDescPtr XkbGetKeyboardByName(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* deviceSpec */, XkbComponentNamesPtr /* names */, unsigned int /* want */, unsigned int /* need */, Bool /* load */#endif);/***====================================================================***/extern int XkbKeyTypesForCoreSymbols( /* returns # of groups */#if NeedFunctionPrototypes XkbDescPtr /* xkb */, /* keyboard device */ int /* map_width */, /* width of core KeySym array */ KeySym * /* core_syms */, /* always mapWidth symbols */ unsigned int /* protected */, /* explicit key types */ int * /* types_inout */, /* always four type indices */ KeySym * /* xkb_syms_rtrn */ /* must have enough space */#endif);extern Bool XkbApplyCompatMapToKey( /* False only on error */#if NeedFunctionPrototypes XkbDescPtr /* xkb */, /* keymap to be edited */ KeyCode /* key */, /* key to be updated */ XkbChangesPtr /* changes */ /* resulting changes to map */#endif);extern Bool XkbUpdateMapFromCore( /* False only on error */#if NeedFunctionPrototypes XkbDescPtr /* xkb */, /* XKB keyboard to be edited */ KeyCode /* first_key */, /* first changed key */ int /* num_keys */, /* number of changed keys */ int /* map_width */, /* width of core keymap */ KeySym * /* core_keysyms */, /* symbols from core keymap */ XkbChangesPtr /* changes */ /* resulting changes */#endif);/***====================================================================***/extern XkbDeviceLedInfoPtr XkbAddDeviceLedInfo(#if NeedFunctionPrototypes XkbDeviceInfoPtr /* devi */, unsigned int /* ledClass */, unsigned int /* ledId */#endif);extern Status XkbResizeDeviceButtonActions(#if NeedFunctionPrototypes XkbDeviceInfoPtr /* devi */, unsigned int /* newTotal */#endif);extern XkbDeviceInfoPtr XkbAllocDeviceInfo(#if NeedFunctionPrototypes unsigned int /* deviceSpec */, unsigned int /* nButtons */, unsigned int /* szLeds */#endif);extern void XkbFreeDeviceInfo(#if NeedFunctionPrototypes XkbDeviceInfoPtr /* devi */, unsigned int /* which */, Bool /* freeDevI */#endif);extern void XkbNoteDeviceChanges(#if NeedFunctionPrototypes XkbDeviceChangesPtr /* old */, XkbExtensionDeviceNotifyEvent * /* new */, unsigned int /* wanted */#endif);extern XkbDeviceInfoPtr XkbGetDeviceInfo(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, unsigned int /* deviceSpec */, unsigned int /* ledClass */, unsigned int /* ledID */#endif);extern Status XkbGetDeviceInfoChanges(#if NeedFunctionPrototypes Display * /* dpy */, XkbDeviceInfoPtr /* devi */, XkbDeviceChangesPtr /* changes */#endif);extern Status XkbGetDeviceButtonActions(#if NeedFunctionPrototypes Display * /* dpy */, XkbDeviceInfoPtr /* devi */, Bool /* all */, unsigned int /* first */, unsigned int /* nBtns */#endif);extern Status XkbGetDeviceLedInfo(#if NeedFunctionPrototypes Display * /* dpy */, XkbDeviceInfoPtr /* devi */, unsigned int /* ledClass (class, XIDflt, XIAll) */, unsigned int /* ledId (id, XIDflt, XIAll) */, unsigned int /* which (XkbXI_Indicator{Names,Map}Mask */#endif);extern Bool XkbSetDeviceInfo(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* which */, XkbDeviceInfoPtr /* devi */#endif);extern Bool XkbChangeDeviceInfo(#if NeedFunctionPrototypes Display* /* dpy */, XkbDeviceInfoPtr /* desc */, XkbDeviceChangesPtr /* changes */#endif);extern Bool XkbSetDeviceLedInfo(#if NeedFunctionPrototypes Display * /* dpy */, XkbDeviceInfoPtr /* devi */, unsigned int /* ledClass */, unsigned int /* ledID */, unsigned int /* which */#endif);extern Bool XkbSetDeviceButtonActions(#if NeedFunctionPrototypes Display * /* dpy */, XkbDeviceInfoPtr /* devi */, unsigned int /* first */, unsigned int /* nBtns */#endif);/***====================================================================***/extern char XkbToControl(#if NeedFunctionPrototypes char /* c */#endif);/***====================================================================***/extern Bool XkbSetDebuggingFlags(#if NeedFunctionPrototypes Display * /* dpy */, unsigned int /* mask */, unsigned int /* flags */, char * /* msg */, unsigned int /* ctrls_mask */, unsigned int /* ctrls */, unsigned int * /* rtrn_flags */, unsigned int * /* rtrn_ctrls */#endif);_XFUNCPROTOEND#endif /* _XKBLIB_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -