config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. /*
  3. * Keyboard Matrix Assignments
  4. *
  5. * Change this to how you wired your keyboard
  6. * COLS: AVR pins used for columns, left to right
  7. * ROWS: AVR pins used for rows, top to bottom
  8. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  9. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  10. *
  11. */
  12. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  13. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D2, D4 }
  14. /* COL2ROW, ROW2COL*/
  15. #define DIODE_DIRECTION COL2ROW
  16. // fix iPhone and iPad power adapter issue
  17. // iOS device need lessthan 100
  18. #define USB_MAX_POWER_CONSUMPTION 100
  19. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  20. #define LOCKING_SUPPORT_ENABLE
  21. /* Locking resynchronize hack */
  22. #define LOCKING_RESYNC_ENABLE
  23. /*
  24. * Feature disable options
  25. * These options are also useful to firmware size reduction.
  26. */
  27. /* disable debug print */
  28. //#define NO_DEBUG
  29. /* disable print */
  30. //#define NO_PRINT
  31. /* disable action features */
  32. //#define NO_ACTION_LAYER
  33. //#define NO_ACTION_TAPPING
  34. //#define NO_ACTION_ONESHOT