summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2023-02-03 08:17:05 +0800
committerGitHub <noreply@github.com>2023-02-03 00:17:05 +0000
commit87c41527388fc3da129fe404366bbd12faf626b5 (patch)
treeef134c3756c97325d2f7210448dc4a8804acb9be
parent8e9d109b8c9b1caeea38dbafdfda20e1e79b2d58 (diff)
Update handedness by define examples (#19687)
-rw-r--r--docs/feature_split_keyboard.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/feature_split_keyboard.md b/docs/feature_split_keyboard.md
index fff72f71f3..616124004c 100644
--- a/docs/feature_split_keyboard.md
+++ b/docs/feature_split_keyboard.md
@@ -158,21 +158,22 @@ This setting is not changed when re-initializing the EEPROM using the `EE_CLR` k
You can find the `EEPROM` files in the QMK firmware repo, [here](https://github.com/qmk/qmk_firmware/tree/master/quantum/split_common).
+
#### Handedness by `#define`
-You can set the handedness at compile time. This is done by adding the following to your `config.h` file:
+You can use this option when USB cable is always connected to just one side of the split keyboard.
+If the USB cable is always connected to the right side, add the following to your `config.h` file and flash both sides with this option:
```c
#define MASTER_RIGHT
```
-or
-
+If the USB cable is always connected to the left side, add the following to your `config.h` file and flash both sides with this option:
```c
#define MASTER_LEFT
```
-If neither are defined, the handedness defaults to `MASTER_LEFT`.
+?> If neither options are defined, the handedness defaults to `MASTER_LEFT`.
### Communication Options