config.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6A50
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER tominabox1
  8. #define PRODUCT underscore33
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 10
  12. /*
  13. * Keyboard Matrix Assignments
  14. *
  15. * Change this to how you wired your keyboard
  16. * COLS: AVR pins used for columns, left to right
  17. * ROWS: AVR pins used for rows, top to bottom
  18. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  19. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  20. *
  21. */
  22. #define MATRIX_ROW_PINS { F5, F6, C6, D0 }
  23. #define MATRIX_COL_PINS { B4, B5, D5, F7, B1, F4, B3, D7, B0, B2 }
  24. #define UNUSED_PINS
  25. /* COL2ROW, ROW2COL*/
  26. #define DIODE_DIRECTION ROW2COL
  27. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  28. #define DEBOUNCE 5
  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. /* #define RGB_DI_PIN B6
  34. #define RGBLED_NUM 1 */