1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/crkbd/keymaps/jpe230/config.h

48 lines
1.1 KiB
C
Raw Normal View History

2022-10-07 21:30:19 +02:00
// Copyright 2022 Jose Pablo Ramirez (@jpe230)
// SPDX-License-Identifier: GPL-2.0-or-later
2022-10-07 21:30:19 +02:00
#pragma once
2022-10-07 21:30:19 +02:00
/* ---------------------------
* Common Spit Configuration
* ---------------------------
*/
#define SPLIT_OLED_ENABLE
2022-10-07 21:30:19 +02:00
/* ---------------------------
* Common OLED Configuration
* ---------------------------
*/
#define OLED_TIMEOUT 0
#define CUSTOM_OLED_TIMEOUT 10000
2022-10-07 21:30:19 +02:00
/* ---------------------------
* Common Bootmagic Lite
* ---------------------------
*/
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0
2022-10-07 21:30:19 +02:00
/* ---------------------------
* Common RGB Configuration
* ---------------------------
*/
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_DISABLE_TIMEOUT CUSTOM_OLED_TIMEOUT
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128
#define RGB_MATRIX_STARTUP_HUE 215
#define RGB_MATRIX_STARTUP_SAT 255
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
2022-10-07 21:30:19 +02:00
/* ---------------------------
* Common other Configuration
* ---------------------------
*/
#define ENABLE_COMPILE_KEYCODE
2022-10-07 21:30:19 +02:00
#if defined CONVERT_TO_KB2040 || defined CONVERT_TO_PROMICRO_RP2040
# include "config_rp2040.h"
#else
# include "config_avr.h"
#endif