]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/6macro/keymaps/default/keymap.c
[Keyboard] Add 6macro keyboard (#6362)
[qmk_firmware.git] / keyboards / handwired / 6macro / keymaps / default / keymap.c
1 /* Copyright 2019 joaofbmaia
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 #include QMK_KEYBOARD_H
17
18 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19   
20   /* LAYER 0
21   * ,-----------------------.
22   * |  F13  |  F14  | F15/FN|  Hold for FN
23   * |-------+-------+-------|
24   * |  F16  |  F17  |  F18  |
25   * `-------+-------+-------'
26   */
27   [0] = LAYOUT(
28     KC_F13, KC_F14, LT(1, KC_F15), \
29     KC_F16, KC_F17, KC_F18  \
30   ),
31
32   /* LAYER 1
33   * ,-----------------------.
34   * |RGB_TOG|RGBMOD+|       |
35   * |-------+-------+-------|
36   * |RGBHUE+|RGBBRI+|Spec FN|   Hold along with previous to access special funtions (RESET)
37   * `-------+-------+-------'
38   */
39   [1] = LAYOUT(
40     RGB_TOG, RGB_MOD, KC_TRNS, \
41     RGB_HUI, RGB_VAI, MO(2)  \
42   ),
43
44   /* LAYER 2
45   * ,-----------------------.
46   * | RESET |RGBMOD-|       |
47   * |-------+-------+-------|
48   * |RGBHUE-|RGBBRI-|       |
49   * `-------+-------+-------'
50   */
51   [2] = LAYOUT(
52     RESET, RGB_RMOD, KC_NO, \
53     RGB_HUD, RGB_VAD, KC_TRNS  \
54   )
55   
56 };