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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// 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 GP1
//#define SERIAL_USART_RX_PIN GP1
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
#define MASTER_LEFT
#define LAYOUT(k0A, k0B, k0C, k0D, k0E, k4E, k4D, k4C, k4B, k4A, k1A, k1B, k1C, k1D, k1E, k5E, k5D, k5C, k5B, k5A, k2A, k2B, k2C, k2D, k2E, k6E, k6D, k6C, k6B, k6A, k3B, k3D, k3E, k7E, k7D, k7B) { \
{k0A, k0B, k0C, k0D, k0E}, \
{k1A, k1B, k1C, k1D, k1E}, \
{k2A, k2B, k2C, k2D, k2E}, \
{KC_NO, k3B, KC_NO, k3D, k3E}, \
{k4A, k4B, k4C, k4D, k4E}, \
{k5A, k5B, k5C, k5D, k5E}, \
{k6A, k6B, k6C, k6D, k6E}, \
{KC_NO, k7B, KC_NO, k7D, k7E} \
}
#define LAYOUT_LR( \
LA0, LA1, LA2, LA3, LA4, \
LB0, LB1, LB2, LB3, LB4, \
LC0, LC1, LC2, LC3, LC4, \
LT0, LT1, \
RA0, RA1, RA2, RA3, RA4, \
RB0, RB1, RB2, RB3, RB4, \
RC0, RC1, RC2, RC3, RC4, \
RT0, RT1 \
) LAYOUT( \
LA0, LA1, LA2, LA3, LA4, RA0, RA1, RA2, RA3, RA4, \
LB0, LB1, LB2, LB3, LB4, RB0, RB1, RB2, RB3, RB4, \
LC0, LC1, LC2, LC3, LC4, RC0, RC1, RC2, RC3, RC4, \
LT0, LT1, KC_NO, KC_NO, RT0, RT1 \
)
|