aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrdsgl <dayofdoom@users.noreply.github.com>2020-09-03 01:34:42 -0700
committerGitHub <noreply@github.com>2020-09-03 01:34:42 -0700
commit04293bcd5b39cdcc97acd3f05fdec67ba2a57f60 (patch)
tree16f6c0fc5867325f527aad71c7da302db5d2a1d4
parente7cc5a35c2b80d081207db940777b7537d30a5cd (diff)
downloadqmk_firmware-04293bcd5b39cdcc97acd3f05fdec67ba2a57f60.tar.gz
qmk_firmware-04293bcd5b39cdcc97acd3f05fdec67ba2a57f60.zip
[Keymap] add sixkeyboard:via (#10172)
* Adding VIA support for sixkeyboard * Update keyboards/sixkeyboard/keymaps/via/keymap.c * Update keyboards/sixkeyboard/keymaps/via/keymap.c * Update keyboards/sixkeyboard/keymaps/via/keymap.c * Update keyboards/sixkeyboard/keymaps/via/keymap.c * Update keymap.c added suggested header. left my name out and changed year to 2020.
-rw-r--r--keyboards/sixkeyboard/keymaps/via/keymap.c39
-rw-r--r--keyboards/sixkeyboard/keymaps/via/rules.mk2
2 files changed, 41 insertions, 0 deletions
diff --git a/keyboards/sixkeyboard/keymaps/via/keymap.c b/keyboards/sixkeyboard/keymaps/via/keymap.c
new file mode 100644
index 000000000..fed341595
--- /dev/null
+++ b/keyboards/sixkeyboard/keymaps/via/keymap.c
@@ -0,0 +1,39 @@
1/* Copyright 2020
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_A, KC_B, KC_C,
22 KC_D, KC_E, KC_F
23 ),
24
25 [1] = LAYOUT(
26 KC_TRNS, KC_TRNS, KC_TRNS,
27 KC_TRNS, KC_TRNS, KC_TRNS
28 ),
29
30 [2] = LAYOUT(
31 KC_TRNS, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS
33 ),
34
35 [3] = LAYOUT(
36 KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS
38 )
39};
diff --git a/keyboards/sixkeyboard/keymaps/via/rules.mk b/keyboards/sixkeyboard/keymaps/via/rules.mk
new file mode 100644
index 000000000..43061db1d
--- /dev/null
+++ b/keyboards/sixkeyboard/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2LTO_ENABLE = yes \ No newline at end of file