summaryrefslogtreecommitdiff
path: root/keyboards/hfdkb/ac001/keymaps
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/keymaps
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/keymaps')
-rw-r--r--keyboards/hfdkb/ac001/keymaps/default/keymap.c23
-rw-r--r--keyboards/hfdkb/ac001/keymaps/via/keymap.c29
-rw-r--r--keyboards/hfdkb/ac001/keymaps/via/rules.mk1
3 files changed, 53 insertions, 0 deletions
diff --git a/keyboards/hfdkb/ac001/keymaps/default/keymap.c b/keyboards/hfdkb/ac001/keymaps/default/keymap.c
new file mode 100644
index 0000000000..56c767503e
--- /dev/null
+++ b/keyboards/hfdkb/ac001/keymaps/default/keymap.c
@@ -0,0 +1,23 @@
+/* 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT( /* Base */
+ RGB_MOD, KC_LCTL, KC_ENT,KC_NO,KC_NO),
+};
+
diff --git a/keyboards/hfdkb/ac001/keymaps/via/keymap.c b/keyboards/hfdkb/ac001/keymaps/via/keymap.c
new file mode 100644
index 0000000000..72b9720d5c
--- /dev/null
+++ b/keyboards/hfdkb/ac001/keymaps/via/keymap.c
@@ -0,0 +1,29 @@
+/* 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 QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT( /* Base */
+ RGB_MOD, KC_LCTL, KC_ENT,KC_NO,KC_NO),
+ [1] = LAYOUT(
+ RGB_MOD, KC_LCTL, KC_ENT,KC_NO,KC_NO),
+ [2] = LAYOUT(
+ RGB_MOD, KC_LCTL, KC_ENT,KC_NO,KC_NO),
+ [3] = LAYOUT(
+ RGB_MOD, KC_LCTL, KC_ENT,KC_NO,KC_NO)
+};
+
diff --git a/keyboards/hfdkb/ac001/keymaps/via/rules.mk b/keyboards/hfdkb/ac001/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/hfdkb/ac001/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes