Re:Show HN: C++ library for reading MacBook lid angle sensor...
by mort96 on Monday September 08, 2025 @07:32AM
(#45167020)
The underlying system API is a u16. Do you propose that this library should add logic to clamp the value between 0 and 255? What would be the point in that?
[ Parent
| on HN ]
Re:Show HN: C++ library for reading MacBook lid angle sensor...
by bboygravity on Monday September 08, 2025 @08:24AM
(#45167420)
To save 1 byte in RAM for the 300MB electron app that will load this lib.