[Keyboard] add encoder support to PlaidPad default mappings (#9396)
* Add flipped and discrete encoder support default mappings * Fixed typo in readme * Removed flipped layout, fix config.h encoder pin mapping, update readme Co-authored-by: matt <matt@smooth.tech>
This commit is contained in:
parent
d699fd1fb4
commit
e620a7beb2
3 changed files with 11 additions and 7 deletions
|
@ -30,9 +30,9 @@ void keyboard_post_init_user(void) {
|
|||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) { // First encoder - top left
|
||||
if (clockwise) {
|
||||
tap_code(KC_UP);
|
||||
tap_code(KC_RIGHT);
|
||||
} else {
|
||||
tap_code(KC_DOWN);
|
||||
tap_code(KC_LEFT);
|
||||
}
|
||||
} else if (index == 1) { // Second encoder - top right
|
||||
if (clockwise) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue