mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 04:39:26 +06:00
f5ee7b7ed8
* Fork Rev. 3 to 4 * Update RGB LED positions * Adjust RGB positions * Enable more RGB modes * Update copyrights * Add license headers to keymaps * Use same type of license header Co-authored-by: Joel Challis <git@zvecr.com> * Fix I2C pins --------- Co-authored-by: Joel Challis <git@zvecr.com>
73 lines
2.7 KiB
C
73 lines
2.7 KiB
C
// Copyright 2023 Danny Nguyen (danny@keeb.io)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define SPLIT_HAND_PIN GP4
|
|
#define USB_VBUS_PIN GP14
|
|
#define SERIAL_USART_FULL_DUPLEX
|
|
#define SERIAL_USART_TX_PIN GP0
|
|
#define SERIAL_USART_RX_PIN GP1
|
|
#define SERIAL_USART_PIN_SWAP
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
|
#define I2C_DRIVER I2CD1
|
|
#define I2C1_SDA_PIN GP22
|
|
#define I2C1_SCL_PIN GP23
|
|
|
|
// RGB Matrix
|
|
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
#define ENABLE_RGB_MATRIX_BREATHING
|
|
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
#define ENABLE_RGB_MATRIX_FRACTAL
|
|
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
#define ENABLE_RGB_MATRIX_SPLASH
|
|
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
|
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
|
|
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
|
#define RGB_MATRIX_LED_COUNT 117
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
#define RGB_MATRIX_KEYPRESSES
|
|
#define SPLIT_TRANSPORT_MIRROR
|