Skip to content

Add simulate_touch_with_mouse#977

Open
jonatino wants to merge 2 commits into
not-fl3:masterfrom
jonatino:simulate_touch
Open

Add simulate_touch_with_mouse#977
jonatino wants to merge 2 commits into
not-fl3:masterfrom
jonatino:simulate_touch

Conversation

@jonatino
Copy link
Copy Markdown
Contributor

@jonatino jonatino commented Jun 1, 2025

Since I wanted to start work on supporting multi touch in my game, I needed to map mouse events to touch events so I can just use touches for all my input logic. Chose a hardcoded id of 0 (since you cant have multi touch with a mouse) and followed the logic of simulate_mouse_with_touch but just inverse behavior.

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.

1 participant