Skip to content

Commit

Permalink
Update handedness by define examples (#19687)
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper authored Feb 3, 2023
1 parent 8e9d109 commit 87c4152
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/feature_split_keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87c4152

Please sign in to comment.