⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xkbsrv.h

📁 远程桌面连接工具
💻 H
📖 第 1 页 / 共 2 页
字号:
#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    XkbSrvLedInfoPtr		/* sli */,    unsigned int		/* changed_leds */,    xkbExtensionDeviceNotify *	/* ed */,    XkbChangesPtr		/* changes */,    XkbEventCausePtr		/* cause */#endif);extern void XkbUpdateLedAutoState(#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    XkbSrvLedInfoPtr		/* sli */,    unsigned int		/* maps_to_check */,    xkbExtensionDeviceNotify *	/* ed */,    XkbChangesPtr		/* changes */,    XkbEventCausePtr		/* cause */#endif);extern void XkbFlushLedEvents(	#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    DeviceIntPtr		/* kbd */,    XkbSrvLedInfoPtr		/* sli */,    xkbExtensionDeviceNotify *	/* ed */,    XkbChangesPtr		/* changes */,    XkbEventCausePtr		/* cause */#endif);extern void XkbUpdateAllDeviceIndicators(#if NeedFunctionPrototypes    XkbChangesPtr		/* changes */,    XkbEventCausePtr		/* cause */#endif);extern unsigned int XkbIndicatorsToUpdate(#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    unsigned long		/* state_changes */,    Bool			/* enabled_ctrl_changes */#endif);extern void XkbComputeDerivedState(#if NeedFunctionPrototypes    XkbSrvInfoPtr		/* xkbi */#endif);extern void XkbCheckSecondaryEffects(#if NeedFunctionPrototypes    XkbSrvInfoPtr		/* xkbi */,    unsigned int		/* which */,    XkbChangesPtr		/* changes */,    XkbEventCausePtr		/* cause */#endif);extern void XkbCheckIndicatorMaps(#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    XkbSrvLedInfoPtr		/* sli */,    unsigned int		/* which */#endif);extern unsigned int XkbStateChangedFlags(#if NeedFunctionPrototypes    XkbStatePtr			/* old */,    XkbStatePtr			/* new */#endif);extern	void XkbSendStateNotify(#if NeedFunctionPrototypes       DeviceIntPtr	/* kbd */,       xkbStateNotify *	/* pSN */#endif);extern	void XkbSendMapNotify(#if NeedFunctionPrototypes       DeviceIntPtr	/* kbd */,       xkbMapNotify *	/* ev */#endif);extern	int  XkbComputeControlsNotify(#if NeedFunctionPrototypes	DeviceIntPtr		/* kbd */,	XkbControlsPtr		/* old */,	XkbControlsPtr		/* new */,	xkbControlsNotify *	/* pCN */,        Bool			/* forceCtrlProc */#endif);extern	void XkbSendControlsNotify(#if NeedFunctionPrototypes       DeviceIntPtr		/* kbd */,       xkbControlsNotify *	/* ev */#endif);extern	void XkbSendCompatMapNotify(#if NeedFunctionPrototypes	DeviceIntPtr		/* kbd */,	xkbCompatMapNotify *	/* ev */#endif);extern	void XkbSendIndicatorNotify(#if NeedFunctionPrototypes       DeviceIntPtr		/* kbd */,       int			/* xkbType */,       xkbIndicatorNotify *	/* ev */#endif);extern	void XkbHandleBell(#if NeedFunctionPrototypes       BOOL		/* force */,       BOOL		/* eventOnly */,       DeviceIntPtr	/* kbd */,       CARD8		/* percent */,       pointer 		/* ctrl */,       CARD8		/* class */,       Atom		/* name */,       WindowPtr	/* pWin */,       ClientPtr	/* pClient */#endif);extern	void XkbSendAccessXNotify(#if NeedFunctionPrototypes       DeviceIntPtr		/* kbd */,       xkbAccessXNotify *	/* pEv */#endif);extern	void XkbSendNamesNotify(#if NeedFunctionPrototypes       DeviceIntPtr	/* kbd */,       xkbNamesNotify *	/* ev */#endif);extern	void XkbSendCompatNotify(#if NeedFunctionPrototypes       DeviceIntPtr		/* kbd */,       xkbCompatMapNotify *	/* ev */#endif);extern	void XkbSendActionMessage(#if NeedFunctionPrototypes       DeviceIntPtr		/* kbd */,       xkbActionMessage *	/* ev */#endif);extern	void XkbSendExtensionDeviceNotify(#if NeedFunctionPrototypes       DeviceIntPtr			/* kbd */,       ClientPtr			/* client */,       xkbExtensionDeviceNotify *	/* ev */#endif);extern void XkbSendNotification(#if NeedFunctionPrototypes    DeviceIntPtr		/* kbd */,    XkbChangesPtr		/* pChanges */,    XkbEventCausePtr		/* cause */#endif);extern void XkbProcessKeyboardEvent(#if NeedFunctionPrototypes    struct _xEvent * 		/* xE */,    DeviceIntPtr		/* keybd */,    int 			/* count */#endif);extern void XkbProcessOtherEvent(#if NeedFunctionPrototypes    struct _xEvent * 		/* xE */,    DeviceIntPtr		/* keybd */,    int 			/* count */#endif);extern void XkbHandleActions(#if NeedFunctionPrototypes    DeviceIntPtr		/* dev */,    DeviceIntPtr		/* kbd */,    struct _xEvent * 		/* xE */,    int 			/* count */#endif);extern Bool XkbEnableDisableControls(#if NeedFunctionPrototypes    XkbSrvInfoPtr	/* xkbi */,    unsigned long	/* change */,    unsigned long	/* newValues */,    XkbChangesPtr	/* changes */,    XkbEventCausePtr	/* cause */#endif);extern void AccessXInit(#if NeedFunctionPrototypes    DeviceIntPtr        /* dev */#endif);extern Bool AccessXFilterPressEvent(#if NeedFunctionPrototypes    register struct _xEvent *	/* xE */,    register DeviceIntPtr	/* keybd */,    int				/* count */#endif);extern Bool AccessXFilterReleaseEvent(#if NeedFunctionPrototypes    register struct _xEvent *	/* xE */,    register DeviceIntPtr	/* keybd */,    int				/* count */#endif);extern void AccessXCancelRepeatKey(#if NeedFunctionPrototypes    XkbSrvInfoPtr	/* xkbi */,    KeyCode		/* key */#endif);extern void AccessXComputeCurveFactor(#if NeedFunctionPrototypes    XkbSrvInfoPtr	/* xkbi */,    XkbControlsPtr	/* ctrls */#endif);extern	XkbDeviceLedInfoPtr	XkbAddDeviceLedInfo(#if NeedFunctionPrototypes	XkbDeviceInfoPtr	/* devi */,	unsigned int		/* ledClass */,	unsigned int		/* ledId */#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 Status XkbResizeDeviceButtonActions(#if NeedFunctionPrototypes        XkbDeviceInfoPtr        /* devi */,        unsigned int            /* newTotal */#endif);extern	XkbInterestPtr XkbFindClientResource(#if NeedFunctionPrototypes       DevicePtr	/* inDev */,       ClientPtr	/* client */#endif);extern	XkbInterestPtr XkbAddClientResource(#if NeedFunctionPrototypes       DevicePtr	/* inDev */,       ClientPtr	/* client */,       XID		/* id */#endif);extern	int XkbRemoveClient(#if NeedFunctionPrototypes       DevicePtr	/* inDev */,       ClientPtr	/* client */#endif);extern	int XkbRemoveResourceClient(#if NeedFunctionPrototypes       DevicePtr	/* inDev */,       XID		/* id */#endif);extern int XkbDDXInitDevice(#if NeedFunctionPrototypes    DeviceIntPtr        /* dev */#endif);extern	int XkbDDXAccessXBeep(#if NeedFunctionPrototypes    DeviceIntPtr        /* dev */,    unsigned int	/* what */,    unsigned int	/* which */#endif);extern	void XkbDDXKeyClick(#if NeedFunctionPrototypes    DeviceIntPtr	/* dev */,    int			/* keycode */,    int			/* synthetic */#endif);extern 	int XkbDDXUsesSoftRepeat(#if NeedFunctionPrototypes    DeviceIntPtr	/* dev */#endif);extern	void XkbDDXKeybdCtrlProc(#if NeedFunctionPrototypes	DeviceIntPtr	/* dev */,	KeybdCtrl *	/* ctrl */#endif);extern void XkbDDXChangeControls(#if NeedFunctionPrototypes	DeviceIntPtr	/* dev */,	XkbControlsPtr 	/* old */,	XkbControlsPtr 	/* new */#endif);extern void XkbDDXUpdateIndicators(#if NeedFunctionPrototypes	DeviceIntPtr	/* keybd */,	CARD32		/* newState */#endif);extern void XkbDDXUpdateDeviceIndicators(#if NeedFunctionPrototypes	DeviceIntPtr		/* dev */,	XkbSrvLedInfoPtr	/* sli */,	CARD32			/* newState */#endif);extern void XkbDDXFakePointerButton(#if NeedFunctionPrototypes	int 		/* event */,	int		/* button */#endif);extern void XkbDDXFakePointerMotion(#if NeedFunctionPrototypes 	unsigned int	/* flags */,	int		/* x */,	int		/* y */#endif);extern void XkbDDXFakeDeviceButton(#if NeedFunctionPrototypes	DeviceIntPtr	/* dev */,	Bool		/* press */,	int		/* button */#endif);extern int XkbDDXTerminateServer(#if NeedFunctionPrototypes	DeviceIntPtr	/* dev */,	KeyCode		/* key */,	XkbAction *	/* act */#endif);extern int XkbDDXSwitchScreen(#if NeedFunctionPrototypes	DeviceIntPtr	/* dev */,	KeyCode		/* key */,	XkbAction *	/* act */#endif);extern void XkbDisableComputedAutoRepeats(#if NeedFunctionPrototypes	DeviceIntPtr 	/* pXDev */,	unsigned int	/* key */#endif);extern void XkbSetRepeatKeys(#if NeedFunctionPrototypes	DeviceIntPtr 	/* pXDev */,	int		/* key */,	int	 	/* onoff */#endif);extern	int XkbLatchModifiers(#if NeedFunctionPrototypes	DeviceIntPtr 	/* pXDev */,	CARD8 		/* mask */,	CARD8 		/* latches */#endif);extern	int XkbLatchGroup(#if NeedFunctionPrototypes	DeviceIntPtr  	/* pXDev */,	int	  	/* group */#endif);extern	void XkbClearAllLatchesAndLocks(#if NeedFunctionPrototypes	DeviceIntPtr		/* dev */,	XkbSrvInfoPtr		/* xkbi */,	Bool			/* genEv */,	XkbEventCausePtr	/* cause */#endif);extern	void	XkbSetRulesDflts(#if NeedFunctionPrototypes	char *			/* rulesFile */,	char *			/* model */,	char *			/* layout */,	char *			/* variant */,	char *			/* options */#endif);extern	void	XkbInitDevice(#if NeedFunctionPrototypes	DeviceIntPtr 	/* pXDev */#endif);extern	Bool	XkbInitKeyboardDeviceStruct(#if NeedFunctionPrototypes	DeviceIntPtr 		/* pXDev */,	XkbComponentNamesPtr	/* pNames */,	KeySymsPtr		/* pSyms */,	CARD8 			/* pMods */[],	BellProcPtr		/* bellProc */,	KbdCtrlProcPtr		/* ctrlProc */#endif);extern	void	XkbInitDevice(#if NeedFunctionPrototypes	DeviceIntPtr 		/* pXDev */#endif);extern	int SProcXkbDispatch(#if NeedFunctionPrototypes	ClientPtr		/* client */#endif);extern XkbGeometryPtr XkbLookupNamedGeometry(#if NeedFunctionPrototypes	DeviceIntPtr		/* dev */,	Atom			/* name */,	Bool *			/* shouldFree */#endif);extern char *	_XkbDupString(#if NeedFunctionPrototypes	char *			/* str */#endif);extern void	XkbConvertCase(#if NeedFunctionPrototypes	KeySym 			/* sym */,	KeySym *		/* lower */,	KeySym *		/* upper */#endif);extern	Status	 XkbChangeKeycodeRange(	#if NeedFunctionPrototypes	XkbDescPtr		/* xkb */,	int 			/* minKC */,	int 			/* maxKC */,	XkbChangesPtr		/* changes */#endif);#ifdef XKBSRV_NEED_FILE_FUNCS#include "extensions/XKMformat.h"#include "extensions/XKBfile.h"#include "extensions/XKBrules.h"#define	_XkbListKeymaps		0#define	_XkbListKeycodes	1#define	_XkbListTypes		2#define	_XkbListCompat		3#define	_XkbListSymbols		4#define	_XkbListGeometry	5#define	_XkbListNumComponents	6typedef struct _XkbSrvListInfo {	int		szPool;	int		nPool;	char *		pool;	int		maxRtrn;	int		nTotal;	char *		pattern[_XkbListNumComponents];	int		nFound[_XkbListNumComponents];} XkbSrvListInfoRec,*XkbSrvListInfoPtr;char *XkbGetRulesDflts(#if NeedFunctionPrototypes	XkbRF_VarDefsPtr	/* defs */#endif);extern void	XkbSetRulesUsed(#if NeedFunctionPrototypes	XkbRF_VarDefsPtr	/* defs */#endif);extern	Status	XkbDDXList(#if NeedFunctionPrototypes	DeviceIntPtr		/* dev */,	XkbSrvListInfoPtr	/* listing */,	ClientPtr		/* client */#endif);extern	unsigned int XkbDDXLoadKeymapByNames(#if NeedFunctionPrototypes	DeviceIntPtr		/* keybd */,	XkbComponentNamesPtr	/* names */,	unsigned int		/* want */,	unsigned int		/* need */,	XkbFileInfoPtr		/* finfoRtrn */,	char *			/* keymapNameRtrn */,	int 			/* keymapNameRtrnLen */#endif);extern	Bool XkbDDXNamesFromRules(#if NeedFunctionPrototypes	DeviceIntPtr		/* keybd */,	char *			/* rules */,	XkbRF_VarDefsPtr	/* defs */,	XkbComponentNamesPtr	/* names */#endif);extern	FILE *XkbDDXOpenConfigFile(#if NeedFunctionPrototypes	char *	/* mapName */,	char *	/* fileNameRtrn */,	int	/* fileNameRtrnLen */#endif);extern	Bool XkbDDXApplyConfig(#if NeedFunctionPrototypes	XPointer	/* cfg_in */,	XkbSrvInfoPtr	/* xkbi */#endif);extern XPointer XkbDDXPreloadConfig(#if NeedFunctionPrototypes	char **			/* rulesFileRtrn */,	XkbRF_VarDefsPtr	/* defs */,	XkbComponentNamesPtr	/* names */,	DeviceIntPtr		/* dev */#endif);extern	int XkbDDXUsesSoftRepeat(#if NeedFunctionPrototypes	DeviceIntPtr 	/* pXDev */#endif);extern	void XkbDDXFakePointerMotion(#if NeedFunctionPrototypes	unsigned int		/* flags */,	int			/* x */,	int			/* y */#endif);extern	int _XkbStrCaseCmp(#if NeedFunctionPrototypes	char *			/* str1 */,	char *			/* str2 */#endif);#endif /* XKBSRV_NEED_FILE_FUNCS */_XFUNCPROTOEND#define	XkbAtomGetString(d,s)	NameForAtom(s)#endif /* _XKBSRV_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -