summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/jpe230/config.h
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-10-07 14:30:19 -0500
committerGitHub <noreply@github.com>2022-10-07 20:30:19 +0100
commit5d7e19209eac263f24d90e079749f646a86e50cc (patch)
treedb9f4ce73f9a99fdbd743ee6449d108d46327e04 /keyboards/crkbd/keymaps/jpe230/config.h
parentde2c81d5b29fc3b3b86f977b72ab3357a1d13a63 (diff)
Update CRKBD keymap (#18619)
Diffstat (limited to 'keyboards/crkbd/keymaps/jpe230/config.h')
-rw-r--r--keyboards/crkbd/keymaps/jpe230/config.h71
1 files changed, 39 insertions, 32 deletions
diff --git a/keyboards/crkbd/keymaps/jpe230/config.h b/keyboards/crkbd/keymaps/jpe230/config.h
index d8185d4253..57a0271e27 100644
--- a/keyboards/crkbd/keymaps/jpe230/config.h
+++ b/keyboards/crkbd/keymaps/jpe230/config.h
@@ -1,40 +1,47 @@
-/*
-This is the c configuration file for the keymap
+// Copyright 2022 Jose Pablo Ramirez (@jpe230)
+// SPDX-License-Identifier: GPL-2.0-or-later
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-Copyright 2015 Jack Humbert
-Copyright 2022 Jose Pablo Ramirez <jp.ramangulo@gmail.com>
+#pragma once
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
+/* ---------------------------
+ * Common Spit Configuration
+ * ---------------------------
+ */
+#define SPLIT_OLED_ENABLE
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+/* ---------------------------
+ * Common OLED Configuration
+ * ---------------------------
+ */
+#define OLED_TIMEOUT 0
+#define CUSTOM_OLED_TIMEOUT 10000
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+/* ---------------------------
+ * Common Bootmagic Lite
+ * ---------------------------
+ */
+#define BOOTMAGIC_LITE_ROW 0
+#define BOOTMAGIC_LITE_COLUMN 0
-#pragma once
+/* ---------------------------
+ * 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
-#ifndef RGB_MATRIX_ENABLE
-# define SPLIT_WPM_ENABLE
-#endif
+/* ---------------------------
+ * Common other Configuration
+ * ---------------------------
+ */
+#define ENABLE_COMPILE_KEYCODE
-#ifdef RGB_MATRIX_ENABLE
-# define RGB_DISABLE_WHEN_USB_SUSPENDED
-# 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
-# define ENABLE_RGB_MATRIX_ALPHAS_MODS
-# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
-# define ENABLE_RGB_MATRIX_BAND_VAL
-# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
-# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
-# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
+#if defined CONVERT_TO_KB2040 || defined CONVERT_TO_PROMICRO_RP2040
+# include "config_rp2040.h"
+#else
+# include "config_avr.h"
#endif