Hi All,
Is there a 64 bit alternative to the [hid] object? I have searched around and have not been able to find an answer.
64 bit alternative to [hid]?
Hi All,
Is there a 64 bit alternative to the [hid] object? I have searched around and have not been able to find an answer.
@CalBassist If you are using osx or Linux you could try compiling hid from source, although there might be api and memory issues that could be difficult to resolve. At least a quick try will be easy.
For windows.... not so easy. In fact it didn't work in windows as a 32-bit external.
HID Source..... https://github.com/avilleret/hid
or it is in the complete source tarball for extended here.... http://puredata.info/downloads/pd-extended in pd/extra/hid
Or try a different approach......
https://forum.pdpatchrepo.info/topic/11674/hid-mousestate-in-pd-vanilla
David
@whale-av Thanks for replying. I have used [grid] and other xy objects to get the mouse state, but I am looking for something that can take usb or bluetooth input of external devices like [hid] did (or [hi] in Max). I am surprised it doesn't exist already for Pd.
@CalBassist You could try to get the data with [comport] if it is a serial device, which is most likely.
"comport is a cross-platform object for Pure Data that allows you to read and write bytes and lists of data to /dev/tty* devices including serial port, USB-serial devices, Bluetooth-serial, etc."
Part of the problem for the developers of HID was that even for standardized devices like mice and keyboards a tailored filter had to be made, but there are hundreds of devices out there.
See the hid/HID Utilities Source/English.lproj/ folder for examples for standardized devices.
Have you tried compiling HID for 64-bit for your system?
Is there a particular device you want to use?
You might find a way by connecting through an Arduino or similar outboard processor.
There are quite a lot of projects for "wearables" where artists are trying to do such things.
David.
I wasn’t aware of [comport]. I will try it out.
I have no idea where to start with compiling a 32 bit external to 64. I would actually like to learn. Do you have any recommendations where to look?
I have been following a breadcrumb trail to try and get [hid] objects working on PD 0.51-1, which has brought me to this thread! CalBassist, have you had any luck with [comport]? I'm hoping to use a usb gaming joystick to direct audio signal to different dac outputs, and [hid] seemed to be my best option, but no dice!
@CalBassist @Dizzy-Dizzy There has been [joystick], the [hid] for windows, once upon a time. Not sure if 32 or 64 bit, - I think this was in PD-extended times.
Oops! Looks like something went wrong!