https://github.com/iolanguage/applesensors
https://github.com/iolanguage/applesensors
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/iolanguage/applesensors
- Owner: IoLanguage
- License: bsd-3-clause
- Created: 2018-03-11T11:47:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-10T16:04:22.000Z (about 8 years ago)
- Last Synced: 2025-01-21T00:48:59.835Z (over 1 year ago)
- Language: C
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AppleSensors
A singleton which on Apple computers can:
- get and set display and keyboard brightness
- read left and right ambient light sensors (laptops only)
- read accelerometer sensor (laptops only)
Example use:
```
sensors = AppleSensors clone
value := sensors getRightLightSensor
```
# Installation
```
eerie install https://github.com/IoLanguage/AppleSensors.git
```