ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync/*
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * xtestext1.h
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync *
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * X11 Input Synthesis Extension include file
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync/*
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncCopyright 1986, 1987, 1988, 1998 The Open Group
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncPermission to use, copy, modify, distribute, and sell this software and its
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncdocumentation for any purpose is hereby granted without fee, provided that
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncthe above copyright notice appear in all copies and that both that
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsynccopyright notice and this permission notice appear in supporting
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncdocumentation.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncThe above copyright notice and this permission notice shall be included in
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncall copies or substantial portions of the Software.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncExcept as contained in this notice, the name of The Open Group shall not be
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncused in advertising or otherwise to promote the sale, use or other dealings
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncin this Software without prior written authorization from The Open Group.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncCopyright 1986, 1987, 1988 by Hewlett-Packard Corporation
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncPermission to use, copy, modify, and distribute this
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncsoftware and its documentation for any purpose and without
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncfee is hereby granted, provided that the above copyright
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncnotice appear in all copies and that both that copyright
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncnotice and this permission notice appear in supporting
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncdocumentation, and that the name of Hewlett-Packard not be used in
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncadvertising or publicity pertaining to distribution of the
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncsoftware without specific, written prior permission.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncHewlett-Packard makes no representations about the
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncsuitability of this software for any purpose. It is provided
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync"as is" without express or implied warranty.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncThis software is not subject to any license of the American
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncTelephone and Telegraph Company or of the Regents of the
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncUniversity of California.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync*/
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync#ifndef _XTESTEXT1_H
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync#define _XTESTEXT1_H
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync/*
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * the typedefs for CARD8, CARD16, and CARD32 are defined in Xmd.h
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync#include <X11/extensions/xtestext1const.h>
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync/*
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * This is the definition for the input action host format event structure.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * This is the form that a client using this extension will see when
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * it receives an input action event.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsynctypedef struct {
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync int type; /* always XTestInputActionType */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync Display *display;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync Window window;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync CARD8 actions[XTestACTIONS_SIZE];
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync} XTestInputActionEvent;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync/*
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * This is the definition for the xTestFakeAck host format event structure.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * This is the form that a client using this extension will see when
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync * it receives an XTestFakeAck event.
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsynctypedef struct {
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync int type; /* always XTestFakeAckType */
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync Display *display;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync Window window;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync} XTestFakeAckEvent;
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync_XFUNCPROTOBEGIN
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestFakeInput(register Display *dpy, char *action_list_addr, int action_list_size, int ack_flag);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestGetInput(register Display *dpy, int action_handling);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestQueryInputSize(register Display *dpy, unsigned long *size_return);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsigned int key_action);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_number, unsigned int button_action);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsigned int count);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestFlush(Display *display);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestStopInput(register Display *dpy);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsyncint XTestReset(register Display *dpy);
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync_XFUNCPROTOEND
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync
ae3b356f74cf4942fdd85f8b0544af62f8161656vboxsync#endif /* _XTESTEXT1_H */