aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/instant60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cannonkeys/instant60/config.h')
-rw-r--r--keyboards/cannonkeys/instant60/config.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h
index 1c4325187..73b2ad533 100644
--- a/keyboards/cannonkeys/instant60/config.h
+++ b/keyboards/cannonkeys/instant60/config.h
@@ -33,6 +33,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } 33#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
34#define DIODE_DIRECTION COL2ROW 34#define DIODE_DIRECTION COL2ROW
35 35
36#define BACKLIGHT_PIN A6
37#define BACKLIGHT_PWM_DRIVER PWMD3
38#define BACKLIGHT_PWM_CHANNEL 1
39#define BACKLIGHT_PAL_MODE 1
36#define BACKLIGHT_LEVELS 6 40#define BACKLIGHT_LEVELS 6
37#define BACKLIGHT_BREATHING 41#define BACKLIGHT_BREATHING
38#define BREATHING_PERIOD 6 42#define BREATHING_PERIOD 6
@@ -52,16 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
52#define RGB_DI_PIN B15 56#define RGB_DI_PIN B15
53#define RGBLED_NUM 14 57#define RGBLED_NUM 14
54#define WS2812_SPI SPID2 58#define WS2812_SPI SPID2
55 59#define WS2812_SPI_MOSI_PAL_MODE 0
56// Backlight config starts after VIA's EEPROM usage,
57// dynamic keymaps start after this.
58#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1
59
60// VIA lighting is handled by the keyboard-level code
61#define VIA_CUSTOM_LIGHTING_ENABLE
62
63// Let VIA handle the QMK RGBLIGHT
64#define VIA_QMK_RGBLIGHT_ENABLE
65 60
66/* 61/*
67 * Feature disable options 62 * Feature disable options