Open mnn opened 1 year ago
Are you using Linux on Steam Deck? From what I see Godot just checks if touch emulation from mouse is turned on:
On Windows it is properly implemented though. I might be wrong since I am not an expert in Godot codebase
Yes, Linux - SteamOS I think (the official preinstalled thing from Valve based on Arch). I was trying it in "game mode" (which players are most likely be using), not the desktop mode.
I think it does some emulation too - but it's probably not mouse emulating touch input (maybe pads are emulating mouse?).
@mnn I meant, Godot has an option to emulate touch from mouse in Project Settings, try turning it on
Related to https://github.com/godotengine/godot/issues/44578.
Actual touchscreen (and touch event) recognition isn't implemented on Linux yet. It's not easy to get working, unlike most other platforms.
For more information, see Arch's wiki page on the subject. Does not seem simple.
Godot version
3.5.1.stable.official
System information
Steam Deck
Issue description
Docs:
OS.has_touchscreen_ui_hint
reportsfalse
on Steam Deck, despite the device having a touchscreen.Steps to reproduce
Call
OS.has_touchscreen_ui_hint
on Steam Deck.Minimal reproduction project