Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: add hid_get_report_descriptor API function #451

Merged
merged 24 commits into from
Mar 12, 2023
Merged

RFC: add hid_get_report_descriptor API function #451

merged 24 commits into from
Mar 12, 2023

Commits on Feb 6, 2022

  1. add hid_get_report_descriptor API function

    - macOS implementation;
    - libusb: based on LIBUSB_REQUEST_GET_DESCRIPTOR/LIBUSB_DT_REPORT;
    - hidraw: based on HIDIOCGRDESC;
    - windows: based on HIDP_PREPARSED_DATA reverse-engineer/reconstruction;
    
    Author: JoergAtGithub <64457745+JoergAtGithub@users.noreply.github.com>
    Author: Ihor Dutchak <ihor.youw@gmail.com>
    Youw committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    a48f6d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. Configuration menu
    Copy the full SHA
    07d80f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2dacc46 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    987a416 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27251b3 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #427 from JoergAtGithub/merge_0_12_master_in_get_d…

    …escriptor
    
    Merge 0.12.0 master into get-descriptor branch
    Youw authored Jun 12, 2022
    Configuration menu
    Copy the full SHA
    65b9e71 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. Introduce HID_API_MAX_REPORT_DESCRIPTOR_SIZE

    - first step is to use HID_API_MAX_REPORT_DESCRIPTOR_SIZE internally;
    - port a few improvements from get-descriptor branch early;
    Youw committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    5b6ec28 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'report-descriptor-upd' into get-descriptor

    # Conflicts:
    #	hidapi/hidapi.h
    #	hidtest/test.c
    #	libusb/hid.c
    #	linux/hid.c
    Youw committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    b8276a9 View commit details
    Browse the repository at this point in the history
  3. fix build

    Youw committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    d9d4c7a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Configuration menu
    Copy the full SHA
    7e3a406 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2022

  1. Configuration menu
    Copy the full SHA
    795fe85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8061df View commit details
    Browse the repository at this point in the history
  3. Merge pull request #465 from JoergAtGithub/get-descriptor

    Merge changes from master into get-descriptor branch
    Youw authored Oct 15, 2022
    Configuration menu
    Copy the full SHA
    b246f67 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Fail CTest when hid report reconstruct doesn't match

    Co-authored-by: JoergAtGithub <64457745+JoergAtGithub@users.noreply.github.com>
    Youw and JoergAtGithub authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    5626729 View commit details
    Browse the repository at this point in the history
  2. Update error message

    Co-authored-by: JoergAtGithub <64457745+JoergAtGithub@users.noreply.github.com>
    Youw and JoergAtGithub authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    81160e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. Add pp_data_dump tool (#467)

    Add a small command line tool for Windows, which dumps the content of the `Preparsed Data` structure, provided by the Windows HID subsystem, into a file.
    
    The generated file is in a text format, which is readable for human, as by the `hid_report_reconstructor_test.exe` unit test executable of the HIDAPI project. This unit test allows it to test the HIDAPI's report descriptor reconstructor - offline, without the hardware device connected.
    JoergAtGithub authored Jan 2, 2023
    Configuration menu
    Copy the full SHA
    53cf563 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    e573d64 View commit details
    Browse the repository at this point in the history
  2. Merge master into get descriptor

    and solve the merge conflicts
    Youw authored Jan 5, 2023
    Configuration menu
    Copy the full SHA
    53ad3bd View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2023

  1. Configuration menu
    Copy the full SHA
    3bce889 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2023

  1. Configuration menu
    Copy the full SHA
    b74739e View commit details
    Browse the repository at this point in the history
  2. CMake option to build with ASAN (#463)

    - effectively used to run (unit)tests on Windows with ASAN checks;
    JoergAtGithub authored Feb 19, 2023
    Configuration menu
    Copy the full SHA
    624ae35 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. windows: descriptor_reconstruct: fix the order of sub-collections

    - fix for incorrect collection sorting and final bit padding;
    jkcmusork authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    32ea0a2 View commit details
    Browse the repository at this point in the history
  2. windows: descriptor_reconstruct: Test for Xbox One For Windows (#510)

    Add a Testcase, using the data of the "Xbox One For Windows" controller provided: #501 (comment)
    JoergAtGithub authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    6f15653 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f41e5dc View commit details
    Browse the repository at this point in the history