-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add support for HID reports? #20
Comments
Hope you're well @asmagill ! I was messing around with another piece of hardware today, and it reminded me that it would be so helpful to have some kind of Lua-based I'm currently just using a butchered version of |
I've been playing with my |
Legend, thanks mate! No rush or pressure - I just wanted to make a note here for myself, so that I remember what I was doing in the past, when future Chris attempts the same thing again. |
I'm trying to get raw data out of an old input device, a Sony USB Jog Controller (PCVA-JC1). Using WebHID I can see the data, and it changing in realtime as I press the buttons and move the wheel. So, is it already possible to read the HID Input Report using Thanks! Example input report (button A just pressed)
Device info (from WebHID Explorer)
More info
|
I don't believe there's any current Lua Extension that allows you to do what you want, but I agree, it would be pretty handy! I'm currently just making new Objective-C Extensions each time I want to support a new device. |
I'm happy to give that a go, is there a recommended starter template? |
I'd probably recommend doing what I started doing above, and just duplicating There's some more general information here: https://github.com/Hammerspoon/hammerspoon/blob/master/CONTRIBUTING.md |
Not urgent or important... but just incase you've already solved this elsewhere...
Have you got any extensions/libraries for handling generic HID reports (
IOHIDDeviceRegisterInputReportCallback
)?I basically am just looking for something that does what the Stream Deck extension does - but more generic where I can supply a manufacturer key, and just see the raw data for testing purposes. Ideally it would have a callback for device connected, device disconnected, and input report.
Thoughts?
The text was updated successfully, but these errors were encountered: