underglow-layer: use devicetree & clean up code
This commit is contained in:
parent
01d0749411
commit
6f9a411793
6 changed files with 154 additions and 120 deletions
17
app/include/dt-bindings/zmk/rgb_colors.h
Normal file
17
app/include/dt-bindings/zmk/rgb_colors.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2021 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define GREEN 0x00ff00
|
||||
#define RED 0xff0000
|
||||
#define BLUE 0x0000ff
|
||||
#define TEAL 0x008080
|
||||
#define ORANGE 0xffa500
|
||||
#define YELLOW 0xffff00
|
||||
#define GOLD 0xffd700
|
||||
#define PURPLE 0x800080
|
||||
#define PINK 0xffc0cb
|
||||
#define WHITE 0xffffff
|
||||
#define ______ 0x000000
|
||||
Loading…
Add table
Add a link
Reference in a new issue