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.

42 lines
1.2 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x0000
  6. #define DEVICE_VER 0x0003
  7. #define MANUFACTURER nglgzz
  8. #define PRODUCT 42
  9. #define DESCRIPTION BT
  10. /* key matrix size */
  11. #define MATRIX_ROWS 4
  12. #define MATRIX_COLS 12
  13. /*
  14. * Keyboard Matrix Assignments
  15. *
  16. * Change this to how you wired your keyboard
  17. * COLS: AVR pins used for columns, left to right
  18. * ROWS: AVR pins used for rows, top to bottom
  19. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  20. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  21. *
  22. */
  23. #define MATRIX_COL_PINS { F5, F6, F7, F0, F1, F4, B6, B5, D7, C7, D6, B7 }
  24. #define MATRIX_ROW_PINS { D2, D3, D0, D1 }
  25. #define UNUSED_PINS
  26. /* COL2ROW, ROW2COL */
  27. #define DIODE_DIRECTION COL2ROW
  28. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  29. #define DEBOUNCE 5
  30. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  31. #define LOCKING_SUPPORT_ENABLE
  32. /* Locking resynchronize hack */
  33. #define LOCKING_RESYNC_ENABLE
  34. #define TAPPING_TERM 100