mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 12:09:16 +06:00
5f6ec37b7d
* Init commit * Prep for MVP * Add F Fixes (thanks F!) * Fix some incorrect layer summons * Create readme (remove comments from code) * Update OLED indicators (test) * Add more OLED updates * Add more layouts * Update readme and small tweaks * Update layers and prep for LED layers * Fix a trapped layer issue * Test animations * Add a happy frog animation to right screen * Add bulk work * Move fren readme image * Can't save images * Update FPS layout * Update Symbols layer * Update readme * Update readme (future comments move to readme) * Remove superfluous comments & add Licence * Add licence update
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* Copyright 2022 TravisHi
|
|
*
|
|
* 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
|
|
|
|
#ifdef OLED_ENABLE
|
|
#define OLED_DISPLAY_128X64
|
|
#endif
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
#define RGBLIGHT_LAYERS
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
#define RGBLIGHT_SLEEP
|
|
#endif
|
|
|
|
// The Leader key allows to flexibly assign macros to key sequences.
|
|
#define LEADER_PER_KEY_TIMING
|
|
#define LEADER_TIMEOUT 350
|
|
|
|
#define TAPPING_TERM 200
|
|
|
|
// Allows to use either side as the master. Look at the documentation for info:
|
|
// https://docs.qmk.fm/#/config_options?id=setting-handedness
|
|
#define EE_HANDS
|
|
|
|
// Allows media codes to properly register in macros and rotary encoder code
|
|
#define TAP_CODE_DELAY 10
|