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