VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/xmouse/mousePriv.h@ 6054

Last change on this file since 6054 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 710 bytes
Line 
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
12typedef struct {
13 const char * name;
14 int class;
15 const char ** defaults;
16 MouseProtocolID id;
17} MouseProtocolRec, *MouseProtocolPtr;
18
19#ifndef VBOX
20typedef 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 */
30int MouseGetPnpProtocol(InputInfoPtr pInfo);
31
32#ifdef VBOX
33typedef struct
34{
35 int screen_no;
36 ScreenPtr pScrn;
37 int ps2_state;
38} mousePrivRec, *mousePrivPtr;
39#endif
40
41#endif /* _X_MOUSE_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette