summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/orbweaver/config.h
diff options
context:
space:
mode:
authora_marmot <90110685+a-marmot@users.noreply.github.com>2023-02-01 09:26:37 -0800
committerGitHub <noreply@github.com>2023-02-01 10:26:37 -0700
commitca8b4b8e305444039a10755e280be7f0e19aaf85 (patch)
tree0fb96ef75a02c55442a7b1c2d1a38a13ea30d8fd /keyboards/handwired/orbweaver/config.h
parent252b041b97c03374e8f10570a54992f7f91f5f26 (diff)
[Keyboard] Add modded Razer Orbweaver with RP2040 (#19711)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'keyboards/handwired/orbweaver/config.h')
-rw-r--r--keyboards/handwired/orbweaver/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/handwired/orbweaver/config.h b/keyboards/handwired/orbweaver/config.h
new file mode 100644
index 0000000000..ab7cb9d9d5
--- /dev/null
+++ b/keyboards/handwired/orbweaver/config.h
@@ -0,0 +1,24 @@
+// Copyright 2023 a_marmot
+//
+// 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 &lt;http://www.gnu.org/licenses/&gt;.
+//
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define DRIVER_COUNT 1
+#define DRIVER_ADDR_1 0b1110100
+#define RGB_MATRIX_LED_COUNT 20
+#define I2C1_CLOCK_SPEED 100000
+#define RGB_MATRIX_CENTER { 40, 30 }