add #defines for ADB and pseudo mice

This commit is contained in:
macallan 2007-01-19 20:59:45 +00:00
parent 226df6aaef
commit cf6c447564
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsconsio.h,v 1.83 2006/12/26 05:54:00 rumble Exp $ */
/* $NetBSD: wsconsio.h,v 1.84 2007/01/19 20:59:45 macallan Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -75,7 +75,7 @@ struct wscons_event {
#define WSCONS_EVENT_MOUSE_DELTA_W 14 /* W delta amount */
#define WSCONS_EVENT_MOUSE_ABSOLUTE_W 15 /* W location */
#define WSCONS_EVENT_ASCII 13 /* data is an ASCII code */
/*
* Keyboard ioctls (0 - 31)
*/
@ -203,6 +203,8 @@ struct wskbd_scroll_data {
#define WSMOUSE_TYPE_MAPLE 12 /* Dreamcast Maple mouse */
#define WSMOUSE_TYPE_SGI 13 /* SGI mouse */
#define WSMOUSE_TYPE_BLUETOOTH 14 /* Bluetooth mouse */
#define WSMOUSE_TYPE_ADB 15 /* ADB mouse or touchpad */
#define WSMOUSE_TYPE_PSEUDO 16 /* not actually a mouse */
/* Set resolution. Not applicable to all mouse types. */
#define WSMOUSEIO_SRES _IOW('W', 33, u_int)