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.

49 lines
1.3 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x7431
  5. #define PRODUCT_ID 0x0001
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER whydobearsexplod
  8. #define PRODUCT qaz keyboard
  9. /* key matrix size */
  10. #define MATRIX_ROWS 6
  11. #define MATRIX_COLS 7
  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 { F4, D4, C6, E6, D1, D0 }
  23. #define MATRIX_COL_PINS { B4, D3, D2, F5, B5, F6, D7 }
  24. #define UNUSED_PINS
  25. /* COL2ROW, ROW2COL*/
  26. #define DIODE_DIRECTION COL2ROW
  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 F7
  34. #ifdef RGB_DI_PIN
  35. #define RGBLIGHT_ANIMATIONS
  36. #define RGBLED_NUM 21
  37. #define RGBLIGHT_HUE_STEP 8
  38. #define RGBLIGHT_SAT_STEP 8
  39. #define RGBLIGHT_VAL_STEP 8
  40. #endif