]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_1x4/belgorath/keymap.c
[Keyboard] Add support for XD004 macro keyboard (#6337)
[qmk_firmware.git] / layouts / community / ortho_1x4 / belgorath / 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 _DEFAULT 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 [_DEFAULT] = LAYOUT_ortho_1x4 (
17     LOWER,  KC_P0,  KC_PDOT,KC_PAST 
18 ),
19
20 /* Lower */
21 [_LOWER] = LAYOUT_ortho_1x4 ( 
22     _______,_______,_______,_______ 
23 ),
24 };