diff options
author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2020-10-06 19:42:22 +0000 |
---|---|---|
committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2021-01-07 23:18:42 +0000 |
commit | 961a3535db3ca1d330e5ddf96419ef3904738ae6 (patch) | |
tree | 3bfa3f0843fc095bcd98f4b981e24df1061425f0 /sys/modules/hid/Makefile | |
parent | eead9017d28366016dece0dbc027c5baefcf2cfe (diff) | |
download | src-961a3535db3ca1d330e5ddf96419ef3904738ae6.tar.gz src-961a3535db3ca1d330e5ddf96419ef3904738ae6.zip |
hid: Import HID transport method definitions and helper functions.
Create an abstract HID interface that provides hardware independent
access to HID capabilities and functions through the device tree.
hid_if.m resembles existing USBHID KPI and consist of next methods:
HID method USBHID variant
-----------------------------------------------------------------------
hid_intr_setup usbd_transfer_setup (INTERRUPT IN xfer)
hid_intr_unsetup usbd_transfer_unsetup (INTERRUPT IN xfer)
hid_intr_start usbd_transfer_start (INTERRUPT IN xfer)
hid_intr_stop usbd_transfer_drain (INTERRUPT IN xfer)
hid_intr_poll usbd_transfer_poll (INTERRUPT IN xfer)
hid_get_rdesc usbd_req_get_report_descriptor
hid_read No direct analog. Not intended for common use.
hid_write uhid(4) write()
hid_get_report usbd_req_get_report
hid_set_report usbd_req_set_report
hid_set_idle usbd_req_set_idle
hid_set_protocol usbd_req_set_protocol
This change is part of D27888
Diffstat (limited to 'sys/modules/hid/Makefile')
0 files changed, 0 insertions, 0 deletions