1 | /*
|
---|
2 | * Copyright (c) 1997-1999 by The XFree86 Project, Inc.
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _X_MOUSEPRIV_H
|
---|
6 | #define _X_MOUSEPRIV_H
|
---|
7 |
|
---|
8 | #include "mouse.h"
|
---|
9 | #include "xf86Xinput.h"
|
---|
10 | /* Private interface for the mouse driver. */
|
---|
11 |
|
---|
12 | typedef struct {
|
---|
13 | const char * name;
|
---|
14 | int class;
|
---|
15 | const char ** defaults;
|
---|
16 | MouseProtocolID id;
|
---|
17 | } MouseProtocolRec, *MouseProtocolPtr;
|
---|
18 |
|
---|
19 | #ifndef VBOX
|
---|
20 | typedef struct {
|
---|
21 | int state;
|
---|
22 | } ps2PrivRec, *ps2PrivPtr;
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | /* mouse proto flags */
|
---|
26 | #define MPF_NONE 0x00
|
---|
27 | #define MPF_SAFE 0x01
|
---|
28 |
|
---|
29 | /* pnp.c */
|
---|
30 | int MouseGetPnpProtocol(InputInfoPtr pInfo);
|
---|
31 |
|
---|
32 | #ifdef VBOX
|
---|
33 | typedef struct
|
---|
34 | {
|
---|
35 | int screen_no;
|
---|
36 | ScreenPtr pScrn;
|
---|
37 | int ps2_state;
|
---|
38 | } mousePrivRec, *mousePrivPtr;
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | #endif /* _X_MOUSE_H */
|
---|