You should have a look at hidio object.
Someone did a mac 64 compile :
https://github.com/Benitoite/hidio
J.Y.G.
Re: [PD] Current status of HID on OS X and Windows?.eml
Subject: Re: [PD] Current status of HID on OS X and Windows? From: "Peter P." peterparker@fastmail.com Date: 07/10/2019 à 13:44
To: pd-list@lists.iem.at
- IOhannes m zmölnigzmoelnig@iem.at [2019-10-05 20:22]:
[...]
the macOS list is:
hid-v0-0extended-(Darwin-i386-32)(Darwin-PowerPC-32)-externals.tar.gz Uploaded by zmoelnig @ 2015-12-10 14:20:38
this will work on macOS/i686 and macOS/PPC, both of which were 32bit architectures. so no dice for "Pd-0.50.0 64bit"
and I wonder if that is the latest version?
given that nobody has worked on [hid] for...ages, i'm pretty sure that this is the latest version.
Would it furthermore make sense to compile it from SVN for Linux?
to achieve what?
if you are only interested in Linux, then you can do "apt install pd-hid". if you meant "Darwin" instead of Linux, then yes, it's worth a try. it's also quite possible that you can no longer compile it on modern macOS.
Thanks for these explanations!
Has anyone given hid compilation on OS X a try recently? Possible also as 64bit library?
You should have a look at hidio object.
Someone did a mac 64 compile :
Merci, that looks very exciting! Did anyone manage to compile it for 64bit Linux and for 32bit Windows already? I don't know if the author of hidio ist on this list...
The above page says that hidio is a fork off https://puredata.info/downloads/hidio and I wonder if it got modified somehow.
All very exciting! P
The repo has a binary and it works on recent osx just fine!
Also, check the list archives. I tried compiling hid for osx but stopped at an error that had a thread on the pd-list. I found that repo through that list post, as well as Dan's joyosc, which is a neat alternative for controller input, outside pd ;)
fdch.github.io
On Oct 8, 2019, at 12:10 AM, Peter P. peterparker@fastmail.com wrote:
- Jean-Yves Gratius jyg@gumo.fr [2019-10-07 18:50]:
You should have a look at hidio object.
Someone did a mac 64 compile :
Merci, that looks very exciting! Did anyone manage to compile it for 64bit Linux and for 32bit Windows already? I don't know if the author of hidio ist on this list...
The above page says that hidio is a fork off https://puredata.info/downloads/hidio and I wonder if it got modified somehow.
All very exciting! P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
The repo has a binary and it works on recent osx just fine!
This is good to head Fede. Which devices are you able to open and are there any issues regarding permissions?
In my original post I was asking about 64bit Linux and 32bit windows binaries. Thanks for your reply Jean-Yves, I managed to compile and load the 64bit Linux binary myself by now. Note that on Debian the current user needs to be a member of the 'input' group to have permissions to read /dev/input/event* devices. I wonder what would be the best way to give these permissions only to certain devices, not all HID devices such as keyboards and mice but this is an operating system question.
Out of curiosity, how would I compile a 32bit Linux binary? Is this a matter of giving a simple compiler flag?
Would be terrific if someone able could produce a windows 32bit and 64bit binary! Rumors on this list say that Christof owns and operates a windows compiler. ;)
Then this external could be tested on the three OSes, which is what the hidio author seems to have intended.
P
I just tried to build it on Windows but failed with various linker errors, etc. I can try to fix it, but I don't have time right now, unfortunately...
Christof
Gesendet: Dienstag, 08. Oktober 2019 um 12:16 Uhr Von: "Peter P." peterparker@fastmail.com An: pd-list@lists.iem.at Betreff: Re: [PD] Current status of HID on OS X and Windows?
- Fede Camara Halac camarafede@gmail.com [2019-10-08 00:54]:
The repo has a binary and it works on recent osx just fine!
This is good to head Fede. Which devices are you able to open and are there any issues regarding permissions?
In my original post I was asking about 64bit Linux and 32bit windows binaries. Thanks for your reply Jean-Yves, I managed to compile and load the 64bit Linux binary myself by now. Note that on Debian the current user needs to be a member of the 'input' group to have permissions to read /dev/input/event* devices. I wonder what would be the best way to give these permissions only to certain devices, not all HID devices such as keyboards and mice but this is an operating system question.
Out of curiosity, how would I compile a 32bit Linux binary? Is this a matter of giving a simple compiler flag?
Would be terrific if someone able could produce a windows 32bit and 64bit binary! Rumors on this list say that Christof owns and operates a windows compiler. ;)
Then this external could be tested on the three OSes, which is what the hidio author seems to have intended.
P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list