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.

222 lines
7.2 KiB

2020 November 28 Breaking Changes Update (#11053) * Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
3 years ago
2020 November 28 Breaking Changes Update (#11053) * Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
3 years ago
  1. /* Copyright 2019 Evy Dekkers
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x4705
  20. #define PRODUCT_ID 0x5C62
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Evyd13
  23. #define PRODUCT Eon75
  24. /* key matrix size */
  25. #define MATRIX_ROWS 12
  26. #define MATRIX_COLS 8
  27. /*
  28. * Keyboard Matrix Assignments
  29. *
  30. * Change this to how you wired your keyboard
  31. * COLS: AVR pins used for columns, left to right
  32. * ROWS: AVR pins used for rows, top to bottom
  33. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  34. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  35. *
  36. */
  37. #define MATRIX_ROW_PINS {D1,D0,D3,D2,D6,D4,D7,B4,B5,B6,C6,C7}
  38. #define MATRIX_COL_PINS {E6,F0,F1,F4,F5,F6,F7,B3}
  39. #define UNUSED_PINS {B2,B1}
  40. /* COL2ROW, ROW2COL*/
  41. #define DIODE_DIRECTION COL2ROW
  42. /*
  43. * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
  44. */
  45. // #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
  46. #define LED_NUM_LOCK_PIN B7
  47. #define LED_CAPS_LOCK_PIN D5
  48. #define LED_SCROLL_LOCK_PIN B0
  49. #define LED_PIN_ON_STATE 0
  50. // #define BACKLIGHT_PIN B7
  51. // #define BACKLIGHT_BREATHING
  52. // #define BACKLIGHT_LEVELS 3
  53. // #define RGB_DI_PIN D0
  54. // #ifdef RGB_DI_PIN
  55. // #define RGBLED_NUM 12
  56. // #define RGBLIGHT_HUE_STEP 8
  57. // #define RGBLIGHT_SAT_STEP 8
  58. // #define RGBLIGHT_VAL_STEP 8
  59. // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  60. // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  61. // /*== all animations enable ==*/
  62. // #define RGBLIGHT_ANIMATIONS
  63. // /*== or choose animations ==*/
  64. // #define RGBLIGHT_EFFECT_BREATHING
  65. // #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  66. // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  67. // #define RGBLIGHT_EFFECT_SNAKE
  68. // #define RGBLIGHT_EFFECT_KNIGHT
  69. // #define RGBLIGHT_EFFECT_CHRISTMAS
  70. // #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  71. // #define RGBLIGHT_EFFECT_RGB_TEST
  72. // #define RGBLIGHT_EFFECT_ALTERNATING
  73. // /*== customize breathing effect ==*/
  74. // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
  75. // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
  76. // /*==== use exp() and sin() ====*/
  77. // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
  78. // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
  79. // #endif
  80. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  81. #define DEBOUNCE 5
  82. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  83. //#define MATRIX_HAS_GHOST
  84. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  85. #define LOCKING_SUPPORT_ENABLE
  86. /* Locking resynchronize hack */
  87. #define LOCKING_RESYNC_ENABLE
  88. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  89. * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
  90. */
  91. // #define GRAVE_ESC_CTRL_OVERRIDE
  92. /*
  93. * Force NKRO
  94. *
  95. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  96. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  97. * makefile for this to work.)
  98. *
  99. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  100. * until the next keyboard reset.
  101. *
  102. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  103. * fully operational during normal computer usage.
  104. *
  105. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  106. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  107. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  108. * power-up.
  109. *
  110. */
  111. //#define FORCE_NKRO
  112. /*
  113. * Magic Key Options
  114. *
  115. * Magic keys are hotkey commands that allow control over firmware functions of
  116. * the keyboard. They are best used in combination with the HID Listen program,
  117. * found here: https://www.pjrc.com/teensy/hid_listen.html
  118. *
  119. * The options below allow the magic key functionality to be changed. This is
  120. * useful if your keyboard/keypad is missing keys and you want magic key support.
  121. *
  122. */
  123. /* key combination for magic key command */
  124. /* defined by default; to change, uncomment and set to the combination you want */
  125. // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
  126. /* control how magic key switches layers */
  127. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
  128. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
  129. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
  130. /* override magic key keymap */
  131. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
  132. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
  133. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
  134. //#define MAGIC_KEY_HELP H
  135. //#define MAGIC_KEY_HELP_ALT SLASH
  136. //#define MAGIC_KEY_DEBUG D
  137. //#define MAGIC_KEY_DEBUG_MATRIX X
  138. //#define MAGIC_KEY_DEBUG_KBD K
  139. //#define MAGIC_KEY_DEBUG_MOUSE M
  140. //#define MAGIC_KEY_VERSION V
  141. //#define MAGIC_KEY_STATUS S
  142. //#define MAGIC_KEY_CONSOLE C
  143. //#define MAGIC_KEY_LAYER0 0
  144. //#define MAGIC_KEY_LAYER0_ALT GRAVE
  145. //#define MAGIC_KEY_LAYER1 1
  146. //#define MAGIC_KEY_LAYER2 2
  147. //#define MAGIC_KEY_LAYER3 3
  148. //#define MAGIC_KEY_LAYER4 4
  149. //#define MAGIC_KEY_LAYER5 5
  150. //#define MAGIC_KEY_LAYER6 6
  151. //#define MAGIC_KEY_LAYER7 7
  152. //#define MAGIC_KEY_LAYER8 8
  153. //#define MAGIC_KEY_LAYER9 9
  154. //#define MAGIC_KEY_BOOTLOADER B
  155. //#define MAGIC_KEY_BOOTLOADER_ALT ESC
  156. //#define MAGIC_KEY_LOCK CAPS
  157. //#define MAGIC_KEY_EEPROM E
  158. //#define MAGIC_KEY_EEPROM_CLEAR BSPACE
  159. //#define MAGIC_KEY_NKRO N
  160. //#define MAGIC_KEY_SLEEP_LED Z
  161. /*
  162. * Feature disable options
  163. * These options are also useful to firmware size reduction.
  164. */
  165. /* disable debug print */
  166. //#define NO_DEBUG
  167. /* disable print */
  168. //#define NO_PRINT
  169. /* disable action features */
  170. //#define NO_ACTION_LAYER
  171. //#define NO_ACTION_TAPPING
  172. //#define NO_ACTION_ONESHOT
  173. //#define NO_ACTION_MACRO
  174. //#define NO_ACTION_FUNCTION
  175. /*
  176. * MIDI options
  177. */
  178. /* enable basic MIDI features:
  179. - MIDI notes can be sent when in Music mode is on
  180. */
  181. //#define MIDI_BASIC
  182. /* enable advanced MIDI features:
  183. - MIDI notes can be added to the keymap
  184. - Octave shift and transpose
  185. - Virtual sustain, portamento, and modulation wheel
  186. - etc.
  187. */
  188. //#define MIDI_ADVANCED
  189. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  190. //#define MIDI_TONE_KEYCODE_OCTAVES 1
  191. /* Bootmagic Lite key configuration */
  192. // #define BOOTMAGIC_LITE_ROW 0
  193. // #define BOOTMAGIC_LITE_COLUMN 0