Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152426613
D50549.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
570 B
Referenced Files
None
Subscribers
None
D50549.diff
View Options
diff --git a/sys/dev/hid/hid.h b/sys/dev/hid/hid.h
--- a/sys/dev/hid/hid.h
+++ b/sys/dev/hid/hid.h
@@ -57,6 +57,7 @@
#define HUP_SCALE 0x008c
#define HUP_CAMERA_CONTROL 0x0090
#define HUP_ARCADE 0x0091
+#define HUP_FIDO 0xf1d0
#define HUP_MICROSOFT 0xff00
/* Usages, generic desktop */
@@ -161,6 +162,9 @@
#define HUC_HEADPHONE 0x0005
#define HUC_AC_PAN 0x0238
+/* Usages, FIDO */
+#define HUF_U2FHID 0x0001
+
#define HID_USAGE2(p,u) (((p) << 16) | (u))
#define HID_GET_USAGE(u) ((u) & 0xffff)
#define HID_GET_USAGE_PAGE(u) (((u) >> 16) & 0xffff)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 15, 9:44 PM (1 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31520430
Default Alt Text
D50549.diff (570 B)
Attached To
Mode
D50549: hid.h: Add U2F usage tables constants
Attached
Detach File
Event Timeline
Log In to Comment