1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
4 |
|
---|
5 | All Rights Reserved
|
---|
6 |
|
---|
7 | Permission to use, copy, modify, and distribute this software and its
|
---|
8 | documentation for any purpose and without fee is hereby granted,
|
---|
9 | provided that the above copyright notice appear in all copies and that
|
---|
10 | both that copyright notice and this permission notice appear in
|
---|
11 | supporting documentation, and that the name of the above listed
|
---|
12 | copyright holder(s) not be used in advertising or publicity pertaining
|
---|
13 | to distribution of the software without specific, written prior
|
---|
14 | permission.
|
---|
15 |
|
---|
16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
---|
17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
---|
19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
---|
21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
---|
22 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
23 |
|
---|
24 | ********************************************************/
|
---|
25 |
|
---|
26 | #ifndef XI_STUBS_H
|
---|
27 | #define XI_STUBS_H 1
|
---|
28 |
|
---|
29 | extern _X_EXPORT void
|
---|
30 | CloseInputDevice (
|
---|
31 | DeviceIntPtr /* d */,
|
---|
32 | ClientPtr /* client */);
|
---|
33 |
|
---|
34 | extern _X_EXPORT void
|
---|
35 | AddOtherInputDevices (void);
|
---|
36 |
|
---|
37 | extern _X_EXPORT void
|
---|
38 | OpenInputDevice (
|
---|
39 | DeviceIntPtr /* dev */,
|
---|
40 | ClientPtr /* client */,
|
---|
41 | int * /* status */);
|
---|
42 |
|
---|
43 | extern _X_EXPORT int
|
---|
44 | SetDeviceMode (
|
---|
45 | ClientPtr /* client */,
|
---|
46 | DeviceIntPtr /* dev */,
|
---|
47 | int /* mode */);
|
---|
48 |
|
---|
49 | extern _X_EXPORT int
|
---|
50 | SetDeviceValuators (
|
---|
51 | ClientPtr /* client */,
|
---|
52 | DeviceIntPtr /* dev */,
|
---|
53 | int * /* valuators */,
|
---|
54 | int /* first_valuator */,
|
---|
55 | int /* num_valuators */);
|
---|
56 |
|
---|
57 | extern _X_EXPORT int
|
---|
58 | ChangeDeviceControl (
|
---|
59 | ClientPtr /* client */,
|
---|
60 | DeviceIntPtr /* dev */,
|
---|
61 | xDeviceCtl * /* control */);
|
---|
62 |
|
---|
63 | #endif /* XI_STUBS_H */
|
---|