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 | int
|
---|
30 | ChangeKeyboardDevice (
|
---|
31 | DeviceIntPtr /* old_dev */,
|
---|
32 | DeviceIntPtr /* new_dev */);
|
---|
33 |
|
---|
34 | int
|
---|
35 | ChangePointerDevice (
|
---|
36 | DeviceIntPtr /* old_dev */,
|
---|
37 | DeviceIntPtr /* new_dev */,
|
---|
38 | unsigned char /* x */,
|
---|
39 | unsigned char /* y */);
|
---|
40 |
|
---|
41 | void
|
---|
42 | CloseInputDevice (
|
---|
43 | DeviceIntPtr /* d */,
|
---|
44 | ClientPtr /* client */);
|
---|
45 |
|
---|
46 | void
|
---|
47 | AddOtherInputDevices (void);
|
---|
48 |
|
---|
49 | void
|
---|
50 | OpenInputDevice (
|
---|
51 | DeviceIntPtr /* dev */,
|
---|
52 | ClientPtr /* client */,
|
---|
53 | int * /* status */);
|
---|
54 |
|
---|
55 | int
|
---|
56 | SetDeviceMode (
|
---|
57 | ClientPtr /* client */,
|
---|
58 | DeviceIntPtr /* dev */,
|
---|
59 | int /* mode */);
|
---|
60 |
|
---|
61 | int
|
---|
62 | SetDeviceValuators (
|
---|
63 | ClientPtr /* client */,
|
---|
64 | DeviceIntPtr /* dev */,
|
---|
65 | int * /* valuators */,
|
---|
66 | int /* first_valuator */,
|
---|
67 | int /* num_valuators */);
|
---|
68 |
|
---|
69 | int
|
---|
70 | ChangeDeviceControl (
|
---|
71 | ClientPtr /* client */,
|
---|
72 | DeviceIntPtr /* dev */,
|
---|
73 | xDeviceCtl * /* control */);
|
---|
74 |
|
---|
75 | #endif /* XI_STUBS_H */
|
---|