summaryrefslogtreecommitdiff
path: root/keyboards/saevus/cor_tkl/config.h
diff options
context:
space:
mode:
authorRamon Imbao <ramonimbao@gmail.com>2022-09-24 23:36:19 +0800
committerGitHub <noreply@github.com>2022-09-24 08:36:19 -0700
commit5ff2d93582fb5ca2e15e0c21f32b760d4a4c9044 (patch)
treed0e0e1bb655d8db524016371a3d02e22824d12a5 /keyboards/saevus/cor_tkl/config.h
parent3072feb8ed79c861a0066ec6721669dec6f6309f (diff)
[Keyboard] Add Saevus Cor TKL (#18369)
Diffstat (limited to 'keyboards/saevus/cor_tkl/config.h')
-rw-r--r--keyboards/saevus/cor_tkl/config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/saevus/cor_tkl/config.h b/keyboards/saevus/cor_tkl/config.h
new file mode 100644
index 0000000000..449f2da113
--- /dev/null
+++ b/keyboards/saevus/cor_tkl/config.h
@@ -0,0 +1,26 @@
+/*
+Copyright 2022 Ramon Imbao
+
+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
+
+#include "config_common.h"
+
+/* RGB Matrix setup */
+#define RGB_DI_PIN GP19
+#define DRIVER_LED_TOTAL 2
+#define RGBLED_NUM 2
+#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral