/
/
/
1#pragma once
2
3#define DEBOUNCE 5
4#define WS2812_DI_PIN D2
5
6#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
7#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
8
9// Right half (reverse the column order to match the mirrored wiring)
10
11#define MATRIX_ROW_PINS_RIGHT { F7, B1, B3, B2, B6 }
12#define MATRIX_COL_PINS_RIGHT { B5, B4, E6, D7, C6, D4 }
13
14// USB lives on the right half. Both halves must be flashed with this defined.
15// Without it QMK falls back to "whichever half has USB is the left hand", which
16// would apply the left column order against the right half's mirrored wiring.
17#define MASTER_RIGHT
18
19// Bootmagic trigger for the right half: hold this key while plugging in to enter
20// the bootloader. The right half's own keys occupy matrix rows 5..9, so the plain
21// BOOTMAGIC_ROW/COLUMN ([0,1]) refer to a row it never scans and would never fire.
22// [5,5] is the top-right corner key, deliberately far from the shorted switch at
23// [9,5] (bottom-right, KC_DOWN) so a stuck key can never trigger a boot-time wipe.
24// NOTE: these only take effect once MASTER_RIGHT makes is_keyboard_left() false.
25#define BOOTMAGIC_ROW_RIGHT 5
26#define BOOTMAGIC_COLUMN_RIGHT 5
27
28