godotengine / godotengine/godot-docs

Adding examples to "get_joy_name()" of what the the function returns for each of the current gen platforms

Open
#7,678 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.1

**Issue description:**
I'm trying to add a controller detection feature to change the button glyphs in my project automatically. To do that, I use the Input.get_joy_name() function to check the returned string to check in code. I personally only own off-brand XInput and PS5 controllers so I can only use this function to see the string it returns for these two controller types. I'd like to know what it returns for other consoles like Xbox(Series X, One, 360) and Switch but since I don't own them, the functions use is very limited. So I think the docs could very much use a list of examples section to at least show the current generation of controllers.

**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/classes/class_input.html#class-input-method-get-joy-name

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.