mac-angle
github.com · Open source · Quiet
C++ library that reads the lid angle sensor on MacBooks
- Science & hardware
- Open source
- C++
- Day-7 check
- Day-30 check
- Stars
- 82
- Forks
- 3
- Open issues
- 0
- Last commit
- Found
- 14 months ago
GitHub figures as of . They are context, not a ranking.
mac-angle is a C++ library for reading lid angle sensor data from MacBooks. It exposes the sensor value to other C++ code so projects can respond to how far the lid is open. It suits developers who want to build hardware-aware macOS tools.
Repository description on GitHub: “C++ library for reading MacBook lid angle sensor data”
What it does
- Reads MacBook lid angle sensor values in the 0 to 360 degree range
- Reports angle with 0.01-degree precision from a 16-bit value
- CMake build with C++14 support and an example program
Good for
- Read the lid angle from a C++ macOS tool
- Build the example program that prints lid angle readings
Suits: Developers building hardware-aware macOS tools.
Worth knowing: Does not work on M1 MacBook Air or Pro models, whose sensor access is restricted
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw mac-angle on , when ufoym posted it to Show HN. GitHub listed no published releases for ufoym/mac-angle when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 60 points, 52 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 60 points, 52 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: ufoym/mac-angle
- Found: ufoym posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was mac-angle released?
- No dated release record is available. Kip found it on Show HN on 8 Sep 2025.
- Is mac-angle open source?
- Its source is public on GitHub at ufoym/mac-angle under the MIT licence.
- What does mac-angle run on?
- macOS, Library.
- Is mac-angle free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is mac-angle still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | ufoym/mac-angle REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45165066. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.