Hi Simon,

Interesting! I am away from my M1 for quite a while, might be able to do some testing in a few weeks.


Thanks, i need this confirmation.


Will [hidraw] also support writing to the device? There are some devices that need 2 way communication to enable/disable functions and states.


Well from the wrapped hidapi (https://github.com/libusb/hidapi) that the object uses is totally easy to write to the device but i'm scared about it. They warm that writing (incorrect values i suppose) can brick the device.

I only have an cheap USB ps2 compatible joystick to test. I don't know yet how to start. In theory I can have a "write" method alla:

[write 1 0 255 255 127 0(
|
[hidraw]

but i'm unsure what to write.

Also I read in https://github.com/libusb/hidapi/issues/167 that certain things like making the joystick rumble is not possible directly via hidapi.

I'll have to dig more may be for version 0.2.0.

Any feature request, discussion or knowledge can continue on https://github.com/Lucarda/pd-hidraw

PS: as of v0.1.0 i'm totally happy that is so easy an cheap to hack an usb joystick an make an 12 foot-switch pedal. Or use the joystick as a modulation wheel, etc. :)

Mensaje telepatico asistido por maquinas.

On 06/10/2022 04:31, Simon Iten wrote:
Hi Luca,

Interesting! I am away from my M1 for quite a while, might be able to do some testing in a few weeks. Will [hidraw] also support writing to the device? There are some devices that need 2 way communication to enable/disable functions and states.

On Wed, 5 Oct 2022, 13:00 Lucas Cordiviola, <lucard...@hotmail.com> wrote:

    Hi all,

    Next week or so i'll hopefully release hidraw. An object that
    reads raw
    bytes from HIDs.

    Can anyone test this builds on a mac M1 with arm64 or a Monterey
    x64 intel?

    https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ

    i'm not sure if i did correctly the code sign. (the object seems
    to work
    on my monterey VM).

    If anyone (not on macOS) is willing to test the above link also has
    Linux and Windows binaries.

    feedback is welcomed.


    --

-- Mensaje telepatico asistido por maquinas.




    _______________________________________________
    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

Reply via email to