forked from mirrors/qmk_userspace
Add support for different encoder pinout for right half of split keyboard (#6521)
* Add support for different encoder pinouts for split keyboard * Update documentation for new encoder pinout feature
This commit is contained in:
parent
61b5914a80
commit
36dd261d06
3 changed files with 30 additions and 0 deletions
|
@ -20,6 +20,15 @@ Additionally, the resolution can be specified in the same file (the default & su
|
|||
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
||||
## Split Keyboards
|
||||
|
||||
If you are using different pinouts for the encoders on each half of a split keyboard, you can define the pinout for the right half like this:
|
||||
|
||||
```c
|
||||
#define ENCODERS_PAD_A_RIGHT { encoder1a, encoder2a }
|
||||
#define ENCODERS_PAD_B_RIGHT { encoder1b, encoder2b }
|
||||
```
|
||||
|
||||
## Callbacks
|
||||
|
||||
The callback functions can be inserted into your `<keyboard>.c`:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue