aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-02-18 14:06:09 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-02-18 15:31:05 +0100
commita9e4071913ef1ce32cb4a1581d5683ad56627ec2 (patch)
treee75cc76b6fdaae931a3c6e0ebbfa7ded5212f56b /README.md
parentccbbf657743eb656f4e49b0204092b4450ffa7ba (diff)
downloadntw-a9e4071913ef1ce32cb4a1581d5683ad56627ec2.tar.gz
ntw-a9e4071913ef1ce32cb4a1581d5683ad56627ec2.tar.bz2
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).
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
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