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.

93 lines
6.2 KiB

  1. // Copyright 2023 zzeneg (@zzeneg)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define SERIAL_USART_FULL_DUPLEX
  5. #define SERIAL_USART_PIN_SWAP
  6. #define SERIAL_USART_TX_PIN GP0
  7. #define SERIAL_USART_RX_PIN GP1
  8. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
  9. #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
  10. /* any side can be master by default, enable split sync to support it */
  11. #define EE_HANDS
  12. #define SPLIT_POINTING_ENABLE
  13. /* SPI config for display/touchpad */
  14. #define SPI_DRIVER SPID1
  15. #define SPI_SCK_PIN GP10
  16. #define SPI_MOSI_PIN GP11
  17. #define SPI_MISO_PIN GP12
  18. /* touchpad config */
  19. #define POINTING_DEVICE_RIGHT
  20. #define POINTING_DEVICE_CS_PIN GP9
  21. #define POINTING_DEVICE_ROTATION_180
  22. #define CIRQUE_PINNACLE_DIAMETER_MM 40
  23. /* LCD config */
  24. #define LCD_DC_PIN GP12
  25. #define LCD_CS_PIN GP9
  26. #define LCD_RST_PIN GP13
  27. #define BACKLIGHT_PWM_DRIVER PWMD7
  28. #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A
  29. #define QUANTUM_PAINTER_LVGL_USE_CUSTOM_CONF
  30. /* RGB config */
  31. #ifdef RGB_MATRIX_ENABLE
  32. # define SPLIT_TRANSPORT_MIRROR
  33. # define RGB_MATRIX_LED_COUNT RGBLIGHT_LED_COUNT
  34. # define RGB_DISABLE_WHEN_USB_SUSPENDED
  35. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  36. # define RGB_MATRIX_KEYPRESSES
  37. # define ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue
  38. # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes
  39. # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes
  40. # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
  41. # define ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right
  42. # define ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
  43. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
  44. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
  45. # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
  46. # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
  47. # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
  48. # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
  49. # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
  50. # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
  51. # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
  52. # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradient Chevron shaped scrolling left to right
  53. # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
  54. # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
  55. # define ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
  56. # define ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
  57. # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
  58. # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
  59. # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
  60. # define ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight amount at the same time, then shifts back
  61. # define ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight amount in a wave to the right, then back to the left
  62. # define ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight amount and then back down in a wave to the right
  63. # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL // Single hue fractal filled keys pulsing horizontally out to edges
  64. # define ENABLE_RGB_MATRIX_PIXEL_FLOW // Pulsing RGB flow along LED wiring with random hues
  65. # define ENABLE_RGB_MATRIX_PIXEL_RAIN // Randomly light keys with random hues
  66. # if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS)
  67. # define ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
  68. # define ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
  69. # endif
  70. # if defined(RGB_MATRIX_KEYPRESSES) || defined(RGB_MATRIX_KEYRELEASES)
  71. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out
  72. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
  73. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
  74. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
  75. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out
  76. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
  77. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out
  78. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
  79. # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out
  80. # define ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
  81. # define ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out
  82. # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
  83. # endif
  84. #endif