News for hackers. Stuff that matters.
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @03:39AM (#45165568)
Trivial with a delay, press enter and close, after 5 seconds it calibrates
Re:The MacBook has a sensor that knows the exact angle of th... by lupusreal on Monday September 08, 2025 @06:20AM (#45166549)
You don't even need that, just ask the user to close the lid and see what the sensor settles on.
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @06:25AM (#45166580)
How would you know the user is ready to perform the command?
Re:The MacBook has a sensor that knows the exact angle of th... by FinnKuhn on Monday September 08, 2025 @06:32AM (#45166628)
You could use the camera to estimate if the laptop is closed.
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @06:39AM (#45166675)
Exactly my thought, but this might not be precise enough in low light conditions? So maybe best used as a fail safe (if camera is lit don't calibrate even if the user pressed confirmed)
Re:The MacBook has a sensor that knows the exact angle of th... by cortesoft on Monday September 08, 2025 @11:14AM (#45169340)
It wouldn’t matter… just tell the user to close and open the lid before pressing enter again, and get the maximum (or minimum) value as the lid being close all the way.
Re:The MacBook has a sensor that knows the exact angle of th... by begemotz on Monday September 08, 2025 @12:13PM (#45170101)
like the answer to any other similar question, with a prompt?
Re:The MacBook has a sensor that knows the exact angle of th... by eviks on Monday September 08, 2025 @12:15PM (#45170125)
Prompt for what? A Key press?
Re:The MacBook has a sensor that knows the exact angle of th... by NuclearPM on Wednesday September 10, 2025 @06:00AM (#45195476)
You really can’t solve this on your own?