AccessXstruct.h revision 551
551N/A * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 551N/A * Use is subject to license terms. 551N/A * Permission is hereby granted, free of charge, to any person obtaining a 551N/A * copy of this software and associated documentation files (the 551N/A * "Software"), to deal in the Software without restriction, including 551N/A * without limitation the rights to use, copy, modify, merge, publish, 551N/A * distribute, and/or sell copies of the Software, and to permit persons 551N/A * to whom the Software is furnished to do so, provided that the above 551N/A * copyright notice(s) and this permission notice appear in all copies of 551N/A * the Software and that both the above copyright notice(s) and this 551N/A * permission notice appear in supporting documentation. 551N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 551N/A * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 551N/A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 551N/A * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 551N/A * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 551N/A * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 551N/A * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 551N/A * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 551N/A * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 551N/A * Except as contained in this notice, the name of a copyright holder 551N/A * shall not be used in advertising or otherwise to promote the sale, use 551N/A * or other dealings in this Software without prior written authorization 551N/A * of the copyright holder. 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 defines structures private to the server extension */ 551N/A/* 11-Jun-1993 WDW & MEN */ 551N/A/* Develop sample implementation. */ 551N/A/************************************************************************/ 551N/A/************************************************************************ 551N/A * AccessXTime - needed because GetTimeInMillis returns different 551N/A * types depending upon the processor. 551N/A/************************************************************************ 551N/A * AccessXInfo - used by the extension to keep track of everything. 551N/A /* Only one client is allowed */ 551N/A /* one and only event that the */ 551N/A /* extension will send. */ 551N/A /* in the form of a bitmask. */ 551N/A /* For example, is mouse keys */ 551N/A /* on, is sticky keys on? */ 551N/A /* which the AccessX features */ 551N/A /* should be turned off if */ 551N/A /* there aren't any input evts.*/ 551N/A /* until we reach max speed. */ 551N/A /* when at maximum speed. */ 551N/A /* between MouseKeys actions. */ 551N/A /* sequence to turn on MouseKs */ 551N/A /* with mouseKeysCtrlMask. */ 551N/A /* what modifiers are latched */ 551N/A /* what modifiers are locked */ 551N/A /* to be pressed before it is */ 551N/A /* accepted as a real KeyPress.*/ 551N/A /* between release and press */ 551N/A /* of the same key before it */ 551N/A /* will be accepted. */ 551N/A /* accepted as a real KeyPress.*/ 551N/A /* a key begins to autorepeat. */ 551N/A /* handling rate of repeat. */ 551N/A /* KRG is turned on. */ 551N/A /* mouseKeys is turned on. */ 551N/A /* on right now. For example, */ 551N/A /* is the mouse moving, or is */ 551N/A /* the KRG hot key being held? */ 551N/A /* being pressed by the user. */ 551N/A /* key is modifier and what */ 551N/A /* are physically down. */ 551N/A /* shift key has been pressed */ 551N/A /* pressed by the user. */ 551N/A /* last modifier pressed. */ 551N/A /* acted upon by the user. */ 551N/A /* when it is released. */ 551N/A#
endif /* ACCESSX_STRUCT_HH */