| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: decIo.c,v 1.1 2004/01/18 05:21:41 rtr Exp $ */ | | 1 | /* $NetBSD: decIo.c,v 1.2 2011/05/24 21:22:28 jakllsch Exp $ */ |
2 | | | 2 | |
3 | /* XConsortium: sunIo.c,v 5.26.1.3 95/01/25 23:02:33 kaleb Exp */ | | 3 | /* XConsortium: sunIo.c,v 5.26.1.3 95/01/25 23:02:33 kaleb Exp */ |
4 | /* XFree86: xc/programs/Xserver/hw/sun/sunIo.c,v 3.1 1995/01/28 15:46:06 dawes Exp */ | | 4 | /* XFree86: xc/programs/Xserver/hw/sun/sunIo.c,v 3.1 1995/01/28 15:46:06 dawes Exp */ |
5 | /*- | | 5 | /*- |
6 | * sunIo.c -- | | 6 | * sunIo.c -- |
7 | * Functions to handle input from the keyboard and mouse. | | 7 | * Functions to handle input from the keyboard and mouse. |
8 | * | | 8 | * |
9 | * Copyright (c) 1987 by the Regents of the University of California | | 9 | * Copyright (c) 1987 by the Regents of the University of California |
10 | * | | 10 | * |
11 | * Permission to use, copy, modify, and distribute this | | 11 | * Permission to use, copy, modify, and distribute this |
12 | * software and its documentation for any purpose and without | | 12 | * software and its documentation for any purpose and without |
13 | * fee is hereby granted, provided that the above copyright | | 13 | * fee is hereby granted, provided that the above copyright |
14 | * notice appear in all copies. The University of California | | 14 | * notice appear in all copies. The University of California |
| @@ -39,26 +39,27 @@ implied warranty. | | | @@ -39,26 +39,27 @@ implied warranty. |
39 | | | 39 | |
40 | SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | | 40 | SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
41 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT- | | 41 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT- |
42 | NESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE LI- | | 42 | NESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE LI- |
43 | ABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR | | 43 | ABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR |
44 | ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR | | 44 | ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
45 | PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | | 45 | PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
46 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH | | 46 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH |
47 | THE USE OR PERFORMANCE OF THIS SOFTWARE. | | 47 | THE USE OR PERFORMANCE OF THIS SOFTWARE. |
48 | | | 48 | |
49 | ********************************************************/ | | 49 | ********************************************************/ |
50 | | | 50 | |
51 | #define NEED_EVENTS | | 51 | #define NEED_EVENTS |
| | | 52 | #include "mi.h" |
52 | #include "dec.h" | | 53 | #include "dec.h" |
53 | | | 54 | |
54 | /*- | | 55 | /*- |
55 | *----------------------------------------------------------------------- | | 56 | *----------------------------------------------------------------------- |
56 | * ProcessInputEvents -- | | 57 | * ProcessInputEvents -- |
57 | * Retrieve all waiting input events and pass them to DIX in their | | 58 | * Retrieve all waiting input events and pass them to DIX in their |
58 | * correct chronological order. Only reads from the system pointer | | 59 | * correct chronological order. Only reads from the system pointer |
59 | * and keyboard. | | 60 | * and keyboard. |
60 | * | | 61 | * |
61 | * Results: | | 62 | * Results: |
62 | * None. | | 63 | * None. |
63 | * | | 64 | * |
64 | * Side Effects: | | 65 | * Side Effects: |