forked from forks/qmk_firmware
34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
|
/* Copyright 2023 Etienne Collin (@etiennecollin)
|
||
|
*
|
||
|
* 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 3 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 <https://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
// Activate caps word by pressing Left Shift + Right Shift
|
||
|
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
||
|
|
||
|
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat
|
||
|
#define QUICK_TAP_TERM 0
|
||
|
|
||
|
// Maximum time between taps of tap dances
|
||
|
#define TAPPING_TERM 175
|
||
|
|
||
|
// Perform hold action if pressing a dual-role key, tapping another key and
|
||
|
// releasing the dual-role key withing tapping term
|
||
|
#define PERMISSIVE_HOLD
|
||
|
|
||
|
// Perform hold action if pressing a dual-role key, pressing another key,
|
||
|
// releasing the dual-role key and releasing the other key withing tapping term
|
||
|
#define HOLD_ON_OTHER_KEY_PRESS
|