1
/* $XFree86: xc/programs/Xserver/Xext/xf86miscproc.h,v 1.5 2002/11/20 04:04:58 dawes Exp $ */
3
/* Prototypes for Pointer/Keyboard functions that the DDX must provide */
5
#ifdef HAVE_DIX_CONFIG_H
6
#include <dix-config.h>
9
#ifndef _XF86MISCPROC_H_
10
#define _XF86MISCPROC_H_
47
#define MISC_MSEFLAG_CLEARDTR 1
48
#define MISC_MSEFLAG_CLEARRTS 2
49
#define MISC_MSEFLAG_REOPEN 128
51
void XFree86MiscExtensionInit(void);
53
Bool MiscExtGetMouseSettings(pointer *mouse, char **devname);
54
int MiscExtGetMouseValue(pointer mouse, MiscExtMseValType valtype);
55
Bool MiscExtSetMouseValue(pointer mouse, MiscExtMseValType valtype, int value);
56
Bool MiscExtGetKbdSettings(pointer *kbd);
57
int MiscExtGetKbdValue(pointer kbd, MiscExtKbdValType valtype);
58
Bool MiscExtSetKbdValue(pointer kbd, MiscExtKbdValType valtype, int value);
59
int MiscExtSetGrabKeysState(ClientPtr client, int enable);
60
pointer MiscExtCreateStruct(MiscExtStructType mse_or_kbd);
61
void MiscExtDestroyStruct(pointer structure, MiscExtStructType mse_or_kbd);
62
MiscExtReturn MiscExtApply(pointer structure, MiscExtStructType mse_or_kbd);
63
Bool MiscExtSetMouseDevice(pointer mouse, char* device);
64
Bool MiscExtGetFilePaths(const char **configfile, const char **modulepath,
65
const char **logfile);
66
int MiscExtPassMessage(int scrn, const char *msgtype, const char *msgval,