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ölnig <zmoelnig@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?