2 /* Prototypes for Pointer/Keyboard functions that the DDX must provide */
4 #ifdef HAVE_DIX_CONFIG_H
5 #include <dix-config.h>
8 #ifndef _XF86MISCPROC_H_
9 #define _XF86MISCPROC_H_
46 #define MISC_MSEFLAG_CLEARDTR 1
47 #define MISC_MSEFLAG_CLEARRTS 2
48 #define MISC_MSEFLAG_REOPEN 128
50 void XFree86MiscExtensionInit(void);
52 Bool
MiscExtGetMouseSettings(pointer
*mouse
, char **devname
);
53 int MiscExtGetMouseValue(pointer mouse
, MiscExtMseValType valtype
);
54 Bool
MiscExtSetMouseValue(pointer mouse
, MiscExtMseValType valtype
, int value
);
55 Bool
MiscExtGetKbdSettings(pointer
*kbd
);
56 int MiscExtGetKbdValue(pointer kbd
, MiscExtKbdValType valtype
);
57 Bool
MiscExtSetKbdValue(pointer kbd
, MiscExtKbdValType valtype
, int value
);
58 int MiscExtSetGrabKeysState(ClientPtr client
, int enable
);
59 pointer
MiscExtCreateStruct(MiscExtStructType mse_or_kbd
);
60 void MiscExtDestroyStruct(pointer structure
, MiscExtStructType mse_or_kbd
);
61 MiscExtReturn
MiscExtApply(pointer structure
, MiscExtStructType mse_or_kbd
);
62 Bool
MiscExtSetMouseDevice(pointer mouse
, char* device
);
63 Bool
MiscExtGetFilePaths(const char **configfile
, const char **modulepath
,
64 const char **logfile
);
65 int MiscExtPassMessage(int scrn
, const char *msgtype
, const char *msgval
,