diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:56 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:56 +0000 |
commit | c9c7e96897229ba1d457a58f66121dd1f9210382 (patch) | |
tree | d8172467d82f1c8fb2e7fa68438b587785f26346 /src/mouse.h | |
parent | 95b194f6e3456b46c2f994f4f6655fabfcf89c76 (diff) | |
download | xorg-driver-xf86-input-mouse-c9c7e96897229ba1d457a58f66121dd1f9210382.tar.gz |
Initial revisionXORG-STABLE
Diffstat (limited to 'src/mouse.h')
-rw-r--r-- | src/mouse.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mouse.h b/src/mouse.h new file mode 100644 index 0000000..76295c7 --- /dev/null +++ b/src/mouse.h @@ -0,0 +1,42 @@ +/* $XFree86: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.h,v 1.11 2002/09/16 18:06:07 eich Exp $ */ + +/* + * Copyright (c) 1997-1999 by The XFree86 Project, Inc. + */ + +#ifndef MOUSE_H_ +#define MOUSE_H_ + +/* Mouse Protocol IDs. */ +typedef enum { + PROT_UNKNOWN = -2, + PROT_UNSUP = -1, /* protocol is not supported */ + PROT_MS = 0, + PROT_MSC, + PROT_MM, + PROT_LOGI, + PROT_LOGIMAN, + PROT_MMHIT, + PROT_GLIDE, + PROT_IMSERIAL, + PROT_THINKING, + PROT_ACECAD, + PROT_PS2, + PROT_GENPS2, + PROT_IMPS2, + PROT_EXPPS2, + PROT_THINKPS2, + PROT_MMPS2, + PROT_GLIDEPS2, + PROT_NETPS2, + PROT_NETSCPS2, + PROT_BM, + PROT_AUTO, + PROT_SYSMOUSE, + PROT_NUMPROTOS /* This must always be last. */ +} MouseProtocolID; + +const char * xf86MouseProtocolIDToName(MouseProtocolID id); +MouseProtocolID xf86MouseProtocolNameToID(const char *name); + +#endif |