-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/ft5x06: introduce conversion for X and Y coordinates #19867
Conversation
c66e7ed
to
2844f5a
Compare
2844f5a
to
622d959
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
bors merge
👎 Rejected by PR status |
bors merge |
👎 Rejected by PR status |
bors merge |
👎 Rejected by PR status |
Why the hell doesn't bors like this PR? If I'm right, we had the same problem with |
To obtain coordinates from the touch panel that correspond to the display coordinates, it is often necessary to convert the coordinates from the touch display by swapping and mirroring. For the sake of simplicity, possible rotations are additionally defined.
622d959
to
26ed7e6
Compare
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
@aabadie Thanks for reviewing and merging. |
Contribution description
This PR provides the parameter option to define how the X and Y coordinates have to be converted.
To get coordinates from the touch panel that correspond to the display coordinates, it is often necessary to convert the coordinates from the touch pannel by swapping and mirroring them. For the sake of simplicity, possible rotations are additionally defined.
The PR includes PRs #19860 and #19866 to be compilable.
Testing procedure
tests/pkg/lvgl_touch
should still work for thestm32f746g-disco
board.Issues/PRs references
Depends on PR #19860Depends on PR #19866