mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-06-24 13:48:45 -04:00
22 lines
1.1 KiB
C
22 lines
1.1 KiB
C
/*---------------------------------------------------------*\
|
|
| QMKCommon.h |
|
|
| |
|
|
| Common QMK definitions |
|
|
| |
|
|
| Adam Honse <calcprogrammer1@gmail.com) 24 Jun 2026 |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-or-later |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
typedef struct
|
|
{
|
|
unsigned char x; /* X position in RGB matrix (0-224) */
|
|
unsigned char y; /* Y position in RGB matrix (0-64) */
|
|
unsigned char flags; /* LED flags */
|
|
unsigned char row; /* Row in key matrix */
|
|
unsigned char col; /* Column in key matrix */
|
|
bool valid; /* Is this LED valid? */
|
|
} qmk_rgb_matrix_led_info; |