Skip to content

Commit

Permalink
Add info about how to return in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed May 13, 2021
1 parent e544211 commit 756e62c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/feature_encoders.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
```
!> If you return `true`, this will allow the keyboard level code to run, as well. Returning `false` will override the keyboard level code. Depending on how the keyboard level function is set up.
## Hardware
The A an B lines of the encoders should be wired directly to the MCU, and the C/common lines should be wired to ground.
Expand Down

0 comments on commit 756e62c

Please sign in to comment.