mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-01 13:16:50 +06:00
00d3061e02
* ifdef rgb stuff like a madman for RGB Coexistance * Re-enable RGB Light on Planck * fix RGB Coexistance issue * Tweak feature settings for Ergodox EZ Glow * Their powers combine, and I am Captain RGB This one is for noroadsleft and yan. * Limit brightness when both RGB features are enabled * Change shutdown method * Add RGB Coexistience stuff to keymap * disable RGBLIGHT_SLEEP until a solution can be found * Disable Unicode on the kyria * Fix up Iris rev defines * Fix up community layouts to compile properly * Cleanup rgb stuff * Merge ergodox keymaps * Update CCCV macro to use tap_code16 * Enable Solenoid on C39 Because josh couldn't * Enable RGB Light, not Matrix on rev6 keymap * Only enable LTO on non-ARM boards * Clean up Bootmagic OLED display * Enable RGBLIGHT_SPLIT on kyria Not that it does anything * Add hotkey for discord
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/* Copyright 2019 Thomas Baart <thomas@splitkb.com>
|
|
*
|
|
* 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.
|
|
*
|
|
* 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define EE_HANDS
|
|
|
|
#ifdef OLED_DRIVER_ENABLE
|
|
# define OLED_DISPLAY_128X64
|
|
# define OLED_FONT_H "font_gmk_bad.h"
|
|
# define OLED_DISABLE_TIMEOUT
|
|
# define OLED_SCROLL_TIMEOUT_RIGHT 60000
|
|
#endif
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
# define RGBLIGHT_SLEEP
|
|
# define RGBLIGHT_LIMIT_VAL 200
|
|
# define RGBLIGHT_HUE_STEP 8
|
|
# define RGBLIGHT_SAT_STEP 8
|
|
# define RGBLIGHT_VAL_STEP 8
|
|
# define RGBLIGHT_SPLIT
|
|
#endif
|
|
|
|
// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
|
|
#define SPLIT_USB_DETECT
|
|
#define SPLIT_USB_TIMEOUT 1000
|