summaryrefslogtreecommitdiff
path: root/keyboards/orbekk_dactyl/config.h
blob: cb82ae5022fef44de85e512344954461d07248de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright 2023 KJ Orbekk (@orbekk)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
 * Feature disable options
 *  These options are also useful to firmware size reduction.
 */

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define SERIAL_USART_FULL_DUPLEX   //Enable full duplex operation mode.
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U

#define MASTER_LEFT

// Don't send keyboard macros too fast.
#define TAP_CODE_DELAY 12

#define ACHORDION_STREAK

#define TAPPING_TERM_MS 200
#define PERMISSIVE_HOLD

#define TRI_LAYER_LOWER_LAYER 4  // LOW
#define TRI_LAYER_UPPER_LAYER 5  // RAISE
#define TRI_LAYER_ADJUST_LAYER 7  // FN