summaryrefslogtreecommitdiff
path: root/src/class/hid
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-06-15zero-extend usage page before copying shorter payloaddxbjavid
2026-06-12bound item size to remaining length in hid report descriptor parserdxbjavid
2026-05-04add default implementation for tuh_hid_report_received_cb()hathach
2026-03-18Update HID host to correctly handle protocol mode initialization and ↵hathach
CONFIG_GET_REPORT_DESC response
2026-03-17CFG_TUH_HID_SET_PROTOCOL_ON_ENUM option to skip set_protocol on enum, ↵hathach
default is 1
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-12-08Merge pull request #3340 from dinsfire64/hid-enum-fixHa Thach
remove hid host enumeration assumption
2025-11-20Revert "add find_hid_desc"hathach
support rare case where hid descriptor is after endpoint descriptor
2025-11-15add find_hid_descdin
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-10-05Fix HIS stylus descriptor and hid_composite exampleHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-27Merge pull request #3256 from hathach/weak_cbHa Thach
Migrate weak function override to new syntax, update delay api usage
2025-09-25Fix incorrect commentsLu Chang
Co-authored-by: Copilot <[email protected]>
2025-09-24Add HID Usage Page and Table for Power Devices (0x84 - 0x85)Lu Chang
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12Fix some IAR warningsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-04remove duplicated enumhathach
2025-08-20add some consumer page configsohmdelta
2025-07-09Add spec reference for 4-byte HID item sizeHa Thach
2025-07-09fix HID parser variable size handlingHa Thach
2025-07-08Fix HID descriptor parser size handlingHa Thach
2025-05-13fix warnings, minor clean uphathach
2025-02-07add full hid usage for Digitizer Page (0x0D), move thing around a bit.hathach
2025-02-07Merge branch 'refs/heads/master' into fork/jay94ks/styluspenhathach
2025-01-15src/class/hid/hid_host.c: fix logging calls for epbufDan Halbert
2024-12-23modified invalid marked unit exponent.Jay
2024-12-23trimed trailing whitespaces.Jay
2024-12-23Update hid_device.hJay
2024-12-23add hid stylus pen device.Jay
this works with android, for bypassing that absmouse does not support android. note that, to hide cursor on android for every touch signal, find cursor option in android settings menu. references: 1. https://stackoverflow.com/questions/28536602/hid-digitizer-descriptor-doesnt-perform-well-with-landscape-orientation 2. https://github.com/jonathanedgecombe/absmouse/blob/master/src/AbsMouse.cpp
2024-12-06Adding HID Usage Table Physical Input Device Page (0x0F)shdeb
2024-11-27minor clean uphathach
2024-11-26add TUH_EPBUF_DEF for hid hosthathach
2024-11-22apply TUD_EPBUF_DEF for device: bth, dfu, hid, mschathach
2024-11-21make sure usb buffer occupies whole cache line when DCACHE is enabled for ↵hathach
msc,cdc,hid HIL enable device DMA for p4
2024-08-09Marked the keycode parameter of the keyboard_report functions as const since ↵Hjalmar
the functions don't modifies the value
2024-07-19Merge pull request #2723 from liamfraser/rp2040_tweaksHa Thach
RP2040 tweaks
2024-07-18fix some clang compiler warningsgraham sanderson
2024-07-17minor update hid devicehathach
2024-07-17follow up to #2253hathach
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature - use default implementation for hid callbacks to be compatible with keil compiler - code format
2024-06-14minor updatehathach
2024-05-09Fix redefinitionJohn Toniutti
2024-05-09Add missing key codesJohn Toniutti
Source: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf from page 57 to page 59
2024-05-08Merge pull request #2252 from rsolorzanomsft/hid-lightingHiFiPhile
Add HID Lighting and Illumination functionality
2024-04-26Code format.HiFiPhile
2024-04-26Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253HiFiPhile
2024-04-26Simplify transfer failure cb.HiFiPhile
2024-04-26Add missing alignment.HiFiPhile