Added custom center point to rgb matrix

This commit is contained in:
Ryan Caltabiano
2019-05-15 22:23:42 -05:00
committed by Drashna Jaelre
parent 2e08096ba6
commit 18e15a7077
6 changed files with 13 additions and 7 deletions

View File

@@ -26,6 +26,12 @@
#include "lib/lib8tion/lib8tion.h"
#ifndef RGB_MATRIX_CENTER
const point_t k_rgb_matrix_center = { 112, 32 };
#else
const point_t k_rgb_matrix_center = RGB_MATRIX_CENTER;
#endif
// ------------------------------------------
// -----Begin rgb effect includes macros-----
#define RGB_MATRIX_EFFECT(name)