Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flipped and discrete encoder support to PlaidPad default mappings #9396

Merged
merged 3 commits into from
Jul 24, 2020

Conversation

matthewweldon
Copy link
Contributor

The default mapping for the keycapsss plaid pad 4x4 does not include support for different keypresses on the rotary encoders, and doesn't work for encoder hardware that have flipped orientations.

These changes address those issues by adding a new flipped layout and adding left/right arrows to the left encoder.

@BenRoe should approve this PR before merge

Description

This PR provides two changes.

  1. The default plaid pad mapping will have left/right arrows mapped to the left encoder, and keeps up/down arrows mapped to the right encoder. Keymap readme.md updated to reflect this change.

  2. A new keymap is added for the plaid pad called default_flipped which adds the flipped encoder support to the config.h file and also keeps the arrow changes from the first change. Keymap readme.md added for explaining its usage.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@matthewweldon
Copy link
Contributor Author

I will leave this as a draft until I get feedback from @BenRoe, no rush though.

Copy link
Contributor

@BenRoe BenRoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some inline comments.

@matthewweldon
Copy link
Contributor Author

addressed typo and leaving the encoder rotation for now based on our chat.

ccw -> left/down
cw -> right/up

@matthewweldon matthewweldon marked this pull request as ready for review June 17, 2020 15:17
@drashna drashna requested a review from a team June 18, 2020 05:07
@BenRoe
Copy link
Contributor

BenRoe commented Jun 18, 2020

@matthewweldon please add the changes in the config.h from here to this pr.

@matthewweldon
Copy link
Contributor Author

@matthewweldon please add the changes in the config.h from here to this pr.

done, @BenRoe, I think this is ready to merge, going to make a new branch for the next keymap later

Copy link
Contributor

@BenRoe BenRoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@BenRoe
Copy link
Contributor

BenRoe commented Jul 14, 2020

Are there some questions about this pr, or is something missing? Please merge it.

@drashna
Copy link
Member

drashna commented Jul 24, 2020

Thanks!

@drashna drashna merged commit e620a7b into qmk:master Jul 24, 2020
nicocesar pushed a commit to nicocesar/qmk_firmware that referenced this pull request Aug 12, 2020
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants