https://github.com/busyloop/maclight
Control your Mac keyboard LEDs
https://github.com/busyloop/maclight
Last synced: 8 months ago
JSON representation
Control your Mac keyboard LEDs
- Host: GitHub
- URL: https://github.com/busyloop/maclight
- Owner: busyloop
- License: other
- Created: 2012-12-30T10:38:45.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T17:42:42.000Z (over 7 years ago)
- Last Synced: 2025-10-07T22:47:20.665Z (9 months ago)
- Language: C
- Size: 86.9 KB
- Stars: 117
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MacLight [](https://badge.fury.io/rb/maclight)
MacLight lets you control the keyboard LEDs on your Mac or Macbook.
## Screenshot

## Installation
$ gem install maclight
## Usage
```
$ maclight --help
Usage: maclight
MacLight v3.0.0 - LED control utility
Options:
--version: Print version and exit
--help, -h: Show this message
Commands:
keyboard Control keyboard LEDs
```
## API Usage
```ruby
#!/usr/bin/env ruby
require 'maclight'
# Turn LEDs on
MacLight.all_leds(true)
sleep 2
# Turn LEDs off
MacLight.all_leds(false)
```
## Notice
MacLight can currently only toggle all LEDs at once
and has only been tested on OSX 10.11.3 (El Capitan).