aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keychron/c2_pro_v2/ansi/rgb/config.h
diff options
context:
space:
mode:
authoradophoxia <100170946+adophoxia@users.noreply.github.com>2025-03-01 16:57:15 -0800
committerGitHub <noreply@github.com>2025-03-01 17:57:15 -0700
commit6c10839e3306521e5f0e0050a891c013b7a4f766 (patch)
treeff1b0f9aaac63847ff29ff3dfced4436320ad853 /keyboards/keychron/c2_pro_v2/ansi/rgb/config.h
parentabea50c26e2bb26977146a1431e458a73bea7f39 (diff)
Add Keychron C2 Pro V2 (#24900)
Same changes as for C1 Pro V2
Diffstat (limited to 'keyboards/keychron/c2_pro_v2/ansi/rgb/config.h')
-rw-r--r--keyboards/keychron/c2_pro_v2/ansi/rgb/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/keychron/c2_pro_v2/ansi/rgb/config.h b/keyboards/keychron/c2_pro_v2/ansi/rgb/config.h
new file mode 100644
index 0000000000..739eb788fd
--- /dev/null
+++ b/keyboards/keychron/c2_pro_v2/ansi/rgb/config.h
@@ -0,0 +1,24 @@
+/* Copyright 2025 @ Keychron (https://www.keychron.com)
+ *
+ * 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
+
+/* RGB Matrix Driver Configuration */
+#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_VDDIO
+#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_GND
+
+/* Set LED driver current */
+#define SNLED27351_CURRENT_TUNE { 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28 }