[PD] [PD-announce] hidraw v0.1.0 released.

Lucas Cordiviola lucarda27 at hotmail.com
Fri Nov 4 05:23:03 CET 2022


@Albert thanks for the explanation.

You might be interested in looking at the sources of

     https://deken.puredata.info/results.html?name=hidio

the .dek file is just a .zip.

It looks that Martin have done all the update to [hid]. I had only 
checked on Windows and not building myself but the object works and it's 
supposed to compile on Linux and Mac.



--

Mensaje telepatico asistido por maquinas.

On 03/11/2022 06:11, Albert Rafetseder wrote:
>> 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]
> * is more cross-platform, including Windows
> * has a way more modern code base and build system
> * offers less "semantic" output -- in the sense that [hidraw] gives 
> you event codes that you process in your patch yourself, whereas [hid] 
> decodes many of the possible button presses and other events
> * uses an external library, libusb/hidabi, for its functions -- [hid] 
> 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 at 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 at lists.iem.at
>>> https://lists.puredata.info/listinfo/pd-announce
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> https://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list