Is there any gyroscope, accelerometer & magnetometer sensor built in for modern Macs?

Is there any gyroscope, accelerometer & magnetometer sensor built in for modern Macs?

We know all modern smartphones contain these sensors. I wonder if modern Macs contains any such sensors built-in into them or not.


Solution 1:

iMacs don't have any those.

MacBooks have accelerometer called SMS - Sudden Motion Sensor to protect hard drives when MacBook gets dropped. https://en.wikipedia.org/wiki/Sudden_Motion_Sensor

iPhones/iPads have all of those.

Custom sensors (old information): https://logi.wiki/index.php/SMC_Sensor_Codes