summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.h
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.
2025-10-05Fix HIS stylus descriptor and hid_composite exampleHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-02-07add full hid usage for Digitizer Page (0x0D), move thing around a bit.hathach
2024-12-23modified invalid marked unit exponent.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-08-09Marked the keycode parameter of the keyboard_report functions as const since ↵Hjalmar
the functions don't modifies the value
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-05-08Merge pull request #2252 from rsolorzanomsft/hid-lightingHiFiPhile
Add HID Lighting and Illumination functionality
2024-04-26Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253HiFiPhile
2024-04-26Simplify transfer failure cb.HiFiPhile
2024-04-08Merge pull request #1835 from MasterQ32/otg_bringupHa Thach
Implements deinit functions for host/device mode switch
2024-04-08add class driver deinithathach
2023-09-13Fixing warningRocky04
2023-09-13Error handling on transferRocky04
2023-09-12Update Lighting Descriptor Template commentRyan Solorzano
2023-09-12Add HID Lighting and Illumination functionalityRyan Solorzano
2023-03-30Added helpers for abs_mouse_reporttobozo
2023-03-30Merge branch 'hathach:master' into mastertobozo
2023-02-04change length in tud_hid_report_complete_cb() from uint8 to uint16hathach
2022-12-05Merge pull request #1776 from hathach/hid-fidoHa Thach
Hid fido
2022-12-05rename to match fido sample uf2_hid..hhathach
2022-12-04more typoshathach
2022-10-15hid: add configurable report size for fidogaoyichuan
2022-10-15hid: add fido hid descriptor templatesgaoyichuan
2022-07-17temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for ↵hathach
up coming release
2022-06-27change report len in hid API from uint8_t to uint16_thathach
since HS interrupt endpoint can be up to 1024, 8-bit is not enough. affected APIs are: - tud_hid_n_report() / tud_hid_report() - tud_hid_report_complete_cb()
2022-03-02added Absolute Mouse descriptor templatetobozo
2021-11-29correct 32 button in gamepad hid descriptor templatehathach
2021-08-31fix HID_LOGICAL_MAX overflow.MasterPhi
2021-08-26slightly change the keyboard descriptor template to pass usb compliant testhathach
2021-06-09miss a helperhathach
2021-06-09update gamepad helperhathach
2021-06-09re-adding ifdef removed accidentallyMarcelo Bezerra
2021-06-09Pull request changesMarcelo Bezerra
Remove configuration options and just bump number of buttons to 32 Fix button numbereing and comments in
2021-06-09clean upMarcelo Bezerra
2021-06-09Add optional support for 32 gamepad buttonsMarcelo Bezerra
2021-05-27include clean uphathach
2021-05-26Merge pull request #825 from ogatatsu/hid_descHa Thach
fix hid report descriptor
2021-05-18update hid host get/set protocol to match devicehathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18fix compilehathach
2021-05-18change hid device report len from uint8 to uint16hathach
2021-05-18more API renamehathach
2021-05-18fix build errorhathach
2021-05-18update to use HID spec protocol value for get/set_protocol()hathach
2021-05-18clean up, rename some HID device symbol/APIhathach
- add tud_hid_n_interface_protocol() - rename tud_hid_n_boot_mode() to tud_hid_n_get_protocol() - rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb() - add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1 - rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid confusion
2021-05-10fix hid report descriptorogatatsu
2021-02-24add itf argument to hid API to support multiple instanceshathach
following API signature is changed: - tud_hid_descriptor_report_cb() - tud_hid_get_report_cb() - tud_hid_set_report_cb() - tud_hid_boot_mode_cb() - tud_hid_set_idle_cb()
2021-02-09tud_hid_report_complete_cb() APIhathach
update hid composite to make use of tud_hid_report_complete_cb() for sending reports when possible.