45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/* Copyright 2023 Dave Vigil <dgvigil@gmail.com> dgvigil
|
|
*
|
|
* 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
|
|
|
|
// OLED driver
|
|
#ifdef OLED_DRIVER_ENABLE
|
|
#define OLED_DISPLAY_128X32
|
|
#define OLED_TIMEOUT 30000
|
|
#endif
|
|
|
|
#define AUTO_SHIFT_TIMEOUT 150
|
|
#define NO_AUTO_SHIFT_SPECIAL
|
|
|
|
#define SPLIT_LAYER_STATE_ENABLE
|
|
|
|
#define MOUSEKEY_DELAY 20
|
|
#define MOUSEKEY_INTERVAL 20
|
|
#define MOUSEKEY_MAX_SPEED 5
|
|
#define MOUSEKEY_TIME_TO_MAX 40
|
|
#define MOUSEKEY_WHEEL_MAX_SPEED 10
|
|
|
|
// Tapping Term
|
|
#define TAPPING_TERM 200
|
|
#define TAPPING_TERM_PER_KEY
|
|
|
|
|
|
#define COMBO_TERM 25 // how quickly all combo keys must be pressed in succession to trigger
|
|
#define COMBO_MUST_HOLD_MODS // if a combo triggers a modifier, only trigger when the combo is held
|
|
#define COMBO_HOLD_TERM 175 // how long at least one of the combo keys must be held to trigger
|