svn commit: r360692 - head/sys/dev/usb

Andriy Gapon avg at FreeBSD.org
Wed May 6 15:24:32 UTC 2020


Author: avg
Date: Wed May  6 15:24:31 2020
New Revision: 360692
URL: https://svnweb.freebsd.org/changeset/base/360692

Log:
  usbhid: add several missing usages from Digitizer page
  
  This is applicable to HID in general, not just USB HID.
  
  Inspired by:	wulf
  MFC after:	1 week

Modified:
  head/sys/dev/usb/usbhid.h

Modified: head/sys/dev/usb/usbhid.h
==============================================================================
--- head/sys/dev/usb/usbhid.h	Wed May  6 15:10:05 2020	(r360691)
+++ head/sys/dev/usb/usbhid.h	Wed May  6 15:24:31 2020	(r360692)
@@ -174,7 +174,10 @@ struct usb_hid_descriptor {
 #define	HUD_CONTACTCOUNT	0x0054
 #define	HUD_CONTACT_MAX		0x0055
 #define	HUD_SCAN_TIME		0x0056
+#define	HUD_SURFACE_SWITCH	0x0057
+#define	HUD_BUTTONS_SWITCH	0x0058
 #define	HUD_BUTTON_TYPE		0x0059
+#define	HUD_LATENCY_MODE	0x0060
 
 /* Usages, Consumer */
 #define	HUC_AC_PAN		0x0238


More information about the svn-src-all mailing list