1515N/A* Copyright (c) 1993, 2015, Oracle and/or its affiliates. All rights reserved. 551N/A* Permission is hereby granted, free of charge, to any person obtaining a 919N/A* copy of this software and associated documentation files (the "Software"), 919N/A* to deal in the Software without restriction, including without limitation 919N/A* the rights to use, copy, modify, merge, publish, distribute, sublicense, 919N/A* and/or sell copies of the Software, and to permit persons to whom the 919N/A* Software is furnished to do so, subject to the following conditions: 919N/A* The above copyright notice and this permission notice (including the next 919N/A* paragraph) shall be included in all copies or substantial portions of the 919N/A* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 919N/A* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 919N/A* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 919N/A* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 919N/A* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 919N/A* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 919N/A* DEALINGS IN THE SOFTWARE. 551N/A/************************************************************************/ 551N/A/* Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993 */ 551N/A/* by Digital Equipment Corp., Maynard, MA */ 551N/A/* Permission to use, copy, modify, and distribute this software */ 551N/A/* and its documentation for any purpose and without fee is hereby */ 551N/A/* granted, provided that the above copyright notice appear in all */ 551N/A/* copies and that both that copyright notice and this permission */ 551N/A/* notice appear in supporting documentation, and that the name of */ 551N/A/* Digital not be used in advertising or publicity pertaining to */ 551N/A/* distribution of the software without specific, written prior */ 551N/A/* DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, */ 551N/A/* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND */ 551N/A/* FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, */ 551N/A/* INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER */ 551N/A/* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN */ 551N/A/* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */ 551N/A/* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE */ 551N/A/************************************************************************/ 551N/A/************************************************************************/ 551N/A/* This module provides the client library functions necessary for */ 551N/A/* an AccessX client to communicate with the AccessX server */ 551N/A/* 11-Jun-1993 WDW & MEN */ 551N/A/* Develop sample implementation. */ 551N/A/************************************************************************/ 551N/A/************************************************************************/ 551N/A/* XAccessXWireToEvent - takes a raw event off the wire an converts it */ 551N/A/* into an Xlib event structure. */ 551N/A/************************************************************************/ 551N/A}
/* XAccessXWireToEvent */ 551N/A/************************************************************************/ 551N/A/* XAccessXQueryExtension */ 551N/A/* This routine returns TRUE if the AccessX extension is */ 551N/A/* available on the given display. */ 551N/A/************************************************************************/ 551N/A}
/* XAccessXQueryExtension */ 551N/A/************************************************************************/ 551N/A/* XAccessXQueryVersion */ 551N/A/* This routine sends an X_AccessXQueryVersion request to the */ 551N/A/* AccessX extension on the server, and then waits for a reply. */ 551N/A/************************************************************************/ 551N/A /* Send the request and wait for the reply. 551N/A}
/* XAccessXQueryVersion */ 551N/A/************************************************************************/ 551N/A/* XAccessXSelectInput */ 551N/A/* This routine sends an X_AccessXSelectInput request to the */ 551N/A/* AccessX extension on the server. */ 551N/A/************************************************************************/ 551N/A}
/* XAccessXSelectInput */ 551N/A/************************************************************************/ 551N/A/* XAccessXQueryState */ 551N/A/* This routine sends an X_AccessXQueryState request to the */ 551N/A/* AccessX extension on the server, and then waits for a reply. */ 551N/A/************************************************************************/ 551N/A /* Send the request and wait for the reply. 551N/A}
/* XAccessXQueryState */ 551N/A/************************************************************************/ 551N/A/* This routine sends an X_AccessXConfigure request to the */ 551N/A/* AccessX extension on the server. */ 551N/A/************************************************************************/ 551N/A}
/* XAccessXConfigure */ 551N/A/************************************************************************/ 551N/A/* XAccessXGetMouseKeys */ 551N/A/* This routine sends an X_AccessXGetMouseKeys request to the */ 551N/A/* AccessX extension on the server, and then waits for a reply. */ 551N/A/************************************************************************/ 551N/A /* Send the request and wait for the reply. 551N/A return;
/* NOthing for now */ 551N/A}
/* XAccessXGetMouseKeys */ 551N/A/************************************************************************/ 551N/A/* XAccessXSetMouseKey */ 551N/A/* This routine sends an X_AccessXSetMouseKey request to the */ 551N/A/* AccessX extension in the server. */ 551N/A/************************************************************************/ 551N/A return;
/* Nothing for now */ 551N/A}
/* XAccessXSetMouseKey */ 551N/A/************************************************************************/ 551N/A/* Initialize the connection with the AccessX server extension. */ 551N/A/************************************************************************/ 551N/A /* Find the AccessX extension 551N/A/************************************************************************/ 551N/A/************************************************************************/ 551N/A /* The AccessX extension will spit out only one event type, 551N/A * and this the type accessXEventBase. The intrinsics do not 551N/A * have a graceful way to allow extensions to add events to 551N/A * XtAppMainLoop, so it is necessary to write our own which 551N/A * checks for accessXEventBase. 551N/A}
/* XAccessXAppMainLoop */