]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x4/jotix/keymap.c
Jotix keymaps (#5203)
[qmk_firmware.git] / layouts / community / ortho_4x4 / jotix / keymap.c
1 #include QMK_KEYBOARD_H
2
3 extern keymap_config_t keymap_config;
4
5 // Each layer gets a name for readability, which is then used in the keymap matrix below.
6 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
7 // Layer names don't all need to be of the same length, obviously, and you can also skip them
8 // entirely and just use numbers.
9
10 #define _NUMPAD 0
11 #define _LOWER  1
12 #define LOWER  LT(_LOWER, KC_PENT)
13
14 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
15
16 /* Numpad
17  * +-------+-------+-------+-------+
18  * |   7   |   8   |   9   |   -   |
19  * +-------+-------+-------+-------+
20  * |   4   |   5   |   6   |   +   |
21  * +-------+-------+-------+-------+
22  * |   1   |   2   |   3   |   /   |
23  * +-------+-------+-------+-------+
24  * |       |   0   |   .   |   *   |
25  * +-------+-------+-------+-------+
26  */
27 [_NUMPAD] = LAYOUT_jotpad16 ( 
28     KC_P7,  KC_P8,  KC_P9,  KC_PMNS,
29     KC_P4,  KC_P5,  KC_P6,  KC_PPLS,
30     KC_P1,  KC_P2,  KC_P3,  KC_PSLS,
31     LOWER,  KC_P0,  KC_PDOT,KC_PAST 
32 ),
33
34 /* Lower */
35 [_LOWER] = LAYOUT_jotpad16 ( 
36     KC_NLCK,_______,_______,RESET  ,
37     _______,_______,_______,_______,
38     _______,_______,_______,_______,
39     _______,_______,_______,_______ 
40 ),
41 };