All Projects → karlshea → QMKAmbientBacklight

karlshea / QMKAmbientBacklight

Licence: BSD-2-Clause license
Automatically set your keyboard's backlight based on your Mac's ambient light sensor.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to QMKAmbientBacklight

djinn
Djinn Split Keyboard
Stars: ✭ 685 (+2262.07%)
Mutual labels:  qmk, mechanical-keyboard
wally-win
The Flash(ing tool)
Stars: ✭ 28 (-3.45%)
Mutual labels:  qmk, mechanical-keyboard
esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-27.59%)
Mutual labels:  mechanical-keyboard, qmk-firmware
68Keys.io
Build your own 68% Custom Mechanical Keyboard.
Stars: ✭ 56 (+93.1%)
Mutual labels:  qmk, mechanical-keyboard
qmk.fm
The website-side of qmk_firmware! The compiled binaries are generated automatically on every push to the main repo
Stars: ✭ 70 (+141.38%)
Mutual labels:  qmk, qmk-firmware
Kimiko
Build-Guide for the Kimiko Split-Keyboard pcb.
Stars: ✭ 34 (+17.24%)
Mutual labels:  mechanical-keyboard, qmk-firmware
Plaid-Pad
Build guide and additional hardware for the Plaid-Pad mechanical macro pad.
Stars: ✭ 39 (+34.48%)
Mutual labels:  qmk, qmk-firmware
steno
Embedded steno firmware + custom steno PCBs
Stars: ✭ 47 (+62.07%)
Mutual labels:  qmk
qmk-keymaps
Personal keyboard keymap files for QMK firmware
Stars: ✭ 46 (+58.62%)
Mutual labels:  qmk
Awesome Split Keyboards
A collection of ergonomic split keyboards ⌨
Stars: ✭ 2,859 (+9758.62%)
Mutual labels:  mechanical-keyboard
Gowla-Macro-Boards
Gowla Macro Boards are PCB designs for use with QMK to build DIY Reprogrammable Macro Keyboards for use with a computer.
Stars: ✭ 41 (+41.38%)
Mutual labels:  qmk
kiwi
Kiwi turns your Pimoroni Keybow into a fully customizable poor-man's Elgato Stream Deck!
Stars: ✭ 40 (+37.93%)
Mutual labels:  mechanical-keyboard
Model-M-Type-C
A modern yet simple Model M replacement controller
Stars: ✭ 67 (+131.03%)
Mutual labels:  qmk
dotfiles
🗿 dotfilery, configuration, environment settings, automation, etc. 🛖
Stars: ✭ 67 (+131.03%)
Mutual labels:  qmk
Dissatisfaction-65
A 65% QMK Bluetooth keyboard with an OLED and encoder
Stars: ✭ 61 (+110.34%)
Mutual labels:  qmk
qmk-comment-gen
Generates fancy layout comments from qmk keymap.c
Stars: ✭ 28 (-3.45%)
Mutual labels:  qmk
qmk distro msys
A Windows one-click installer for the QMK CLI
Stars: ✭ 91 (+213.79%)
Mutual labels:  qmk
miryoku qmk
Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout. Miryoku QMK is the Miryoku implementation for QMK.
Stars: ✭ 100 (+244.83%)
Mutual labels:  qmk
ganymede
the Ganymede keyboard. An ARM based, split, ergonomic keyboard
Stars: ✭ 58 (+100%)
Mutual labels:  qmk
Qmk firmware
Open-source keyboard firmware for Atmel AVR and Arm USB families
Stars: ✭ 11,162 (+38389.66%)
Mutual labels:  qmk

QMK Ambient Backlight

Automatically set your keyboard's backlight based on your Mac's ambient light sensor.

Compatibility

macOS Big Sur or later, a Mac with a built-in ambient light sensor, and a keyboard running the the QMK firmware.

This app supports LEDs that work with QMK's backlight, it currently doesn't work with any other type of LED driver (e.g. LED Matrix, etc).

Instructions

For this app to work, the installed firmware has the following additional requirements:

  • A decent number of levels set for BACKLIGHT_LEVELS in your config.h (e.g. 10–20 or more, otherwise you'll have very abrupt brightness changes)

And Either

  • VIA enabled (VIA_ENABLE = yes in your rules.mk)

Or

  • RAW_ENABLE = yes in your rules.mk
  • The contents of example-keymap.c included in your keymap.c

The application will monitor the ambient light sensor and send a backlight value to the firmware in the range 0–255. Either VIA or a handler in raw_hid_receive() will map that range into the range set for BACKLIGHT_LEVELS in your keymap's config.h.

Download

QMK Ambient Backlight is available for free, and it's also open-source. If you prefer, you can pay any amount you'd like in order to support my work.

Get the latest build on Gumroad.

Acknowledgements

This is my first macOS/SwiftUI project. Most of the project structure was inspired by and the entirety of the code for the ambient light sensor was taken from DarkModeBuddy by Guilherme Rambo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].