The MacBook knows where the screen is: Apple detects this using sensors. A developer has now found the hidden API for this. Not all sensors in the Mac are obvious: current MacBooks have a so-called ...