sysmouse.c (142692) | sysmouse.c (153072) |
---|---|
1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/syscons/sysmouse.c 142692 2005-02-27 21:16:26Z phk $"); | 29__FBSDID("$FreeBSD: head/sys/dev/syscons/sysmouse.c 153072 2005-12-04 02:12:43Z ru $"); |
30 31#include "opt_syscons.h" 32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/conf.h> 36#include <sys/tty.h> 37#include <sys/kernel.h> --- 168 unchanged lines hidden (view full) --- 206 mouse_status.flags = 0; 207 mouse_status.obutton = mouse_status.button; 208 mouse_status.dx = 0; 209 mouse_status.dy = 0; 210 mouse_status.dz = 0; 211 splx(s); 212 return 0; 213 | 30 31#include "opt_syscons.h" 32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/conf.h> 36#include <sys/tty.h> 37#include <sys/kernel.h> --- 168 unchanged lines hidden (view full) --- 206 mouse_status.flags = 0; 207 mouse_status.obutton = mouse_status.button; 208 mouse_status.dx = 0; 209 mouse_status.dy = 0; 210 mouse_status.dz = 0; 211 splx(s); 212 return 0; 213 |
214#if notyet | 214#ifdef notyet |
215 case MOUSE_GETVARS: /* get internal mouse variables */ 216 case MOUSE_SETVARS: /* set internal mouse variables */ 217 return ENODEV; 218#endif 219 220 case MOUSE_READSTATE: /* read status from the device */ 221 case MOUSE_READDATA: /* read data from the device */ 222 return ENODEV; --- 100 unchanged lines hidden --- | 215 case MOUSE_GETVARS: /* get internal mouse variables */ 216 case MOUSE_SETVARS: /* set internal mouse variables */ 217 return ENODEV; 218#endif 219 220 case MOUSE_READSTATE: /* read status from the device */ 221 case MOUSE_READDATA: /* read data from the device */ 222 return ENODEV; --- 100 unchanged lines hidden --- |