1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/dm9records/lain/lain.h

20 lines
405 B
C
Raw Normal View History

// Copyright 2022 Takuya Urakawa @hsgw (dm9records.com, 5z6p.com)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"
typedef union {
uint32_t raw;
struct {
bool led_enabled : 1;
};
} keyboard_config_t;
extern keyboard_config_t lain_config;
void lain_set_led(uint8_t no, bool flag);
void lain_enable_leds(bool flag);
void lain_enable_leds_toggle(void);