dmxmotion.h revision deb4998ba50060c48cce222fd18a8eed053918d7
2N/A/* $XFree86$ */
2N/A/*
2N/A * Copyright 2002 Red Hat Inc., Durham, North Carolina.
2N/A *
2N/A * All Rights Reserved.
2N/A *
2N/A * Permission is hereby granted, free of charge, to any person obtaining
2N/A * a copy of this software and associated documentation files (the
2N/A * "Software"), to deal in the Software without restriction, including
2N/A * without limitation on the rights to use, copy, modify, merge,
2N/A * publish, distribute, sublicense, and/or sell copies of the Software,
2N/A * and to permit persons to whom the Software is furnished to do so,
2N/A * subject to the following conditions:
2N/A *
2N/A * The above copyright notice and this permission notice (including the
2N/A * next paragraph) shall be included in all copies or substantial
2N/A * portions of the Software.
2N/A *
2N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2N/A * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2N/A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2N/A * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
2N/A * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
2N/A * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2N/A * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2N/A * SOFTWARE.
2N/A */
2N/A
2N/A/*
2N/A * Authors:
2N/A * Rickard E. (Rik) Faith <faith@redhat.com>
2N/A *
2N/A */
2N/A
2N/A/** \file
2N/A * Interface to functions supporting motion events. \see dmxmotion.c */
2N/A
2N/A#ifndef _DMXMOTION_H_
2N/A#define _DMXMOTION_H_
2N/A
2N/Aextern int dmxPointerGetMotionBufferSize(void);
2N/Aextern int dmxPointerGetMotionEvents(DeviceIntPtr pDevice,
2N/A xTimecoord *coords,
2N/A unsigned long start,
2N/A unsigned long stop,
2N/A ScreenPtr pScreen);
2N/Aextern void dmxPointerPutMotionEvent(DeviceIntPtr pDevice,
2N/A int firstAxis, int axesCount, int *v,
2N/A unsigned long time);
2N/A#endif
2N/A