diff options
author | Drashna Jaelre <drashna@live.com> | 2021-11-26 19:40:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-27 14:40:09 +1100 |
commit | 4d0dd1eab78c7f2af40a84a34da12a2a8398fda9 (patch) | |
tree | 89dc2cd405878458e6b1f84e51e2bd8575309ef1 /docs | |
parent | 94d7cc371265a2838fb44508bdc34d8be59a11eb (diff) |
[Bug] Revert Assymmetrical Split Encoder support (#12090) (#15311)
* Revert "fix broken macro in transport.h (#15239)"
This reverts commit 06f18e22d9aff0afa4dce101a6a1b2cae5511365.
* Revert "Rework encoders to enable asymmetric split keyboards (#12090)"
This reverts commit 32215d5bff52262542a2f8d2a221b0303f02c019.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_encoders.md | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md index 5b6c3f163f..8e854c1e58 100644 --- a/docs/feature_encoders.md +++ b/docs/feature_encoders.md @@ -46,9 +46,7 @@ For 4× encoders you also can assign default position if encoder skips pulses wh ## Split Keyboards -The above is enough for split keyboards that are symmetrical, i.e. the halves have the same number of encoders and they are on the same pins. -If the halves are not symmetrical, you can define the pinout (and optionally, resolutions) of the right half separately. -The left half will use the definitions above. +If you are using different pinouts for the encoders on each half of a split keyboard, you can define the pinout (and optionally, resolutions) for the right half like this: ```c #define ENCODERS_PAD_A_RIGHT { encoder1a, encoder2a } @@ -56,17 +54,6 @@ The left half will use the definitions above. #define ENCODER_RESOLUTIONS_RIGHT { 2, 4 } ``` -If only the right half has encoders, you must still define an empty array for the left pads (and resolutions, if you define `ENCODER_RESOLUTIONS_RIGHT`). - -```c -#define ENCODERS_PAD_A { } -#define ENCODERS_PAD_B { } -#define ENCODER_RESOLUTIONS { } -#define ENCODERS_PAD_A_RIGHT { encoder1a, encoder2a } -#define ENCODERS_PAD_B_RIGHT { encoder1b, encoder2b } -#define ENCODER_RESOLUTIONS_RIGHT { 2, 4 } -``` - ## Callbacks The callback functions can be inserted into your `<keyboard>.c`: |