summaryrefslogtreecommitdiff
path: root/keyboards/soy20/keymaps
diff options
context:
space:
mode:
authorThomas Holt-Ronczy <twholt19@gmail.com>2020-10-04 17:48:13 -0400
committerGitHub <noreply@github.com>2020-10-04 14:48:13 -0700
commit89446bafb8b925a17bb6d18577ba85c40f058dac (patch)
tree79fee79eff9a054b2dfcb92300fc877869ab442f /keyboards/soy20/keymaps
parent2bcac45650563822f20a2336a9fc4d95b2cc4e3e (diff)
downloadqmk_firmware-89446bafb8b925a17bb6d18577ba85c40f058dac.tar.gz
qmk_firmware-89446bafb8b925a17bb6d18577ba85c40f058dac.zip
[Keyboard] Add soy20 PCB (#10440)
* Add soy20 PCB adds default and VIA Keymaps for soy20 pcb by DrewKeys * Update keyboards/soy20/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/rules.mk Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/soy20.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Agreed. It was left over from the original file provided by the board makers original configurator file. Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/rules.mk Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/soy20/info.json Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/soy20.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/keymaps/via/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/info.json Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/soy20/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Updating *.c & *.h files with GPL3 license * Delete rules.mk * Delete keymap.c * Corrected Header Comments Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/soy20/keymaps')
-rw-r--r--keyboards/soy20/keymaps/default/keymap.c19
-rw-r--r--keyboards/soy20/keymaps/via/keymap.c33
-rw-r--r--keyboards/soy20/keymaps/via/rules.mk2
3 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/soy20/keymaps/default/keymap.c b/keyboards/soy20/keymaps/default/keymap.c
new file mode 100644
index 0000000000..0ab505eeb8
--- /dev/null
+++ b/keyboards/soy20/keymaps/default/keymap.c
@@ -0,0 +1,19 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT_ortho_5x4(
+ KC_PMNS, KC_PAST, KC_PSLS, MO(1),
+ KC_PPLS, KC_P9, KC_P8, KC_P7,
+ KC_TAB, KC_P5, KC_P6, KC_P4,
+ KC_PENT, KC_P3, KC_P2, KC_P1,
+ KC_DEL, KC_SCLN, KC_PDOT, KC_P0),
+
+ [1] = LAYOUT_ortho_5x4(
+ KC_NLCK, KC_PSCR, 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, KC_TRNS, RESET),
+
+};
diff --git a/keyboards/soy20/keymaps/via/keymap.c b/keyboards/soy20/keymaps/via/keymap.c
new file mode 100644
index 0000000000..fde63da13a
--- /dev/null
+++ b/keyboards/soy20/keymaps/via/keymap.c
@@ -0,0 +1,33 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT_ortho_5x4(
+ KC_PMNS, KC_PAST, KC_PSLS, MO(1),
+ KC_PPLS, KC_P9, KC_P8, KC_P7,
+ KC_TAB, KC_P5, KC_P6, KC_P4,
+ KC_PENT, KC_P3, KC_P2, KC_P1,
+ KC_DEL, KC_SCLN, KC_PDOT, KC_P0),
+
+ [1] = LAYOUT_ortho_5x4(
+ KC_NLCK, KC_PSCR, 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, KC_TRNS, RESET),
+
+ [2] = LAYOUT_ortho_5x4(
+ 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,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+
+ [3] = LAYOUT_ortho_5x4(
+ 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,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+
+};
diff --git a/keyboards/soy20/keymaps/via/rules.mk b/keyboards/soy20/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/soy20/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes