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.

18 lines
350 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 3
  5. #define MATRIX_COLS 4
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS { D1, D0, D4 }
  8. #define MATRIX_COL_PINS { C6, D7, E6, B4 }
  9. #define UNUSED_PINS
  10. /* COL2ROW or ROW2COL */
  11. #define DIODE_DIRECTION COL2ROW
  12. /* Set 0 if debouncing isn't needed */
  13. #define DEBOUNCE 5