summaryrefslogtreecommitdiff
path: root/keyboards/hineybush/h10/keymaps/via
diff options
context:
space:
mode:
authorJosh Hinnebusch <joshhinnebusch@gmail.com>2020-06-04 19:56:04 -0400
committerGitHub <noreply@github.com>2020-06-04 16:56:04 -0700
commit6cfc3cd940370d80fd44554eb9f669950495e1f9 (patch)
treeca6e679f8b3ad067404786dfad612ae6effb6e08 /keyboards/hineybush/h10/keymaps/via
parente84e9a2004cbec490f94d74353864f19dfad89c4 (diff)
[Keyboard] add hineybush/h10 pcb (#9036)
* initial h10 commit * update h10 * update files, add via keymap * edit h10 readme * update per PR requests * add copyright (i think this is what fauxpark wants) * fix comment * remove config.h files * update per PR requests * Update keyboards/hineybush/h10/info.json * Update keyboards/hineybush/h10/info.json
Diffstat (limited to 'keyboards/hineybush/h10/keymaps/via')
-rw-r--r--keyboards/hineybush/h10/keymaps/via/keymap.c56
-rw-r--r--keyboards/hineybush/h10/keymaps/via/readme.md1
-rw-r--r--keyboards/hineybush/h10/keymaps/via/rules.mk2
3 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/hineybush/h10/keymaps/via/keymap.c b/keyboards/hineybush/h10/keymaps/via/keymap.c
new file mode 100644
index 0000000000..5b6d9a3e4f
--- /dev/null
+++ b/keyboards/hineybush/h10/keymaps/via/keymap.c
@@ -0,0 +1,56 @@
+/* Copyright 2020 hineybush
+ *
+ * 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] = {
+ /* Base */
+ [0] = LAYOUT_numpad_6x4(
+ KC_ESC, KC_PEQL, KC_BSPC, MO(1),
+ KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_P7, KC_P8, KC_P9,
+ KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_P1, KC_P2, KC_P3,
+ KC_P0, KC_PDOT, KC_PENT
+ ),
+ [1] = LAYOUT_numpad_6x4(
+ KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS,
+ KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, RESET
+ ),
+ [2] = LAYOUT_numpad_6x4(
+ KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS,
+ KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+ [3] = LAYOUT_numpad_6x4(
+ KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS,
+ KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+};
+
+
+
diff --git a/keyboards/hineybush/h10/keymaps/via/readme.md b/keyboards/hineybush/h10/keymaps/via/readme.md
new file mode 100644
index 0000000000..5986e14827
--- /dev/null
+++ b/keyboards/hineybush/h10/keymaps/via/readme.md
@@ -0,0 +1 @@
+# The via keymap for h10
diff --git a/keyboards/hineybush/h10/keymaps/via/rules.mk b/keyboards/hineybush/h10/keymaps/via/rules.mk
new file mode 100644
index 0000000000..7a029a7955
--- /dev/null
+++ b/keyboards/hineybush/h10/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+# Copyright hineybush 2020
+VIA_ENABLE = yes