Skip to content

Commit d36870b

Browse files
committed
feat: simplify porting further
1 parent 03a4e9a commit d36870b

24 files changed

Lines changed: 29 additions & 108 deletions

File tree

docs/PORTING.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,7 @@ If the keyboard defines a split encoder, also override right-half pins:
5757
#endif
5858
```
5959

60-
## 3. Expand the Matrix
61-
62-
In your keymap's `config.h`, override the column count when Halcyon is enabled. Create the file if needed.
63-
64-
Determine the current column count by counting the number of pins from `keyboard.json`, then add 5:
65-
66-
```c
67-
#undef MATRIX_COLS
68-
#define MATRIX_COLS 11 // original + 5
69-
```
70-
71-
## 4. Define Halcyon Button Mappings
60+
## 3. Define Halcyon Button Mappings
7261

7362
Update `keymap.c`, or create a new file if you're using the `keymap.json` (e.g. `halcyon_keys.c`).
7463

@@ -104,7 +93,7 @@ const uint16_t right_halcyon_buttons[10][5] = {
10493
(Extend layers as needed; unused entries can remain `_______`.)
10594

10695

107-
## 5. Add extra encoder mapping
96+
## 4. Add extra encoder mapping
10897

10998
Update the keymap to include two extra encoder mappings. Extend layers as needed.
11099

@@ -128,7 +117,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
128117
#endif
129118
```
130119

131-
## 6. Compile
120+
## 5. Compile
132121

133122
Build using the standard userspace workflow described in the main [README](README.md).
134123

keyboards/splitkb/aurora/corne/keymaps/default_hlc/config.h

Lines changed: 0 additions & 7 deletions
This file was deleted.

keyboards/splitkb/aurora/corne/keymaps/vial_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@
1212
#define RGB_MATRIX_KEYPRESSES
1313

1414
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
15-
16-
#undef MATRIX_COLS
17-
#define MATRIX_COLS 11 // 5 extra columns for buttons

keyboards/splitkb/aurora/helix/keymaps/default_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
#pragma once
55

66
#define ENCODER_RESOLUTION 2
7-
8-
#undef MATRIX_COLS
9-
#define MATRIX_COLS 12 // original + 5

keyboards/splitkb/aurora/helix/keymaps/vial_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@
1414
#define RGB_MATRIX_KEYPRESSES
1515

1616
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
17-
18-
#undef MATRIX_COLS
19-
#define MATRIX_COLS 12 // original + 5

keyboards/splitkb/aurora/lily58/keymaps/default_hlc/config.h

Lines changed: 0 additions & 7 deletions
This file was deleted.

keyboards/splitkb/aurora/lily58/keymaps/vial_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@
1212
#define RGB_MATRIX_KEYPRESSES
1313

1414
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
15-
16-
#undef MATRIX_COLS
17-
#define MATRIX_COLS 11 // 5 extra columns for buttons

keyboards/splitkb/aurora/sofle_v2/keymaps/default_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
#pragma once
55

66
#define ENCODER_RESOLUTION 2
7-
8-
#undef MATRIX_COLS
9-
#define MATRIX_COLS 11

keyboards/splitkb/aurora/sofle_v2/keymaps/vial_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@
1414
#define RGB_MATRIX_KEYPRESSES
1515

1616
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
17-
18-
#undef MATRIX_COLS
19-
#define MATRIX_COLS 11

keyboards/splitkb/aurora/sweep/keymaps/default_hlc/config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
#pragma once
55

66
#define ENCODER_RESOLUTION 2
7-
8-
#undef MATRIX_COLS
9-
#define MATRIX_COLS 10 // 5 extra columns for buttons

0 commit comments

Comments
 (0)