summaryrefslogtreecommitdiff
path: root/src/class/hid/hid.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-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
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-04remove duplicated enumhathach
2025-08-20add some consumer page configsohmdelta
2025-02-07add full hid usage for Digitizer Page (0x0D), move thing around a bit.hathach
2024-12-23trimed trailing whitespaces.Jay
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-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
2023-09-12Add HID Lighting and Illumination functionalityRyan Solorzano
2023-03-30remove trailing space (satisfy pre-commit flow)tobozo
2023-03-30Merge branch 'hathach:master' into mastertobozo
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-12-05rename to match fido sample uf2_hid..hhathach
2022-10-15hid: add fido hid descriptor templatesgaoyichuan
2022-04-25Merge branch 'hathach:master' into mastertobozo
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-02stick to struct naming conventiontobozo
2022-03-02added Absolute Mouse report structtobozo
2022-02-25enhance dual role exampleshathach
2022-02-17fix HID_REPORT_ID_N()hathach
2021-08-10correct newline usage keycode (ENTER 0x28)hathach
2021-06-09use alias for button naminghathach
2021-06-09Change buttons to start from 0Marcelo Bezerra
2021-06-09update gamepad helperhathach
2021-06-09indent fixMarcelo Bezerra
2021-06-09Fix comment in hid.hMarcelo 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-09remove excess empty linesMarcelo Bezerra
2021-06-09clean upMarcelo Bezerra
2021-06-09Add optional support for 32 gamepad buttonsMarcelo Bezerra
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18update hid report descriptor macrohathach
2021-05-18more host hid APIhathach
adding hid parser
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-03-30correct hid key enter = 0x28, return = 0x9Ehathach
2021-03-30add hid keys from 0x6B to 0xA4hathach
2021-02-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2021-02-08enhance gampepad report with dpad/hat supporthathach
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_ enum
2020-04-20add extra comma to HID_REPORT_IDhathach
this make the template with Report ID look less weird to the user
2020-01-15Normalize line endingsNathan Conrad
2019-12-17add "`" and "~" to keycode -> ASCII tablesamveen
2019-12-16[tusb]fix typo in commentsamveen