zmk/app/include/dt-bindings/zmk/is31fl3743_transform.h
2024-08-13 17:46:30 +02:00

10 lines
192 B
C

/*
* Copyright (c) 2024 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#define RGB(com, r, g, b) (com + r)(com + g)(com + b)
#define SW(n) ((n - 1) * 18)
#define CS(n) (n - 1)