diff options
author | satorusaka <40286047+satorusaka@users.noreply.github.com> | 2022-09-14 23:40:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 08:40:18 -0700 |
commit | 87b1b560cbacdadd277450a29e214b35ecacd7c3 (patch) | |
tree | bfca256455ad8aeae043af37c5715f3bde210074 /keyboards/skmt/15k/keymaps | |
parent | fc3f2dcb43f2aacdac017ac6c3f0b6ac0241162a (diff) |
[Keyboard] Add skmt/15k keyboard (#18321)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/skmt/15k/keymaps')
-rw-r--r-- | keyboards/skmt/15k/keymaps/default/keymap.c | 26 | ||||
-rw-r--r-- | keyboards/skmt/15k/keymaps/fns/keymap.c | 25 | ||||
-rw-r--r-- | keyboards/skmt/15k/keymaps/qwert/keymap.c | 25 | ||||
-rw-r--r-- | keyboards/skmt/15k/keymaps/via/keymap.c | 35 | ||||
-rw-r--r-- | keyboards/skmt/15k/keymaps/via/rules.mk | 1 |
5 files changed, 112 insertions, 0 deletions
diff --git a/keyboards/skmt/15k/keymaps/default/keymap.c b/keyboards/skmt/15k/keymaps/default/keymap.c new file mode 100644 index 0000000000..bc34dd7ca2 --- /dev/null +++ b/keyboards/skmt/15k/keymaps/default/keymap.c @@ -0,0 +1,26 @@ +// Copyright 2022 Jimmy Lye (@satorusaka) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌────┬───┬───┬───┬────┐ + * │ F3 │ 9 │ 6 │ 3 │ fn │ + * ├────┼───┼───┼───┼────┤ + * │ F2 │ 8 │ 5 │ 2 │ . │ + * ├────┼───┼───┼───┼────┤ + * │ F1 │ 7 │ 4 │ 1 │ O │ + * └────┴───┴───┴───┴────┘ + */ + [0] = LAYOUT_default( + KC_F3, KC_KP_9, KC_KP_6, KC_KP_3, LT(1, KC_KP_ENTER), + KC_F2, KC_KP_8, KC_KP_5, KC_KP_2, KC_KP_DOT, + KC_F1, KC_KP_7, KC_KP_4, KC_KP_1, KC_KP_0 + ), + [1] = LAYOUT_default( + RGB_TOG,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + RGB_MODE_FORWARD,RGB_HUI,RGB_SAI,RGB_VAI,RGB_SPI, + RGB_MODE_REVERSE,RGB_HUD,RGB_SAD,RGB_VAD,RGB_SPD + ) +}; diff --git a/keyboards/skmt/15k/keymaps/fns/keymap.c b/keyboards/skmt/15k/keymaps/fns/keymap.c new file mode 100644 index 0000000000..8933260d5f --- /dev/null +++ b/keyboards/skmt/15k/keymaps/fns/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 Jimmy Lye (@satorusaka) +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌────┬───┬───┬───┬────┐ + * │ F3 │ 9 │ 6 │ 3 │ fn │ + * ├────┼───┼───┼───┼────┤ + * │ F2 │ 8 │ 5 │ 2 │ . │ + * ├────┼───┼───┼───┼────┤ + * │ F1 │ 7 │ 4 │ 1 │ O │ + * └────┴───┴───┴───┴────┘ + */ + [0] = LAYOUT_default( + KC_F1, KC_F2, KC_F3, KC_F4, LT(1, KC_KB_MUTE), + KC_F5, KC_F6, KC_F7, KC_F8, KC_KB_VOLUME_UP, + KC_F9, KC_F10, KC_F11, KC_F12, KC_KB_VOLUME_DOWN + ), + [1] = LAYOUT_default( + RGB_TOG,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + RGB_MODE_FORWARD,RGB_HUI,RGB_SAI,RGB_VAI,RGB_SPI, + RGB_MODE_REVERSE,RGB_HUD,RGB_SAD,RGB_VAD,RGB_SPD + ) +}; diff --git a/keyboards/skmt/15k/keymaps/qwert/keymap.c b/keyboards/skmt/15k/keymaps/qwert/keymap.c new file mode 100644 index 0000000000..16464c93bc --- /dev/null +++ b/keyboards/skmt/15k/keymaps/qwert/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 Jimmy Lye (@satorusaka) +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬─────────────────────┐ + * │ Q │ W │ E │ R │ BACKSPACE (LAYER 1) │ + * ├───┼───┼───┼───┼─────────────────────┤ + * │ A │ S │ D │ F │ ENTER │ + * ├───┼───┼───┼───┼─────────────────────┤ + * │ Z │ X │ C │ V │ SPACE │ + * └───┴───┴───┴───┴─────────────────────┘ + */ + [0] = LAYOUT_default( + KC_Q, KC_W, KC_E, KC_R, LT(1, KC_BSPC), + KC_A, KC_S, KC_D, KC_F, KC_ENT, + KC_Z, KC_X, KC_C, KC_V, KC_SPC + ), + [1] = LAYOUT_default( + RGB_TOG,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + RGB_MODE_FORWARD,RGB_HUI,RGB_SAI,RGB_VAI,RGB_SPI, + RGB_MODE_REVERSE,RGB_HUD,RGB_SAD,RGB_VAD,RGB_SPD + ) +}; diff --git a/keyboards/skmt/15k/keymaps/via/keymap.c b/keyboards/skmt/15k/keymaps/via/keymap.c new file mode 100644 index 0000000000..d0384efba0 --- /dev/null +++ b/keyboards/skmt/15k/keymaps/via/keymap.c @@ -0,0 +1,35 @@ +// Copyright 2022 Jimmy Lye (@satorusaka) +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬─────────────────────┐ + * │ Q │ W │ E │ R │ BACKSPACE (LAYER 1) │ + * ├───┼───┼───┼───┼─────────────────────┤ + * │ A │ S │ D │ F │ ENTER │ + * ├───┼───┼───┼───┼─────────────────────┤ + * │ Z │ X │ C │ V │ SPACE │ + * └───┴───┴───┴───┴─────────────────────┘ + */ + [0] = LAYOUT_default( + KC_Q, KC_W, KC_E, KC_R, LT(1, KC_BSPC), + KC_A, KC_S, KC_D, KC_F, LT(2, KC_ENT), + KC_Z, KC_X, KC_C, KC_V, LT(3, KC_SPC) + ), + [1] = LAYOUT_default( + RGB_TOG,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + RGB_MODE_FORWARD,RGB_HUI,RGB_SAI,RGB_VAI,RGB_SPI, + RGB_MODE_REVERSE,RGB_HUD,RGB_SAD,RGB_VAD,RGB_SPD + ), + [2] = LAYOUT_default( + 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_default( + 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/skmt/15k/keymaps/via/rules.mk b/keyboards/skmt/15k/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/skmt/15k/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes |