Skip to content

Testris: touch zones cover the board - #1

Closed
bdbarnett wants to merge 1 commit into
mainfrom
examples/testris-touch
Closed

bdbarnett wants to merge 1 commit into
mainfrom
examples/testris-touch

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

On a wide framebuffer display that can't rotate (an 800x480 ESP32-P4 panel), testris draws its board in the middle of the screen, but its 3x3 touch grid spanned the whole screen. Both columns of touch targets landed in the grid's middle column, so every tap read as Drop or Down.

The grid now covers the board's border once the layout is known. On a portrait display the board already fills the width, so nothing changes there.

Tested on an ESP32-P4 DEV-KIT (800x480): left, right, rotate and down targets all act as drawn.

On a wide display that can't turn, the board sits in the middle with
space either side, and its touch targets fell in the middle column of a
grid spread over the whole screen, so every target read as Drop or Down.
@bdbarnett bdbarnett closed this Oct 29, 2026
@bdbarnett
bdbarnett deleted the examples/testris-touch branch October 29, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant