diff options
author | Thomas <fearherbs1@gmail.com> | 2023-02-12 15:09:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 12:09:43 -0800 |
commit | 9a654e5728bb80016d02d1365561bcc8badd8770 (patch) | |
tree | deee87b8c4cc2fbc4fcbb65cae6d860f2ddd83f3 /keyboards/fearherbs1/blue_team_pad/keymaps | |
parent | 3f45fd4924ad13d76049d02611f63b2337e52bf2 (diff) |
[Keyboard] Add Blue Team Pad (#19807)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/fearherbs1/blue_team_pad/keymaps')
5 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c b/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c new file mode 100644 index 0000000000..7dbbca0dcc --- /dev/null +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c @@ -0,0 +1,22 @@ +// Copyright 2022-2023 Thomas Autiello Jr (@fearherbs1) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_MUTE, KC_MPLY, + KC_1, KC_2, KC_3, KC_4, KC_5, + KC_1, KC_2, KC_3, KC_4, KC_5, + KC_1, KC_2, KC_3, KC_4, KC_5, + KC_1, KC_2, KC_3, KC_4, KC_5 + ), + +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, +}; +#endif diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/default/rules.mk b/keyboards/fearherbs1/blue_team_pad/keymaps/default/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/default/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/via/config.h b/keyboards/fearherbs1/blue_team_pad/keymaps/via/config.h new file mode 100644 index 0000000000..c2144254be --- /dev/null +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/via/config.h @@ -0,0 +1,6 @@ +// Copyright 2022-2023 Thomas Autiello Jr (@fearherbs1) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 6 diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c b/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c new file mode 100644 index 0000000000..439b3d8493 --- /dev/null +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2022-2023 Thomas Autiello Jr (@fearherbs1) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_MUTE, KC_MPLY, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX + ), +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, +}; +#endif diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/via/rules.mk b/keyboards/fearherbs1/blue_team_pad/keymaps/via/rules.mk new file mode 100644 index 0000000000..f1adcab005 --- /dev/null +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +ENCODER_MAP_ENABLE = yes |