Skip to content

Conversation

@j-jorge
Copy link
Contributor

@j-jorge j-jorge commented Nov 25, 2025

Hello, I have a UI test suite that simulate clicks in my app. I used to call EventTouch::setEventCode() and EventTouch::setTouches() to configure the event, but since it is guarded by a #if TOUCH_PERF_DEBUG (which is on by default) I supposed it was not an official feature.

In order to make the feature official, this PR:

  • removes TOUCH_PERF_DEBUG and the guarded functions.
  • adds a constructor to EventTouch to set the event code and the touches.

@j-jorge j-jorge force-pushed the event-touch-constructor branch from 68b90f6 to ace7296 Compare November 25, 2025 19:37
@j-jorge j-jorge force-pushed the event-touch-constructor branch from ace7296 to 6a59783 Compare November 25, 2025 20:23
@halx99 halx99 added this to the 2.10.0 milestone Nov 26, 2025
@halx99 halx99 merged commit 3e422aa into axmolengine:release/2.x Nov 26, 2025
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants