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.

85 lines
2.4 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 4
  5. #define MATRIX_COLS 16
  6. /*
  7. * Keyboard Matrix Assignments
  8. *
  9. * Change this to how you wired your keyboard
  10. * COLS: AVR pins used for columns, left to right
  11. * ROWS: AVR pins used for rows, top to bottom
  12. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  13. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  14. *
  15. */
  16. #define MATRIX_ROW_PINS { B2, D1, D0, D4 }
  17. #define MATRIX_COL_PINS { C6, D7, E6, B4, B5, B6, B7, D6, F7, F6, F5, F4, F1, F0, B3, B1 }
  18. #define UNUSED_PINS
  19. /* COL2ROW, ROW2COL*/
  20. #define DIODE_DIRECTION COL2ROW
  21. // #define BACKLIGHT_PIN C7
  22. // #define BACKLIGHT_BREATHING
  23. // #define BACKLIGHT_LEVELS 3
  24. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  25. #define DEBOUNCE 5
  26. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  27. //#define MATRIX_HAS_GHOST
  28. /* number of backlight levels */
  29. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  30. #define LOCKING_SUPPORT_ENABLE
  31. /* Locking resynchronize hack */
  32. #define LOCKING_RESYNC_ENABLE
  33. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  34. * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
  35. */
  36. // #define GRAVE_ESC_CTRL_OVERRIDE
  37. /*
  38. * Force NKRO
  39. *
  40. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  41. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  42. * makefile for this to work.)
  43. *
  44. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  45. * until the next keyboard reset.
  46. *
  47. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  48. * fully operational during normal computer usage.
  49. *
  50. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  51. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  52. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  53. * power-up.
  54. *
  55. */
  56. //#define FORCE_NKRO
  57. /*
  58. * Feature disable options
  59. * These options are also useful to firmware size reduction.
  60. */
  61. /* disable debug print */
  62. //#define NO_DEBUG
  63. /* disable print */
  64. //#define NO_PRINT
  65. /* disable action features */
  66. //#define NO_ACTION_LAYER
  67. //#define NO_ACTION_TAPPING
  68. //#define NO_ACTION_ONESHOT