diff options
Diffstat (limited to 'keyboards/arrayperipherals/vector/keymaps/default/keymap.c')
| -rw-r--r-- | keyboards/arrayperipherals/vector/keymaps/default/keymap.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/arrayperipherals/vector/keymaps/default/keymap.c b/keyboards/arrayperipherals/vector/keymaps/default/keymap.c new file mode 100644 index 0000000000..e290e37076 --- /dev/null +++ b/keyboards/arrayperipherals/vector/keymaps/default/keymap.c | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2024 David Doan <daviddoan1995@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | |||
| 22 | [0] = LAYOUT( | ||
| 23 | KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, TG(1) | ||
| 24 | ), | ||
| 25 | |||
| 26 | [1] = LAYOUT( | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TG(1) | ||
| 28 | ), | ||
| 29 | }; | ||
| 30 | |||
| 31 | #if defined(ENCODER_MAP_ENABLE) | ||
| 32 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 33 | [0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)}, | ||
| 34 | [1] = {ENCODER_CCW_CW(KC_TRNS, KC_TRNS)}, | ||
| 35 | }; | ||
| 36 | #endif // ENCODER_MAP_ENABLE \ No newline at end of file | ||
