summaryrefslogtreecommitdiffstats
path: root/keyboards/macro3/keymaps/default
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-11-16 09:05:15 +0800
committerGitHub <noreply@github.com>2021-11-15 17:05:15 -0800
commit22eba600418696542a6b84125f4dff2f37638c1e (patch)
tree7bbc86cb9d13596abfc905b78c8a397c2b41753f /keyboards/macro3/keymaps/default
parentd3ae937b50df8d98deb3dc3b9f8aa1635eac1c8b (diff)
[Keyboard] Add macro3 PCB support (#15131)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/macro3/keymaps/default')
-rw-r--r--keyboards/macro3/keymaps/default/keymap.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c
new file mode 100644
index 0000000000..ca4db51f3e
--- /dev/null
+++ b/keyboards/macro3/keymaps/default/keymap.c
@@ -0,0 +1,30 @@
+/* Copyright 2020 David Philip Barr <@davidphilipbarr>
+ * Copyright 2021 @filterpaper
+ *
+ * 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(
+ KC_HOME, KC_MUTE, KC_MPLY, KC_MSEL,
+ KC_UNDO, KC_CUT, KC_COPY, LT(1,KC_PSTE)
+ ),
+ [1] = LAYOUT(
+ _______, _______, _______, _______,
+ RESET, _______, _______, _______
+ )
+};
+