Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
hid4java
A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
here is another avenue I'm considering, but I'm haven't played around with it yet. they built this out and it looks promising: https://github.com/mmalecki/qmk_rc
I'm following these instructions: https://github.com/qmk/qmk_firmware/blob/master/docs/feature_rawhid.md
Node: node-hid.
Java: purejavahidapi and hid4java.
Java: purejavahidapi and hid4java.
On the computer, write a program (the "host" or "server") that talks over the raw HID protocol. It is open ended how you do this, but IME both the Python pyhidapi and C hidapi were simple enough to get something started. The trickiest part might be getting the program to run with the permissions to talk the raw HID protocol (at least on Linux, there was some udev rule to set up). Read the documentation for these libraries for details about how to get set up.