1 | /*
|
---|
2 | * Copyright (c) 1997-1999 by The XFree86 Project, Inc.
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef MOUSE_H_
|
---|
6 | #define MOUSE_H_
|
---|
7 |
|
---|
8 | /* Mouse Protocol IDs. */
|
---|
9 | typedef enum {
|
---|
10 | PROT_UNKNOWN = -2,
|
---|
11 | PROT_UNSUP = -1, /* protocol is not supported */
|
---|
12 | PROT_MS = 0,
|
---|
13 | PROT_MSC,
|
---|
14 | PROT_MM,
|
---|
15 | PROT_LOGI,
|
---|
16 | PROT_LOGIMAN,
|
---|
17 | PROT_MMHIT,
|
---|
18 | PROT_GLIDE,
|
---|
19 | PROT_IMSERIAL,
|
---|
20 | PROT_THINKING,
|
---|
21 | PROT_ACECAD,
|
---|
22 | PROT_PS2,
|
---|
23 | PROT_IMPS2,
|
---|
24 | PROT_EXPPS2,
|
---|
25 | PROT_THINKPS2,
|
---|
26 | PROT_MMPS2,
|
---|
27 | PROT_GLIDEPS2,
|
---|
28 | PROT_NETPS2,
|
---|
29 | PROT_NETSCPS2,
|
---|
30 | PROT_BM,
|
---|
31 | PROT_AUTO,
|
---|
32 | PROT_SYSMOUSE,
|
---|
33 | PROT_NUMPROTOS /* This must always be last. */
|
---|
34 | } MouseProtocolID;
|
---|
35 |
|
---|
36 | const char * xf86MouseProtocolIDToName(MouseProtocolID id);
|
---|
37 | MouseProtocolID xf86MouseProtocolNameToID(const char *name);
|
---|
38 |
|
---|
39 | #endif
|
---|