Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | /* |
2 | * Copyright 2002-2003 Red Hat Inc., Durham, North Carolina. | |
3 | * | |
4 | * All Rights Reserved. | |
5 | * | |
6 | * Permission is hereby granted, free of charge, to any person obtaining | |
7 | * a copy of this software and associated documentation files (the | |
8 | * "Software"), to deal in the Software without restriction, including | |
9 | * without limitation on the rights to use, copy, modify, merge, | |
10 | * publish, distribute, sublicense, and/or sell copies of the Software, | |
11 | * and to permit persons to whom the Software is furnished to do so, | |
12 | * subject to the following conditions: | |
13 | * | |
14 | * The above copyright notice and this permission notice (including the | |
15 | * next paragraph) shall be included in all copies or substantial | |
16 | * portions of the Software. | |
17 | * | |
18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
21 | * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS | |
22 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | |
23 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |
24 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
25 | * SOFTWARE. | |
26 | */ | |
27 | ||
28 | /* | |
29 | * Authors: | |
30 | * Rickard E. (Rik) Faith <faith@redhat.com> | |
31 | * | |
32 | */ | |
33 | ||
34 | /** \file | |
35 | * | |
36 | * This file implements support required by the XINPUT extension. | |
37 | */ | |
38 | ||
39 | #ifdef HAVE_DMX_CONFIG_H | |
40 | #include <dmx-config.h> | |
41 | #endif | |
42 | ||
43 | #include <X11/X.h> | |
44 | #include <X11/Xproto.h> | |
45 | #include "inputstr.h" | |
46 | #include <X11/extensions/XI.h> | |
47 | #include <X11/extensions/XIproto.h> | |
48 | #include "XIstubs.h" | |
49 | ||
50 | #include "mipointer.h" | |
51 | #include "dmxinputinit.h" | |
52 | #include "exevents.h" | |
53 | ||
54 | /** Set device mode to \a mode. This is not implemented. */ | |
55 | int | |
56 | SetDeviceMode(ClientPtr client, DeviceIntPtr dev, int mode) | |
57 | { | |
58 | return BadMatch; | |
59 | } | |
60 | ||
61 | /** Set device valuators. This is not implemented. */ | |
62 | int | |
63 | SetDeviceValuators(ClientPtr client, | |
64 | DeviceIntPtr dev, | |
65 | int *valuators, int first_valuator, int num_valuators) | |
66 | { | |
67 | return BadMatch; | |
68 | } | |
69 | ||
70 | /** Change device control. This is not implemented. */ | |
71 | int | |
72 | ChangeDeviceControl(ClientPtr client, DeviceIntPtr dev, xDeviceCtl * control) | |
73 | { | |
74 | return BadMatch; | |
75 | } |