Hi list,
does anyone know of a good way to get more information about HIDs on Mac OS? Currently a colleague is using [hidraw] on a MacBook Pro 14" 2021 M1 MacOS 14.1.2 and is trying to understand what some of the reported sensor values represent. He has found out that one of the devices reports the angle of the laptop display hinge, another device reports many many values, of which about 24 are constanly changing. It is still difficult to figure out what they mean.
Is there a tool which queries this, or some documentation I haven't yet found using a web search engine?
Thank you for all pointers, Peter
Hello,
I've just compiled hid-0.7 from https://github.com/pd-externals/hid for mac m1, it's highly documented and sources are provided, the Makefile is for macos only, and it doesn't require the xcode project anymore.
You should find it with deken in 24 hours with the name hid-0.7-1 with critapec as author.
Pat
Le 11 avr. 2024 à 17:42, Peter P. peterparker@fastmail.com a écrit :
Hi list,
does anyone know of a good way to get more information about HIDs on Mac OS? Currently a colleague is using [hidraw] on a MacBook Pro 14" 2021 M1 MacOS 14.1.2 and is trying to understand what some of the reported sensor values represent. He has found out that one of the devices reports the angle of the laptop display hinge, another device reports many many values, of which about 24 are constanly changing. It is still difficult to figure out what they mean.
Is there a tool which queries this, or some documentation I haven't yet found using a web search engine?
Thank you for all pointers, Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hello,
I've just compiled hid-0.7 from https://github.com/pd-externals/hid for mac m1, it's highly documented and sources are provided, the Makefile is for macos only, and it doesn't require the xcode project anymore.
You should find it with deken in 24 hours with the name hid-0.7-1 with critapec as author.
Thanks Pat,
good to hear that there is a new m1 binary!
I was actually looking for a way to find out which hid device represents which sensors, and what these sensors do mean in more detail ....
best, P
Le 12 avr. 2024 à 01:14, Peter P. peterparker@fastmail.com a écrit :
good to hear that there is a new m1 binary!
This should be the same binary I've provided a couple of month ago.
I was actually looking for a way to find out which hid device represents which sensors, and what these sensors do mean in more detail ....
The help files are really helpfull but it's possible to find more details in sources like
https://github.com/pd-externals/hid/blob/main/hid_darwin.c https://github.com/pd-externals/hid/blob/main/hid_darwin.c
where t_hid_element is defined
and then
https://developer.apple.com/documentation/hiddriverkit/3201477-usage_pages/k...
H2H
pat