145f60b5bStsutsui/* $NetBSD: x68kIo.c,v 1.5 2025/06/22 22:29:23 tsutsui Exp $ */ 2ba64b02eStsutsui/*------------------------------------------------------------------------- 3ba64b02eStsutsui * Copyright (c) 1996 Yasushi Yamasaki 4ba64b02eStsutsui * All rights reserved. 5ba64b02eStsutsui * 6ba64b02eStsutsui * Redistribution and use in source and binary forms, with or without 7ba64b02eStsutsui * modification, are permitted provided that the following conditions 8ba64b02eStsutsui * are met: 9ba64b02eStsutsui * 1. Redistributions of source code must retain the above copyright 10ba64b02eStsutsui * notice, this list of conditions and the following disclaimer. 11ba64b02eStsutsui * 2. Redistributions in binary form must reproduce the above copyright 12ba64b02eStsutsui * notice, this list of conditions and the following disclaimer in the 13ba64b02eStsutsui * documentation and/or other materials provided with the distribution. 14ba64b02eStsutsui * 15ba64b02eStsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16ba64b02eStsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17ba64b02eStsutsui * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18ba64b02eStsutsui * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19ba64b02eStsutsui * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20ba64b02eStsutsui * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21ba64b02eStsutsui * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22ba64b02eStsutsui * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23ba64b02eStsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24ba64b02eStsutsui * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25ba64b02eStsutsui *-----------------------------------------------------------------------*/ 26ba64b02eStsutsui 27ba64b02eStsutsui/*- 28ba64b02eStsutsui * 29ba64b02eStsutsui * Copyright (c) 1987 by the Regents of the University of California 30ba64b02eStsutsui * 31ba64b02eStsutsui * Permission to use, copy, modify, and distribute this 32ba64b02eStsutsui * software and its documentation for any purpose and without 33ba64b02eStsutsui * fee is hereby granted, provided that the above copyright 34ba64b02eStsutsui * notice appear in all copies. The University of California 35ba64b02eStsutsui * makes no representations about the suitability of this 36ba64b02eStsutsui * software for any purpose. It is provided "as is" without 37ba64b02eStsutsui * express or implied warranty. 38ba64b02eStsutsui * 39ba64b02eStsutsui * 40ba64b02eStsutsui */ 41ba64b02eStsutsui 42ba64b02eStsutsui/************************************************************ 43ba64b02eStsutsuiCopyright 1987 by Sun Microsystems, Inc. Mountain View, CA. 44ba64b02eStsutsui 45ba64b02eStsutsui All Rights Reserved 46ba64b02eStsutsui 47ba64b02eStsutsuiPermission to use, copy, modify, and distribute this 48ba64b02eStsutsuisoftware and its documentation for any purpose and without 49ba64b02eStsutsuifee is hereby granted, provided that the above copyright no- 50ba64b02eStsutsuitice appear in all copies and that both that copyright no- 51ba64b02eStsutsuitice and this permission notice appear in supporting docu- 52ba64b02eStsutsuimentation, and that the names of Sun or X Consortium 53ab290810Stsutsuinot be used in advertising or publicity pertaining to 54ab290810Stsutsuidistribution of the software without specific prior 55ab290810Stsutsuiwritten permission. Sun and X Consortium make no 56ab290810Stsutsuirepresentations about the suitability of this software for 57ab290810Stsutsuiany purpose. It is provided "as is" without any express or 58ba64b02eStsutsuiimplied warranty. 59ba64b02eStsutsui 60ba64b02eStsutsuiSUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 61ba64b02eStsutsuiINCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT- 62ba64b02eStsutsuiNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE LI- 63ba64b02eStsutsuiABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 64ba64b02eStsutsuiANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 65ba64b02eStsutsuiPROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 66ba64b02eStsutsuiOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 67ba64b02eStsutsuiTHE USE OR PERFORMANCE OF THIS SOFTWARE. 68ba64b02eStsutsui 69ba64b02eStsutsui********************************************************/ 70ba64b02eStsutsui 71ba64b02eStsutsui#include "x68k.h" 72ba64b02eStsutsui#include "mi.h" 73ba64b02eStsutsui 74ba64b02eStsutsui/*-------------------------------------------------------------------- 75ba64b02eStsutsui * ProcessInputEvents -- 76ba64b02eStsutsui * Retrieve all waiting input events and pass them to DIX in their 77ba64b02eStsutsui * correct chronological order. Only reads from the system pointer 78ba64b02eStsutsui * and keyboard. 79ba64b02eStsutsui * 80ba64b02eStsutsui * Results: 81ba64b02eStsutsui * None. 82ba64b02eStsutsui * 83ba64b02eStsutsui * Side Effects: 84ba64b02eStsutsui * Events are passed to the DIX layer. 85ba64b02eStsutsui * 86ba64b02eStsutsui *-----------------------------------------------------------------*/ 87ba64b02eStsutsuivoid 88ba64b02eStsutsuiProcessInputEvents(void) 89ba64b02eStsutsui{ 90ba64b02eStsutsui (void) mieqProcessInputEvents (); 91ba64b02eStsutsui} 92ba64b02eStsutsui 93ba64b02eStsutsui/* EOF x68kIo.c */ 94