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

InputEventGesture events branch dont working #83813

Closed
KeiMuriKoe opened this issue Oct 23, 2023 · 1 comment
Closed

InputEventGesture events branch dont working #83813

KeiMuriKoe opened this issue Oct 23, 2023 · 1 comment

Comments

@KeiMuriKoe
Copy link

Godot version

4.2 beta 2

System information

Mobile, Compability, Vulkan, Android

Issue description

All input events in Gesture branch dont working.
InputEventGesture
InputEventMagnifyGesture
InputEventPanGesture

this inputs doesnt emitet at all, i use my pixel 7 pro, even emulators, many vers of exports, etc...

(but only android)

Steps to reproduce

func _input(event):
if event is InputEventMagnifyGesture:
$Label.text = event.get_factor()
if event is InputEventPanGesture:
$Label2.text = event.get_delta()
if event is InputEventGesture:
$Label3.text = str(event)

I used a lot variants of this code, and tested it.

Minimal reproduction project

func _input(event):
if event is InputEventMagnifyGesture:
$Label.text = event.get_factor()
if event is InputEventPanGesture:
$Label2.text = event.get_delta()
if event is InputEventGesture:
$Label3.text = str(event)

@Calinou
Copy link
Member

Calinou commented Oct 23, 2023

This is expected, as these classes are currently only implemented on macOS: #13139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants