add consumer control hid usages, will be used by ucc(4)
authoranton <anton@openbsd.org>
Fri, 20 Aug 2021 05:19:08 +0000 (05:19 +0000)
committeranton <anton@openbsd.org>
Fri, 20 Aug 2021 05:19:08 +0000 (05:19 +0000)
sys/dev/hid/hid.h

index dd9586d..06f6350 100644 (file)
@@ -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