From a9e4071913ef1ce32cb4a1581d5683ad56627ec2 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 18 Feb 2019 14:06:09 +0000 Subject: hid: Add HID and Report descriptors HID implementations must provide a HID and a Report descriptor. This patch adds these descriptors. The Report descriptor is copied from the Nitrokey Pro. As the control_in implementation in usb-device only handles GET_DESCRIPTOR requests on the device level, we have to change the control_in method in HidClass to handle GET_DESCRIPTOR on interface level (required for the Report descriptor). --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 7570d2e..2b0a285 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ SPDX-License-Identifier: CC0-1.0 development and supports: - connecting as a USB device with the Nitrokey Pro’s product and vendor ID +- connecting as a HID class device ## Resources -- cgit v1.2.1