diff options
author | Jameson Thatcher <sireel@bluescreenofdoom.com> | 2021-07-05 00:06:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 09:06:40 +1000 |
commit | 550d9253b03c4273065b212d0b856a9ad07132df (patch) | |
tree | b6f351bdb7bc76298cdd844fc9bee6ba6b38906e /docs | |
parent | 40c5f978719b5d99124f9d4c5d08818e21e7c555 (diff) |
Allow invert of SPLIT_HAND_PIN logic (#13433)
* added support for inverting the hand pin for split keyboards
* Added docs about SPLIT_HAND_LOW_IS_LEFT
* Update docs/feature_split_keyboard.md
bring #define for split hand pin low for left half name in line with grid pin define
Co-authored-by: Joel Challis <git@zvecr.com>
* Update quantum/split_common/split_util.c
update split hand pin low is left name to match split hand grid define
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_split_keyboard.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/feature_split_keyboard.md b/docs/feature_split_keyboard.md index 603c387c2d..428d581cab 100644 --- a/docs/feature_split_keyboard.md +++ b/docs/feature_split_keyboard.md @@ -89,7 +89,13 @@ You can configure the firmware to read a pin on the controller to determine hand #define SPLIT_HAND_PIN B7 ``` -This will read the specified pin. If it's high, then the controller assumes it is the left hand, and if it's low, it's assumed to be the right side. +This will read the specified pin. By default, if it's high, then the controller assumes it is the left hand, and if it's low, it's assumed to be the right side. + +This behaviour can be flipped by adding this to you `config.h` file: + +```c +#define SPLIT_HAND_PIN_LOW_IS_LEFT +``` #### Handedness by Matrix Pin |