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

piscreen-overlay: Add invx, invy and swapxy #6337

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -3694,6 +3694,12 @@ Params: speed Display SPI bus speed
drm Select the DRM/KMS driver instead of the FBTFT
one

invx Touchscreen inverted x axis

invy Touchscreen inverted y axis

swapxy Touchscreen swapped x y axis


Name: piscreen2r
Info: PiScreen 2 with resistive TP display by OzzMaker.com
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/overlays/piscreen-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@
xohms = <&piscreen_ts>,"ti,x-plate-ohms;0";
drm = <&piscreen>,"compatible=waveshare,rpi-lcd-35",
<&piscreen>,"reset-gpios:8=",<GPIO_ACTIVE_HIGH>;
invx = <&piscreen_ts>,"touchscreen-inverted-x?";
invy = <&piscreen_ts>,"touchscreen-inverted-y?";
swapxy = <&piscreen_ts>,"touchscreen-swapped-x-y!";
};
};
Loading