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.

119 lines
9.7 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
[Keyboard] Adding RGBKB Zygomorph Keyboard (#5841) * Initial Zygomorph 5x6 code Split is not working yet * layout changes implement 4 row config option (not done yet), remove layout comments in layout.c * Zygomorph layouts for 5x12, 5x6, 4x12, and 4x6 Also, info.json *should* be nearly usable for the configurator * temporary fix for pin D5 being broken * show D5 issue comment * add build notes * Pin B7 broken in split why? * remove fix * Fix some pin assignments * begin to fix keymap * Create new 5x6 layout * update key positions * Initial Zygomorph 5x6 code Split is not working yet * layout changes implement 4 row config option (not done yet), remove layout comments in layout.c * Zygomorph layouts for 5x12, 5x6, 4x12, and 4x6 Also, info.json *should* be nearly usable for the configurator * temporary fix for pin D5 being broken * show D5 issue comment * add build notes * Pin B7 broken in split why? * remove fix * Fix some pin assignments * begin to fix keymap * Create new 5x6 layout * Rough first pass at split common conversion. Keymap cleanup to cover just the basics. Broke OLED code out into separate example. * Fix readme * Removal of old encoder / oled driver, fix for layout macros * small update * xulkal zygomorph keymaps * Removed the LED_MIRRORED option as leds are always mirrored on Zygomorph * Xulkal keymaps update * split rgb light support * fix line endings * Apply suggestions from code review Co-Authored-By: zvecr <git@zvecr.com> * More layout and compile fixes from pr review * Cleaning up rules.mk files * Apply suggestions from code review Co-Authored-By: zvecr <git@zvecr.com> * Updating defaults * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
5 years ago
5 years ago
5 years ago
  1. #pragma once
  2. /* Qwerty Layout
  3. * ,-----------------------------------------. ,-----------------------------------------.
  4. * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp |
  5. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  6. * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ |
  7. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  8. * |FN(CAPS)| A | S | D | F | G | | H | J | K | L | ; | Enter|
  9. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  10. * | Sft[ | Z | X | C | V | B | | N | M | , | . | / | Sft] |
  11. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  12. * | Ctrl | Win | ADJ | FN | Alt | Space| | Space| Left | Up | Down | Right| Ctrl |
  13. * `-----------------------------------------' `-----------------------------------------'
  14. */
  15. #define _________________QWERTY_L1_________________ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5
  16. #define _________________QWERTY_L2_________________ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T
  17. #define _________________QWERTY_L3_________________ RIS_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G
  18. #define _________________QWERTY_L4_________________ KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B
  19. #define _________________QWERTY_L5_________________ KC_LCPO, KC_LGUI, KC_LALT, LOWER, RAISE, KC_SPC
  20. #define _________________QWERTY_R1_________________ KC_6, KC_7, KC_8, KC_9, KC_0, TD_BSPC
  21. #define _________________QWERTY_R2_________________ KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS
  22. #define _________________QWERTY_R3_________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT
  23. #define _________________QWERTY_R4_________________ KC_N, KC_M, TD_COMM, KC_DOT, KC_SLASH, KC_RSPC
  24. #define _________________QWERTY_R5_________________ KC_SPC, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT, KC_RCPC
  25. #define ___________________GAME_L1_________________ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5
  26. #define ___________________GAME_L2_________________ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T
  27. #define ___________________GAME_L3_________________ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G
  28. #define ___________________GAME_L4_________________ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B
  29. #define ___________________GAME_L5_________________ KC_LCTL, KC_LGUI, LOWER, RAISE, KC_LALT, KC_SPC
  30. #define ___________________GAME_R1_________________ KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC
  31. #define ___________________GAME_R2_________________ KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS
  32. #define ___________________GAME_R3_________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT
  33. #define ___________________GAME_R4_________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT
  34. #define ___________________GAME_R5_________________ KC_SPC, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT, KC_RCTL
  35. /* RAISE Layout
  36. * ,-----------------------------------------. ,-----------------------------------------.
  37. * | F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
  38. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  39. * | | PGDN | UP | PGUP | |QWERTY| | | INS | HOME | PGUP | PRINT| |
  40. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  41. * | | LEFT | DOWN | RIGHT| | GAME | | | DEL | END | PGDN |SCRLCK| |
  42. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  43. * | | | | | | | | | | | | | |
  44. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  45. * | | | | | | | | | PREV | VOL+ | VOL- | NEXT | PLAY |
  46. * `-----------------------------------------' `-----------------------------------------'
  47. */
  48. #define __________________RAISE_L1_________________ KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5
  49. #define __________________RAISE_L2_________________ _______, KC_PGDN, KC_UP, KC_PGUP, _______, QWERTY
  50. #define __________________RAISE_L3_________________ _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, GAME
  51. #define __________________RAISE_L4_________________ _______, _______, _______, _______, _______, _______
  52. #define __________________RAISE_L5_________________ _______, _______, _______, _______, _______, _______
  53. #define __________________RAISE_R1_________________ KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11
  54. #define __________________RAISE_R2_________________ _______, KC_INS, KC_HOME, KC_PGUP, KC_PSCR, _______
  55. #define __________________RAISE_R3_________________ _______, KC_DEL, KC_END, KC_PGDN, KC_SLCK, _______
  56. #define __________________RAISE_R4_________________ _______, _______, _______, _______, _______, _______
  57. #define __________________RAISE_R5_________________ _______, KC_MPRV, KC_VOLU, KC_VOLD, KC_MNXT, KC_MPLY
  58. /* LOWER Layout
  59. * ,-----------------------------------------. ,-----------------------------------------.
  60. * | |RGBMD |RGBRMD|RGBTOG| | | | | | | SLCK | NLCK | DEL |
  61. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  62. * | SPDI | SAI | VAI | HUI | RESET| | | | | 7 | 8 | 9 | |
  63. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  64. * | SPDD | SAD | VAD | HUD |RGBRST| | | | | 4 | 5 | 6 | |
  65. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  66. * | | | | | | | | | | 1 | 2 | 3 | |
  67. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  68. * | | | | | | | | | | | 0 | . | |
  69. * `-----------------------------------------' `-----------------------------------------'
  70. */
  71. #define __________________LOWER_L1_________________ _______, RGB_RMOD, RGB_MOD, RGB_TOG, _______, _______
  72. #define __________________LOWER_L2_________________ RGB_SPI, RGB_SAI, RGB_VAI, RGB_HUI, RESET, _______
  73. #define __________________LOWER_L3_________________ RGB_SPD, RGB_SAD, RGB_VAD, RGB_HUD, RGBRST, _______
  74. #define __________________LOWER_L4_________________ _______, _______, _______, _______, _______, _______
  75. #define __________________LOWER_L5_________________ _______, _______, _______, _______, _______, _______
  76. #define __________________LOWER_R1_________________ _______, _______, _______, KC_SLCK, KC_NLCK, KC_DEL
  77. #define __________________LOWER_R2_________________ _______, _______, KC_KP_7, KC_KP_8, KC_KP_9, _______
  78. #define __________________LOWER_R3_________________ _______, _______, KC_KP_4, KC_KP_5, KC_KP_6, _______
  79. #define __________________LOWER_R4_________________ _______, _______, KC_KP_1, KC_KP_2, KC_KP_3, _______
  80. #define __________________LOWER_R5_________________ _______, _______, _______, KC_KP_0, KC_PDOT, _______
  81. /* ADJUST Layout
  82. * ,-----------------------------------------. ,-----------------------------------------.
  83. * | | | | | | | | | | | | | |
  84. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  85. * | | RESET| DEBUG| | | | | |TERM_ON|TERM_OFF| | | |
  86. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  87. * | | |MusMod|Aud on|AudOff|AGnorm| |AGswap|ClkUp |ClkDwn| | | |
  88. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  89. * | |Voice-|Voice+|Mus on|MusOff|MidiOn| |MidOff|ClkOn |ClkOff| | | |
  90. * |------+------+------+------+------+------| |------+------+------+------+------+------|
  91. * | | | | | | | | | | | | | |
  92. * `-----------------------------------------' `-----------------------------------------'
  93. */
  94. #define _________________ADJUST_L1_________________ _______, _______, _______, _______, _______, _______
  95. #define _________________ADJUST_L2_________________ _______, RESET, DEBUG, _______, _______, _______
  96. #define _________________ADJUST_L3_________________ _______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM
  97. #define _________________ADJUST_L4_________________ _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON
  98. #define _________________ADJUST_L5_________________ _______, _______, _______, _______, _______, _______
  99. #define _________________ADJUST_R1_________________ _______, _______, _______, _______, _______, _______
  100. #define _________________ADJUST_R2_________________ _______, TERM_ON, TERM_OFF, _______, _______, _______
  101. #define _________________ADJUST_R3_________________ AG_SWAP, CK_UP, CK_DOWN, _______, _______, _______
  102. #define _________________ADJUST_R4_________________ MI_OFF, CK_ON, CK_OFF, _______, _______, _______
  103. #define _________________ADJUST_R5_________________ _______, _______, _______, _______, _______, _______