summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2021-08-20 05:19:09 +0000
committeranton <anton@cvs.openbsd.org>2021-08-20 05:19:09 +0000
commit104af7cc3a7e743dc7967ebca4d195ac66be9ad9 (patch)
tree620528f4cecbd227a68b60fc2d527bfab690c88f
parentfa97a14b68ead961aa2051e7f41f271acd130537 (diff)
add consumer control hid usages, will be used by ucc(4)
-rw-r--r--sys/dev/hid/hid.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/hid/hid.h b/sys/dev/hid/hid.h
index dd9586d7cc2..06f6350ed75 100644
--- a/sys/dev/hid/hid.h
+++ b/sys/dev/hid/hid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hid.h,v 1.7 2020/05/31 18:15:37 jcs Exp $ */
+/* $OpenBSD: hid.h,v 1.8 2021/08/20 05:19:08 anton 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 $ */
@@ -397,6 +397,9 @@ int hid_is_collection(const void *, int, uint8_t, int32_t);
/* Usages, Consumer */
#define HUC_CONTROL 0x0001
+#define HUC_TRACK_NEXT 0x00b5
+#define HUC_TRACK_PREV 0x00b6
+#define HUC_STOP 0x00b7
#define HUC_PLAY_PAUSE 0x00cd
#define HUC_MUTE 0x00e2
#define HUC_VOL_INC 0x00e9