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.

39 lines
1.7 KiB

  1. #pragma once
  2. #define PRODUCT_ID 0x6002
  3. #define DEVICE_VER 0x0001
  4. #define PRODUCT Hannah60 RGB Rev.2
  5. #ifdef RGBLIGHT_ENABLE
  6. # define RGB_DI_PIN A15
  7. # define RGBLED_NUM 18
  8. # define RGBLIGHT_ANIMATIONS
  9. # define RGBLIGHT_HUE_STEP 8
  10. # define RGBLIGHT_SAT_STEP 8
  11. # define RGBLIGHT_VAL_STEP 8
  12. #endif
  13. //rgb matrix setting// This is a 7-bit address, that gets left-shifted and bit 0
  14. // set to 0 for write, 1 for read (as per I2C protocol)
  15. // The address will vary depending on your wiring:
  16. // 0b1110100 AD <-> GND
  17. // 0b1110111 AD <-> VCC
  18. // 0b1110101 AD <-> SCL
  19. // 0b1110110 AD <-> SDA
  20. #define DRIVER_ADDR_1 0b1110100
  21. #define DRIVER_ADDR_2 0b1110110
  22. #define DRIVER_COUNT 2
  23. #define DRIVER_1_LED_TOTAL 44
  24. #define DRIVER_2_LED_TOTAL 34
  25. #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
  26. #define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  27. #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  28. #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  29. #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  30. #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
  31. #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
  32. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
  33. #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set
  34. #if defined(RGBLIGHT_ENABLE) && defined(RGB_MATRIX_ENABLE)
  35. # define RGB_MATRIX_DISABLE_KEYCODES
  36. #endif