From: anton Date: Fri, 20 Aug 2021 05:19:08 +0000 (+0000) Subject: add consumer control hid usages, will be used by ucc(4) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=af4580cd55dcc5d8bd4e96e9a000f927fee09f21;p=openbsd add consumer control hid usages, will be used by ucc(4) --- 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