You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
2.1 KiB

Update mtei's keymap (helix/rev2:five_rows, helix/pico:mtei, helix/rev3_5rows:five_rows) (#16966) * add users/mtei/key_blocks.h This change does not alter the binary of the build result. Moved common macro definitions in the following files to users/mtei/key_blocks.h. * keyboards/helix/rev2/keymaps/five_rows/keymap.c * keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c * remove INIT_HELIX_OLED() in helix:five_rows This change does not alter the binary of the build result. * update helix/pico/keymaps/mtei/keymap.c Changed helix/pico/keymaps/mtei/keymap.c to use users/mtei/key_blocks.h. This change does not alter the binary of the build result. * Remove old SSD1306OLED code from users/mtei/oled_display.c This change does not alter the binary of the build result. * add options ENABLE_COLEMAK, ENABLE_DVORAK and ENABLE_EUCALYN into five_rows/keymap.c * add users/mtei/{config.h,rules.mk,user_featues.mk,user_options.mk} * move layer_names[] from users/mtei/oled_display.c to keymaps/five_rows/keymap.c * Update keyboards/helix/pico/keymaps/mtei/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/pico/keymaps/mtei/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/pico/keymaps/mtei/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev2/keymaps/five_rows/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev2/keymaps/five_rows/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev2/keymaps/five_rows/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev3_5rows/keymaps/five_rows/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev3_5rows/keymaps/five_rows/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/helix/rev3_5rows/keymaps/five_rows/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/cpp_map.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/cpp_map.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/debug_config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/debug_config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/mtei/layer_number_util.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2 years ago
  1. // Copyright (c) 2022 Takeshi Ishii (mtei@github)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define _1_____2_____3_____4_____5 KC_1, KC_2, KC_3, KC_4, KC_5
  5. #define _6_____7_____8_____9_____0 KC_6, KC_7, KC_8, KC_9, KC_0
  6. #define F1____F2____F3____F4____F5 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5
  7. #define F6____F7____F8____F9____F10 KC_F6, KC_F7, KC_F8, KC_F9, KC_F10
  8. /* Qwerty */
  9. #define Q_____W_____E_____R_____T KC_Q, KC_W, KC_E, KC_R, KC_T
  10. #define Y_____U_____I_____O_____P KC_Y, KC_U, KC_I, KC_O, KC_P
  11. #define A_____S_____D_____F_____G KC_A, KC_S, KC_D, KC_F, KC_G
  12. #define H_____J_____K_____L____SCLN KC_H, KC_J, KC_K, KC_L, KC_SCLN
  13. #define Z_____X_____C_____V_____B KC_Z, KC_X, KC_C, KC_V, KC_B
  14. #define N_____M____COMM__DOT___SLSH KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH
  15. /* Colemak */
  16. #define Q_____W_____F_____P_____G KC_Q, KC_W, KC_F, KC_P, KC_G
  17. #define J_____L_____U_____Y____SCLN KC_J, KC_L, KC_U, KC_Y, KC_SCLN
  18. #define A_____R_____S_____T_____D KC_A, KC_R, KC_S, KC_T, KC_D
  19. #define H_____N_____E_____I_____O KC_H, KC_N, KC_E, KC_I, KC_O
  20. // Z_____X_____C_____V_____B KC_Z, KC_X, KC_C, KC_V, KC_B
  21. #define K_____M____COMM__DOT___SLSH KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH
  22. /* Dvorak */
  23. #define QUOT_COMM___DOT____P_____Y KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y
  24. #define F_____G_____C_____R_____L KC_F, KC_G, KC_C, KC_R, KC_L
  25. #define A_____O_____E_____U_____I KC_A, KC_O, KC_E, KC_U, KC_I
  26. #define D_____H_____T_____N_____S KC_D, KC_H, KC_T, KC_N, KC_S
  27. #define SCLN___Q_____J_____K_____X KC_SCLN, KC_Q, KC_J, KC_K, KC_X
  28. #define B_____M_____W_____V_____Z KC_B, KC_M, KC_W, KC_V, KC_Z
  29. /* Eucalyn rev3 (http://eucalyn.hatenadiary.jp/entry/about-eucalyn-layout) */
  30. #define Q_____W___COMM___DOT__SCLN KC_Q, KC_W, KC_COMM, KC_DOT, KC_SCLN
  31. #define M_____R_____D_____Y_____P KC_M, KC_R, KC_D, KC_Y, KC_P
  32. #define A_____O_____E_____I_____U KC_A, KC_O, KC_E, KC_I, KC_U
  33. #define G_____T_____K_____S_____N KC_G, KC_T, KC_K, KC_S, KC_N
  34. #define Z_____X_____C_____V_____F KC_Z, KC_X, KC_C, KC_V, KC_F
  35. #define B_____H_____J_____L____SLSH KC_B, KC_H, KC_J, KC_L, KC_SLSH