aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2022-02-01 10:07:33 +0800
committerGitHub <noreply@github.com>2022-01-31 18:07:33 -0800
commitb56707a5177489b01ad0b79b4ef0be80c8573d23 (patch)
tree4f84349ca9206cccac2c1314e0ad0cac69eafd00
parenta2ef11bb006cfa0f185866f3f8d211131ca00af1 (diff)
downloadqmk_firmware-b56707a5177489b01ad0b79b4ef0be80c8573d23.tar.gz
qmk_firmware-b56707a5177489b01ad0b79b4ef0be80c8573d23.zip
[Keyboard] Simplify handedness for cradio (#16147)
-rw-r--r--keyboards/cradio/config.h3
-rw-r--r--keyboards/cradio/readme.md33
2 files changed, 2 insertions, 34 deletions
diff --git a/keyboards/cradio/config.h b/keyboards/cradio/config.h
index 37c329a24..aba6050af 100644
--- a/keyboards/cradio/config.h
+++ b/keyboards/cradio/config.h
@@ -67,9 +67,6 @@
67/* serial.c configuration for split keyboard */ 67/* serial.c configuration for split keyboard */
68#define SOFT_SERIAL_PIN D2 68#define SOFT_SERIAL_PIN D2
69 69
70/* Split handedness */
71#define EE_HANDS
72
73/* Top left key on left half */ 70/* Top left key on left half */
74#define BOOTMAGIC_LITE_ROW 0 71#define BOOTMAGIC_LITE_ROW 0
75#define BOOTMAGIC_LITE_COLUMN 0 72#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/cradio/readme.md b/keyboards/cradio/readme.md
index c6013006d..7f3cef096 100644
--- a/keyboards/cradio/readme.md
+++ b/keyboards/cradio/readme.md
@@ -20,40 +20,11 @@ Make example for this keyboard (after setting up your build environment):
20 20
21See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). 21See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
22 22
23## Setting Handedness
24
25Firmware uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default and it must be *configured once* on each side. The make commands are:
26
27 make cradio:default:dfu-split-left
28 make cradio:default:dfu-split-right
29
30[QMK Toolbox](http://qmk.fm/toolbox) can also be used to set EEPROM handedness. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand
31
32## Bootloader 23## Bootloader
33 24
34Enter the bootloader in 3 ways: 25Enter the bootloader in 3 ways:
35 26
36* **Bootmagic reset**: Hold down the top left key on the left half (or the top right right key on the right half) and plug in the controller on that side.
37* **Physical reset button**: Briefly press the reset button soldered on the PCB.
38* **Keycode in layout**: Press the key mapped to `RESET` if it is configured. 27* **Keycode in layout**: Press the key mapped to `RESET` if it is configured.
39 28* **Physical reset button**: Briefly press the reset button soldered on the PCB.
40## Swapped Pins 29* **Bootmagic reset**: Hold down the top left key on the left half (or the top right key on the right half) and plug in the controller on that side.
41
42If you have one of the PCB variant with swapped letters `Q` and `B` / `P` and `N`, add the following code to your keymap's `config.h` to swap pins `E6` and `D7` in the firmware:
43```c
44#undef DIRECT_PINS
45#define DIRECT_PINS { \
46 { D7, F7, F6, F5, F4 }, \
47 { B1, B3, B2, B6, D3 }, \
48 { D1, D0, D4, C6, E6 }, \
49 { B4, B5, NO_PIN, NO_PIN, NO_PIN } \
50}
51#undef DIRECT_PINS_RIGHT
52#define DIRECT_PINS_RIGHT { \
53 { F4, F5, F6, F7, D7 }, \
54 { D3, B6, B2, B3, B1 }, \
55 { E6, C6, D4, D0, D1 }, \
56 { B5, B4, NO_PIN, NO_PIN, NO_PIN } \
57}
58```
59 30