summaryrefslogtreecommitdiffstats
path: root/keyboards/hfdkb/ac001/ac001.c
diff options
context:
space:
mode:
authorjonylee@hfd <108282809+jonylee1986@users.noreply.github.com>2023-02-19 01:28:56 +0800
committerGitHub <noreply@github.com>2023-02-18 10:28:56 -0700
commit3110a70f6f208e20174056e8600830e767b911ff (patch)
treec195a756fd8381ba598475943104369de959781d /keyboards/hfdkb/ac001/ac001.c
parent59f5889e627e67e659d8b15ce1acc4e0f8c65454 (diff)
Add ac001 keyboard (#19868)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/hfdkb/ac001/ac001.c')
-rw-r--r--keyboards/hfdkb/ac001/ac001.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/hfdkb/ac001/ac001.c b/keyboards/hfdkb/ac001/ac001.c
new file mode 100644
index 0000000000..a977f9c80d
--- /dev/null
+++ b/keyboards/hfdkb/ac001/ac001.c
@@ -0,0 +1,36 @@
+/* Copyright (C) 2022 jonylee@hfd
+ *
+ * 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/>.
+ */
+
+#include "ac001.h"
+/*
+ 3---------------2
+ | | |
+ | | |
+ 4-------0-------1
+*/
+#ifdef RGB_MATRIX_ENABLE
+led_config_t g_led_config = { {
+ // Key Matrix to LED Index
+ { 0, 1, 2, 3, 4}
+}, {
+ // LED Index to Physical Position
+ { 64, 112 }, { 64, 224 }, { 224, 0 }, { 0, 0 }, { 64, 0 },
+
+}, {
+ // LED Index to Flag
+ 4, 4, 4, 4, 4
+} };
+#endif
[cgit] Unable to lock slot /tmp/cgit/08300000.lock: Permission denied (13)