diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-09-01 17:06:27 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-09-01 17:06:27 +0000 |
commit | 9422e41fd85a38500b63752658671e5445f46b63 (patch) | |
tree | 8846b4d6028258f0c41281793d53ce167fa2e5db /sys/dev/usb | |
parent | 584ab1ffd445243cb95c6e743d7aad93e184456d (diff) |
- Add bthidev(4), from NetBSD.
- Make btms(4) and btkbd(4) compile.
- Removed remaining proplib NetBSD'sim
Prodded a while ago by gwk@. Eyeballed by miod@.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/usbhid.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h index 1ce0cd31cbf..dad6a50b29b 100644 --- a/sys/dev/usb/usbhid.h +++ b/sys/dev/usb/usbhid.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbhid.h,v 1.9 2007/06/09 11:06:53 mbalmer Exp $ */ +/* $OpenBSD: usbhid.h,v 1.10 2007/09/01 17:06:26 xsa Exp $ */ /* $NetBSD: usbhid.h,v 1.11 2001/12/28 00:20:24 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbhid.h,v 1.7 1999/11/17 22:33:51 n_hibma Exp $ */ @@ -172,6 +172,9 @@ typedef struct usb_hid_descriptor { #define HUD_LED_COMPOSE 0x0004 #define HUD_LED_KANA 0x0005 +/* Usages, Consumer */ +#define HUC_AC_PAN 0x0238 + #define HID_USAGE2(p, u) (((p) << 16) | u) #define HID_GET_USAGE(u) ((u) & 0xffff) #define HID_GET_USAGE_PAGE(u) (((u) >> 16) & 0xffff) |