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