2021-10-10 03:24:37 +11:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
int zmk_backlight_on();
|
|
|
|
int zmk_backlight_off();
|
2021-12-20 21:00:22 +11:00
|
|
|
int zmk_backlight_toggle();
|
|
|
|
bool zmk_backlight_is_on();
|
|
|
|
|
2021-12-20 20:40:19 +11:00
|
|
|
int zmk_backlight_set_brt(uint8_t brightness);
|
2021-12-20 21:00:22 +11:00
|
|
|
uint8_t zmk_backlight_get_brt();
|
|
|
|
uint8_t zmk_backlight_calc_brt(int direction);
|
2022-01-22 21:57:51 +11:00
|
|
|
uint8_t zmk_backlight_calc_brt_cycle();
|