![]() |
|
|||
File indexing completed on 2025-03-13 09:29:42
0001 /* 0002 * xtestext1.h 0003 * 0004 * X11 Input Synthesis Extension include file 0005 */ 0006 0007 /* 0008 0009 0010 Copyright 1986, 1987, 1988, 1998 The Open Group 0011 0012 Permission to use, copy, modify, distribute, and sell this software and its 0013 documentation for any purpose is hereby granted without fee, provided that 0014 the above copyright notice appear in all copies and that both that 0015 copyright notice and this permission notice appear in supporting 0016 documentation. 0017 0018 The above copyright notice and this permission notice shall be included in 0019 all copies or substantial portions of the Software. 0020 0021 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0022 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0023 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0024 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 0025 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0026 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0027 0028 Except as contained in this notice, the name of The Open Group shall not be 0029 used in advertising or otherwise to promote the sale, use or other dealings 0030 in this Software without prior written authorization from The Open Group. 0031 0032 0033 Copyright 1986, 1987, 1988 by Hewlett-Packard Corporation 0034 0035 Permission to use, copy, modify, and distribute this 0036 software and its documentation for any purpose and without 0037 fee is hereby granted, provided that the above copyright 0038 notice appear in all copies and that both that copyright 0039 notice and this permission notice appear in supporting 0040 documentation, and that the name of Hewlett-Packard not be used in 0041 advertising or publicity pertaining to distribution of the 0042 software without specific, written prior permission. 0043 0044 Hewlett-Packard makes no representations about the 0045 suitability of this software for any purpose. It is provided 0046 "as is" without express or implied warranty. 0047 0048 This software is not subject to any license of the American 0049 Telephone and Telegraph Company or of the Regents of the 0050 University of California. 0051 0052 */ 0053 0054 #ifndef _XTESTEXT1_H 0055 #define _XTESTEXT1_H 0056 /* 0057 * the typedefs for CARD8, CARD16, and CARD32 are defined in Xmd.h 0058 */ 0059 0060 #include <X11/extensions/xtestext1const.h> 0061 /* 0062 * This is the definition for the input action host format event structure. 0063 * This is the form that a client using this extension will see when 0064 * it receives an input action event. 0065 */ 0066 typedef struct { 0067 int type; /* always XTestInputActionType */ 0068 Display *display; 0069 Window window; 0070 CARD8 actions[XTestACTIONS_SIZE]; 0071 } XTestInputActionEvent; 0072 0073 /* 0074 * This is the definition for the xTestFakeAck host format event structure. 0075 * This is the form that a client using this extension will see when 0076 * it receives an XTestFakeAck event. 0077 */ 0078 typedef struct { 0079 int type; /* always XTestFakeAckType */ 0080 Display *display; 0081 Window window; 0082 } XTestFakeAckEvent; 0083 0084 _XFUNCPROTOBEGIN 0085 0086 int XTestFakeInput(register Display *dpy, char *action_list_addr, int action_list_size, int ack_flag); 0087 int XTestGetInput(register Display *dpy, int action_handling); 0088 int XTestQueryInputSize(register Display *dpy, unsigned long *size_return); 0089 int XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsigned int key_action); 0090 int XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_number, unsigned int button_action); 0091 int XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsigned int count); 0092 int XTestFlush(Display *display); 0093 int XTestStopInput(register Display *dpy); 0094 int XTestReset(register Display *dpy); 0095 0096 _XFUNCPROTOEND 0097 0098 #endif /* _XTESTEXT1_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |