Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xnest / Pointer.h
CommitLineData
a09e091a
JB
1/*
2
3Copyright 1993 by Davor Matic
4
5Permission to use, copy, modify, distribute, and sell this software
6and its documentation for any purpose is hereby granted without fee,
7provided that the above copyright notice appear in all copies and that
8both that copyright notice and this permission notice appear in
9supporting documentation. Davor Matic makes no representations about
10the suitability of this software for any purpose. It is provided "as
11is" without express or implied warranty.
12
13*/
14
15#ifndef XNESTPOINTER_H
16#define XNESTPOINTER_H
17
18#define MAXBUTTONS 256
19
20#define XNEST_POINTER_EVENT_MASK \
21 (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \
22 EnterWindowMask | LeaveWindowMask)
23
24extern DeviceIntPtr xnestPointerDevice;
25
26void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl * ctrl);
27int xnestPointerProc(DeviceIntPtr pDev, int onoff);
28
29#endif /* XNESTPOINTER_H */