4c221b0da1816acf2ca302b10092df059484468dvboxsync/************************************************************
4c221b0da1816acf2ca302b10092df059484468dvboxsyncCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
4c221b0da1816acf2ca302b10092df059484468dvboxsync All Rights Reserved
4c221b0da1816acf2ca302b10092df059484468dvboxsyncPermission to use, copy, modify, and distribute this software and its
4c221b0da1816acf2ca302b10092df059484468dvboxsyncdocumentation for any purpose and without fee is hereby granted,
4c221b0da1816acf2ca302b10092df059484468dvboxsyncprovided that the above copyright notice appear in all copies and that
4c221b0da1816acf2ca302b10092df059484468dvboxsyncboth that copyright notice and this permission notice appear in
4c221b0da1816acf2ca302b10092df059484468dvboxsyncsupporting documentation, and that the name of the above listed
4c221b0da1816acf2ca302b10092df059484468dvboxsynccopyright holder(s) not be used in advertising or publicity pertaining
4c221b0da1816acf2ca302b10092df059484468dvboxsyncto distribution of the software without specific, written prior
4c221b0da1816acf2ca302b10092df059484468dvboxsyncTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
4c221b0da1816acf2ca302b10092df059484468dvboxsyncTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4c221b0da1816acf2ca302b10092df059484468dvboxsyncAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
4c221b0da1816acf2ca302b10092df059484468dvboxsyncLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
4c221b0da1816acf2ca302b10092df059484468dvboxsyncWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
4c221b0da1816acf2ca302b10092df059484468dvboxsyncACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
4c221b0da1816acf2ca302b10092df059484468dvboxsyncOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4c221b0da1816acf2ca302b10092df059484468dvboxsync********************************************************/
4c221b0da1816acf2ca302b10092df059484468dvboxsync/********************************************************************
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Interface of 'exevents.c'
4c221b0da1816acf2ca302b10092df059484468dvboxsync/***************************************************************
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Interface available to drivers *
4c221b0da1816acf2ca302b10092df059484468dvboxsync ***************************************************************/
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern _X_EXPORT int InitProximityClassDeviceStruct(
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* axnum */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* minval */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* maxval */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* resolution */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* min_res */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* max_res */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* mode */);
4c221b0da1816acf2ca302b10092df059484468dvboxsync/* Input device properties */
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* format*/,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* mode*/,
4c221b0da1816acf2ca302b10092df059484468dvboxsync unsigned long /* len*/,
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern _X_EXPORT DeviceIntPtr XIGetDevice(xEvent *ev);
4c221b0da1816acf2ca302b10092df059484468dvboxsync/****************************************************************************
4c221b0da1816acf2ca302b10092df059484468dvboxsync * End of driver interface *
4c221b0da1816acf2ca302b10092df059484468dvboxsync ****************************************************************************/
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Attached to the devPrivates of each client. Specifies the version number as
4c221b0da1816acf2ca302b10092df059484468dvboxsync * supported by the client.
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* type */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* mode */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* detail */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* button */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* key */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* type */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* mskidx */);
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* count */);
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* nElts */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync unsigned /* len */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* type */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* type */,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* maskndx */);
4c221b0da1816acf2ca302b10092df059484468dvboxsync int /* count */);
4c221b0da1816acf2ca302b10092df059484468dvboxsync/* For an event such as MappingNotify which affects client interpretation
4c221b0da1816acf2ca302b10092df059484468dvboxsync * of input events sent by device dev, should we notify the client, or
4c221b0da1816acf2ca302b10092df059484468dvboxsync * would it merely be irrelevant and confusing? */
4c221b0da1816acf2ca302b10092df059484468dvboxsyncXISendDeviceChangedEvent(DeviceIntPtr device, DeviceIntPtr master,
4c221b0da1816acf2ca302b10092df059484468dvboxsyncXISetEventMask(DeviceIntPtr dev, WindowPtr win, ClientPtr client,
4c221b0da1816acf2ca302b10092df059484468dvboxsyncXICheckInvalidMaskBits(ClientPtr client, unsigned char *mask, int len);
4c221b0da1816acf2ca302b10092df059484468dvboxsync#endif /* EXEVENTS_H */