XIstubs.h revision 6747b715
105b261ecSmrg/************************************************************
205b261ecSmrg
305b261ecSmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
405b261ecSmrg
505b261ecSmrg                        All Rights Reserved
605b261ecSmrg
705b261ecSmrgPermission to use, copy, modify, and distribute this software and its
805b261ecSmrgdocumentation for any purpose and without fee is hereby granted,
905b261ecSmrgprovided that the above copyright notice appear in all copies and that
1005b261ecSmrgboth that copyright notice and this permission notice appear in
1105b261ecSmrgsupporting documentation, and that the name of the above listed
1205b261ecSmrgcopyright holder(s) not be used in advertising or publicity pertaining
1305b261ecSmrgto distribution of the software without specific, written prior
1405b261ecSmrgpermission.
1505b261ecSmrg
1605b261ecSmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
1705b261ecSmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1805b261ecSmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
1905b261ecSmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2005b261ecSmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2105b261ecSmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
2205b261ecSmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2305b261ecSmrg
2405b261ecSmrg********************************************************/
2505b261ecSmrg
2605b261ecSmrg#ifndef XI_STUBS_H
2705b261ecSmrg#define XI_STUBS_H 1
2805b261ecSmrg
296747b715Smrgextern _X_EXPORT void
3005b261ecSmrgCloseInputDevice (
3105b261ecSmrg	DeviceIntPtr           /* d */,
3205b261ecSmrg	ClientPtr              /* client */);
3305b261ecSmrg
346747b715Smrgextern _X_EXPORT void
3505b261ecSmrgAddOtherInputDevices (void);
3605b261ecSmrg
376747b715Smrgextern _X_EXPORT void
3805b261ecSmrgOpenInputDevice (
3905b261ecSmrg	DeviceIntPtr           /* dev */,
4005b261ecSmrg	ClientPtr              /* client */,
4105b261ecSmrg	int *                  /* status */);
4205b261ecSmrg
436747b715Smrgextern _X_EXPORT int
4405b261ecSmrgSetDeviceMode (
4505b261ecSmrg	ClientPtr              /* client */,
4605b261ecSmrg	DeviceIntPtr           /* dev */,
4705b261ecSmrg	int                    /* mode */);
4805b261ecSmrg
496747b715Smrgextern _X_EXPORT int
5005b261ecSmrgSetDeviceValuators (
5105b261ecSmrg	ClientPtr              /* client */,
5205b261ecSmrg	DeviceIntPtr           /* dev */,
5305b261ecSmrg	int *                  /* valuators */,
5405b261ecSmrg	int                    /* first_valuator */,
5505b261ecSmrg	int                    /* num_valuators */);
5605b261ecSmrg
576747b715Smrgextern _X_EXPORT int
5805b261ecSmrgChangeDeviceControl (
5905b261ecSmrg	ClientPtr             /* client */,
6005b261ecSmrg	DeviceIntPtr          /* dev */,
6105b261ecSmrg	xDeviceCtl *          /* control */);
6205b261ecSmrg
6305b261ecSmrg#endif /* XI_STUBS_H */
64