hidapi

Install command:
brew install hidapi

Library for communicating with USB and Bluetooth HID devices

https://libusb.info/hidapi/

License: GPL-3.0-only OR BSD-3-Clause OR HIDAPI

Development: Pull requests

Formula JSON API: /api/formula/hidapi.json

Formula code: hidapi.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.16.0
head ⚡️ HEAD

Depends on when building from source:

cmake 4.5.1 Cross-platform make
pkgconf 3.0.11 Package compiler and linker metadata toolkit

Binaries: hidtest

GitHub Packages downloads:

Last 30 days42,055
Downloads994,255
Analytics install events (30 days)2,532
Downloads / install events (30 days)16.6×

Source: GitHub Packages, fetched 2026-11-29T00:59:20Z. Analytics dates: 2026-10-30 to 2026-11-29. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs2,5294,18315,997
Installs (--HEAD)3311
Installs on Request1,1461,7006,278
Installs on Request (--HEAD)3311
Build Errors0