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

feat: update hid package with latest libusb/libhid changes #3

Closed
wants to merge 54 commits into from

Commits on May 7, 2019

  1. hid: replace wrong sys/poll.h include with poll.h (bearsh#18)

    Fixes:
    
    #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
    
    Under musl.
    neheb authored and fjl committed May 7, 2019
    Configuration menu
    Copy the full SHA
    9e0a1cd View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. travis.yml: use Ubuntu Xenial (karalabe#20)

    gballet authored and fjl committed May 24, 2019
    Configuration menu
    Copy the full SHA
    acd723f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12a701b View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. Enable go module support

    karalabe committed May 30, 2019
    Configuration menu
    Copy the full SHA
    6bbb8df View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Implement ReadTimeout

    Add ability to perform a read with a specified timeout
    bpedman committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    351c914 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. hid: Support sending & retrieving feature reports (bearsh#13)

    Some USB devices require sending a feature report before they will
    answer to read requests. Implement wrapper functions for the hidapi
    hid_send_feature_report and hid_get_feature_report functions to support
    doing so.
    neverpanic authored and fjl committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    9c14560 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Merge branch 'read_timeout'

    bearsh committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    18c20af View commit details
    Browse the repository at this point in the history
  2. update libusb and hidapi

    - libusb (https://github.com/libusb/libusb):
      da87201f7a5580db16565b1ecc7eefe0fcb5bb59
    - hidapi (https://github.com/libusb/hidapi):
      24a822c80f95ae1b46a7a3c16008858dc4d8aec8
    bearsh committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a4ce084 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e89caf4 View commit details
    Browse the repository at this point in the history
  4. add support for hidraw backend

    this is enabled when building with '-tags hidraw'
    bearsh committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    dc8a3dd View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. update go.mod

    bearsh committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    76e5636 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f53c5e View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. add GetInputReport()

    bearsh committed May 8, 2020
    Configuration menu
    Copy the full SHA
    98710a4 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. fix typos in docstrings

    bearsh committed May 11, 2020
    Configuration menu
    Copy the full SHA
    d951c3c View commit details
    Browse the repository at this point in the history
  2. add SetNonblocking()

    bearsh committed May 11, 2020
    Configuration menu
    Copy the full SHA
    bb32fbb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a11c5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa45e88 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d68462 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f8e24c1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c3144b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    68e69d7 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'feature/travis'

    bearsh committed May 11, 2020
    Configuration menu
    Copy the full SHA
    297bfec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7fc699d View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. README: update godoc badge

    bearsh authored Jul 15, 2020
    Configuration menu
    Copy the full SHA
    05a2625 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. Configuration menu
    Copy the full SHA
    430522c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    329086f View commit details
    Browse the repository at this point in the history
  3. add 'os/events_posix.c' to file to be compiled, define -DPLATFORM_POS…

    …IX for linux
    
    libusb added another file, PLATFORM_POSIX need to be defined
    bearsh committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    a45337a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc3d4db View commit details
    Browse the repository at this point in the history
  5. travis: test against go 1.15

    bearsh committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    daf78ad View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3 from bearsh/feature/libusb-c3deb6dd

    Feature/libusb c3deb6dd
    bearsh authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    f5b2a87 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from bearsh/feature/hidapi-0.10.0

    bump bundled hidapi to v0.10.0
    bearsh authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    bb86226 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. fix number of return values

    bearsh committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    36682a2 View commit details
    Browse the repository at this point in the history
  2. linux: add a build tag to define NO_ICONV

    this is usefull for embedded systems without iconv to still get product
    and manufacturer name
    bearsh committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    596e24d View commit details
    Browse the repository at this point in the history
  3. update appvayor file

    bearsh committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    66881e7 View commit details
    Browse the repository at this point in the history
  4. readme: enable appveyor badge

    bearsh committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    92bb507 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79becb7 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. bump hidapi to v0.10.1

    bearsh committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    560d4ab View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. bump libusb to v1.0.24

    bearsh committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    000d0d8 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. add workaround to enable proper vendoring of bundled c/h files

    This enables a workaround for `go mod vendor` which won't vendor
    C files if there's no Go file in the same directory.
    
    See this issue for reference: golang/go#26366
    bearsh committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    a409409 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee4b7e9 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Merge branch 'next'

    bearsh committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    9b953ff View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. Re-establish original behaviour of Read() method

    The original Read() method was a wrapper to C.hid_read.
    C.hid_read checks for the device blocking field
    to pass a timeout value to C.hid_read_timeout accordingly:
    if blocking is enabled, -1, else 0.
    
    The changed introduced in karalabe#22
    and merged in this fork breaks that and incorrectly assumes that
    a 0 timeout means a blocking read. This commit allows to maintain
    the original use of Read() while also allowing a package user to
    make use of ReadTimeout(b, t)
    ReadTimeout() was previously missing from hid_disable.go
    ocraviotto committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    c986584 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5c534f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4 from ocraviotto/respect-blocking-for-hid-read

    Re-establish original behaviour of Read() method
    bearsh authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    860203b View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. feat: update hid package with latest libusb/libhid changes

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    86e5f12 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. feat: update hid package with latest libusb/libhid changes

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    aafc26d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from troian/rename-mod

    feat: update hid package with latest libusb/libhid changes
    troian authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    786366f View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. feat(hidapi): update to v0.11.0

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    672b6a7 View commit details
    Browse the repository at this point in the history
  2. fix(libusb): rid off deprecated constant usage on macos

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    6f30845 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. feat: hidapi v0.11.2 & libusb v1.0.26

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    09608ff View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. feat: hidapi v0.12.0

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    f4a8cb1 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. feat: hidapi v0.13.1 (#2)

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    33b766a View commit details
    Browse the repository at this point in the history
  2. fix: remove cp characters (#3)

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    79315b1 View commit details
    Browse the repository at this point in the history
  3. refactor: use hidapi.h (#4)

    Signed-off-by: Artur Troian <troian.ap@gmail.com>
    troian authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    0043368 View commit details
    Browse the repository at this point in the history