-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Godot 3.1 android devices does not detect Left mouse click anymore #27387
Comments
i changed the device in input maps and made it from device:0 to device:all , this seems to solve the problem. who ever im not sure why it did stop working |
Are you using a mouse on Android (which is possible, I'd just like to make sure)? Also, are you testing on a native device or in an emulator? It's good that it works when the device is set to "all", but I think it should still work when device ID 0 is specified. |
I used native android samsung S9 with a regular touches. |
Probably related to #26880, check if the id reported is -1 like on that issue. |
im not sure how to do that, i think it is similar |
Closing as duplicate of #26880. |
Still broken on 4.2.2 Stable. |
Godot version:
3.1 Stable
OS/device including version:
Android devices only, not desktop
Issue description:
I have been developing a game since 3.0 , and when 3.1 beta has been released i keep testing it and shift my project to it, however my last testing was on godot 3.1beta 10. which the game was working correctly, however when stable came, everything changed. for a certain reason the touch is not detected anymore.
Steps to reproduce:
Android devices is needed!
Create any 2d node,and a label node , use the following script
func _process(delta):
if Input.is_action_just_pressed("touch"):
print('im touched')
get_node("Label").text = 'im touched'
add touch map to left click on mouse.
this been tested on emulate mouse to touch and touch to mouse. none of them is working.
The text was updated successfully, but these errors were encountered: