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