Thanks Lucas! What is the use case compared to existing [hid] externals?
+1 thank you, a really cool project!
My comparison AFAICT (from working on [hid] a little [1]):
[hidraw]
event codes that you process in your patch yourself, whereas [hid] decodes many of the possible button presses and other events
only uses OS functions and headers iirc
Maybe we should prepare a wiki page or other documentation item at some point listing the different possibilities of working with USB HID devices in Pd.
Best, Albert.
[1] https://gitlab.com/aaaaalbert/pd-hid (I'm currently working on using pd-lib-builder instead of the old bespoke makefile)
best, P
- Lucas Cordiviola lucarda27@hotmail.com [2022-11-03 02:04]:
Hi all,
The hidraw external reads raw bytes from hids.
You can find it on Deken for most OSs.
You have to build yourself for very old rasperry-pi's or new M1 or M2 macs.
Sources are at https://github.com/Lucarda/pd-hidraw/releases/tag/v0.1.0
-- Deken Web: https://deken.puredata.info/results.html?name=hidraw
--
Lucarda.
-- Mensaje telepatico asistido por maquinas.
Pd-announce mailing list Pd-announce@lists.iem.at https://lists.puredata.info/listinfo/pd-announce
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list