/* * Copyright (c) 1997-1999 by The XFree86 Project, Inc. */ #ifndef _X_MOUSEPRIV_H #define _X_MOUSEPRIV_H #include "mouse.h" #include "xf86Xinput.h" /* Private interface for the mouse driver. */ typedef struct { const char * name; int class; const char ** defaults; MouseProtocolID id; } MouseProtocolRec, *MouseProtocolPtr; #ifndef VBOX typedef struct { int state; } ps2PrivRec, *ps2PrivPtr; #endif /* mouse proto flags */ #define MPF_NONE 0x00 #define MPF_SAFE 0x01 /* pnp.c */ int MouseGetPnpProtocol(InputInfoPtr pInfo); #ifdef VBOX typedef struct { int screen_no; ScreenPtr pScrn; int ps2_state; } mousePrivRec, *mousePrivPtr; #endif #endif /* _X_MOUSE_H */