1
0
Fork 0

Migrate RGB Matrix config to info.json - C (#22807)

This commit is contained in:
Joel Challis 2024-01-04 06:00:47 +00:00 committed by GitHub
parent c412b7fc42
commit a5f1438f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 211 additions and 330 deletions

View file

@ -1,22 +0,0 @@
/* Copyright 2023 Clickety Split Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
# define RGB_MATRIX_LED_COUNT 74
# define RGB_MATRIX_SPLIT {37, 37}
# define RGB_MATRIX_SLEEP
# define SPLIT_TRANSPORT_MIRROR

View file

@ -99,6 +99,8 @@
{"flags": 4, "matrix": [6, 0], "x": 224, "y": 16}, // R LB72 | SW36
{"flags": 4, "matrix": [7, 0], "x": 224, "y": 32}, // R LB73 | SW42
{"flags": 4, "matrix": [8, 0], "x": 224, "y": 48} // R LB74 | SW48
]
],
"split_count": [37, 37],
"sleep": true
}
}
}

View file

@ -1,22 +0,0 @@
/* Copyright 2023 Clickety Split Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
# define RGB_MATRIX_LED_COUNT 58
# define RGB_MATRIX_SPLIT {29, 29}
# define RGB_MATRIX_SLEEP
# define SPLIT_TRANSPORT_MIRROR

View file

@ -83,6 +83,8 @@
{"flags": 4, "matrix": [6, 0], "x": 224, "y": 16}, // R LB56 | SW36
{"flags": 4, "matrix": [7, 0], "x": 224, "y": 32}, // R LB57 | SW42
{"flags": 4, "matrix": [8, 0], "x": 224, "y": 48} // R LB58 | SW48
]
],
"split_count": [29, 29],
"sleep": true
}
}
}