I got my Hyperpixel 4 (rectangular) with Touch out of a dusty drawer and put it on a Pi 3 B+ with a completely fresh copy of RaspiOS. I installed the software with “curl -sSL https://get.pimoroni.com/hyperpixel4 | bash”, option 0 for rectangular/Pi3 and after rebooting I rotated it to landscape with “hyperpixel4-rotate right”. That works, and a the cursor works fine with a mouse. But Touch is b0rked!
It seems to me like this Pi3+Rectangular+Touch is a long established configuration, and it is not cheap throw-away hardware. How is it possible that after all these years (ok, 2?) the touchscreen does not work out of the box even on a Pi3 and will not work after quite a bit of user-level tinkering?!
After a lot of googling I found some more or less undocumented options to the overlay: touchscreen-swapped-x-y=1, touchscreen-inverted-x=1, touchscreen-inverted-y=1. All THREE of these are necessary to correct the swapped & inverted touch coordinates, but the software only seems to accept TWO of them at a time. So I’m stuck. Can you help?