diff options
author | Joshua Stein <jcs@cvs.openbsd.org> | 2020-05-31 18:15:38 +0000 |
---|---|---|
committer | Joshua Stein <jcs@cvs.openbsd.org> | 2020-05-31 18:15:38 +0000 |
commit | f39862bd815ebbf8e461f7471ca13ef253aa79e9 (patch) | |
tree | b30fef0d897265e799dc5f64bce0b752bf039676 /sys/dev/hid | |
parent | 313fc8c0aaa22cd3b9830866544b743746394b08 (diff) |
add umstc(4) for Microsoft Surface Type Cover keyboards
Diffstat (limited to 'sys/dev/hid')
-rw-r--r-- | sys/dev/hid/hid.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/hid/hid.h b/sys/dev/hid/hid.h index 17de4065e0c..dd9586d7cc2 100644 --- a/sys/dev/hid/hid.h +++ b/sys/dev/hid/hid.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hid.h,v 1.6 2019/12/17 13:08:54 reyk Exp $ */ +/* $OpenBSD: hid.h,v 1.7 2020/05/31 18:15:37 jcs Exp $ */ /* $NetBSD: hid.h,v 1.8 2002/07/11 21:14:25 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/hid.h,v 1.7 1999/11/17 22:33:40 n_hibma Exp $ */ @@ -396,6 +396,11 @@ int hid_is_collection(const void *, int, uint8_t, int32_t); #define HUL_KANA 0x0005 /* Usages, Consumer */ +#define HUC_CONTROL 0x0001 +#define HUC_PLAY_PAUSE 0x00cd +#define HUC_MUTE 0x00e2 +#define HUC_VOL_INC 0x00e9 +#define HUC_VOL_DEC 0x00ea #define HUC_AC_PAN 0x0238 /* Usages, FIDO */ |