]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/launchpad/keymaps/default/keymap.c
Update keyboards/kbdfans/kbd67/readme.md
[qmk_firmware.git] / keyboards / launchpad / keymaps / default / keymap.c
1 // Below layout is based upon /u/That-Canadian's planck layout
2 #include "launchpad.h"
3 #include "action_layer.h"
4 #include "eeconfig.h"
5
6 extern keymap_config_t keymap_config;
7
8 // Each layer gets a name for readability, which is then used in the keymap matrix below.
9 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
10 // Layer names don't all need to be of the same length, obviously, and you can also skip them
11 // entirely and just use numbers.
12 #define _QWERTY 0
13
14 #define _FUNC 15
15
16 // Defines for task manager and such
17 #define CALTDEL LCTL(LALT(KC_DEL))
18 #define TSKMGR LCTL(LSFT(KC_ESC))
19
20 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21
22 /* Qwerty
23  * ,-------------.
24  * |   1  |  2   |  
25  * |------+------|
26  * |   3  |  4   | 
27  * |------+------|
28  * |   5  |  6   |
29  * |------+------|
30  * | FUNC |  8   |
31  * `-------------'
32  */
33 [_QWERTY] = LAYOUT( \
34     KC_1,      KC_2, \
35     KC_3,      KC_4, \
36     KC_5,      KC_6, \
37     MO(_FUNC), KC_8  \
38 ),
39
40 /* Function
41  * ,-------------.
42  * |   Q  |CALDEL|  
43  * |------+------|
44  * |   A  |TSKMGR| 
45  * |------+------|
46  * |   Z  |  X   |
47  * |------+------|
48  * |      |  C   |
49  * `-------------'
50  */
51 [_FUNC] = LAYOUT( \
52     KC_Q,    CALTDEL, \
53     KC_A,    TSKMGR, \
54     KC_Z,    KC_X, \
55     _______, KC_C \
56 )
57
58 };
59
60 void matrix_init_user(void) {
61     
62 }