From 922d2b7034fb1655f489fce502a3eb5eadf801f2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 2 Jun 2023 13:13:06 +0200 Subject: Document the database for `Input.get_joy_name()` and `Input.get_joy_guid()` --- doc/classes/Input.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/classes/Input.xml') diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 98edcf6c42..a5c7925d17 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -118,14 +118,14 @@ - Returns a SDL2-compatible device GUID on platforms that use gamepad remapping. Returns [code]"Default Gamepad"[/code] otherwise. + Returns a SDL2-compatible device GUID on platforms that use gamepad remapping, e.g. [code]030000004c050000c405000000010000[/code]. Returns [code]"Default Gamepad"[/code] otherwise. Godot uses the [url=https://github.com/gabomdq/SDL_GameControllerDB]SDL2 game controller database[/url] to determine gamepad names and mappings based on this GUID. - Returns the name of the joypad at the specified device index. + Returns the name of the joypad at the specified device index, e.g. [code]PS4 Controller[/code]. Godot uses the [url=https://github.com/gabomdq/SDL_GameControllerDB]SDL2 game controller database[/url] to determine gamepad names. -- cgit v1.2.3