This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Public domain, as per The Unlicense. NO WARRANTY. See https://unlicense.org | |
extends Node | |
## Solves a [url=https://github.com/godotengine/godot/issues/59250]bug[/url] where touchpad devices | |
## can be detected as a joypad. | |
## | |
## This script should be autoloaded in the project settings. | |
## This is merely a workaround, not for use in production code. | |
static var _Self: GDScript = (func() -> void:).get_object() as GDScript |