diff options
Diffstat (limited to 'layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c')
| -rw-r--r-- | layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c new file mode 100644 index 000000000..e024d5fb9 --- /dev/null +++ b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "debug.h" | ||
| 3 | #include "action_layer.h" | ||
| 4 | |||
| 5 | #define BASE 0 | ||
| 6 | |||
| 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 8 | [BASE] = LAYOUT_ergodox( | ||
| 9 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F5, | ||
| 10 | KC_TAB, KC_Q, KC_W, KC_D, KC_F, KC_K, KC_BSLS, | ||
| 11 | KC_LCTRL, KC_A, KC_S, KC_E, KC_T, KC_G, | ||
| 12 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, | ||
| 13 | KC_F1, KC_F2, KC_F3, KC_F4, KC_LGUI, | ||
| 14 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLD, KC_MUTE, | ||
| 15 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLU, | ||
| 16 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_BSPC, CTL_T(KC_ESC), KC_LALT, | ||
| 17 | // | ||
| 18 | /*-*/ KC_F6, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, | ||
| 19 | /*-*/ KC_NO, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_MINS, | ||
| 20 | /*-*/ /*-*/ KC_Y, KC_N, KC_I, KC_O, KC_H, KC_ENT, | ||
| 21 | /*-*/ KC_RBRC, KC_P, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 22 | /*-*/ /*-*/ /*-*/ KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, | ||
| 23 | KC_MPLY, KC_MNXT, | ||
| 24 | KC_MPRV, | ||
| 25 | KC_RALT, KC_QUOT, KC_SPC | ||
| 26 | ) | ||
| 27 | }; | ||
| 28 | |||
| 29 | const uint16_t PROGMEM fn_actions[] = { | ||
| 30 | }; | ||
| 31 | |||
| 32 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 33 | return MACRO_NONE; | ||
| 34 | }; | ||
| 35 | |||
| 36 | // Runs just one time when the keyboard initializes. | ||
| 37 | void matrix_init_user(void) { | ||
| 38 | ergodox_board_led_off(); | ||
| 39 | ergodox_right_led_1_off(); | ||
| 40 | ergodox_right_led_2_off(); | ||
| 41 | ergodox_right_led_3_off(); | ||
| 42 | }; | ||
| 43 | |||
| 44 | // Runs constantly in the background, in a loop. | ||
| 45 | void matrix_scan_user(void) { | ||
| 46 | }; | ||
