godot/core
Eoin O'Neill 8de98dbf21 Prevent double input events on gamepad when running through steam input
During GDC and general testing on Steam Deck units, we found that single
gamepads would often register inputs twice under certain circumstances.
This was caused by SteamInput creating a new virtual device, which Godot
registers as a second gamepad. This resulted in two gamepad devices
reporting the same button presses, often leading to buggy input response
on games with no multi-device logic and other-wise could cause intended
Steam rebindings to not work as intended (for example, swapping o and x
on a playstation pad if that feature isn't supported by the game.)

SDL gets around this by taking in a list of devices that are to be
ignored. When valve sees a controller that wants to be rebound via
SteamInput, they push a new VID/PID entry onto the environment
variable `SDL_GAMECONTROLLER_IGNORE_DEVICES` for the original gamepad
so that all game inputs can be read from the virtual gamepad instead.

This leverages the same logic as we are already using SDL gamepad
related HID mappings.
2023-07-10 15:26:33 -07:00
..
config C#: Unify project name handling and fix issues with the handling of some special characters 2023-06-14 21:07:58 +02:00
crypto
debugger Fix infinite loop on EOF in the command line debugger 2023-06-11 04:20:22 -07:00
error
extension GDExtension @since attribute 2023-06-21 12:47:48 +02:00
input Prevent double input events on gamepad when running through steam input 2023-07-10 15:26:33 -07:00
io Merge pull request #77361 from jpcerrone/fix_pck_path_inconsistencies 2023-06-20 00:02:22 +02:00
math Merge pull request #76787 from RedworkDE/avoid-localvector-copy 2023-06-20 00:01:55 +02:00
object Fix race in ScriptServer. 2023-06-21 09:52:10 -04:00
os Merge pull request #47996 from madmiraal/fix-17430 2023-06-19 15:39:06 +02:00
string Merge pull request #74760 from lassade/unicode-err-uses-replacement-char 2023-06-22 18:30:04 +02:00
templates Handle RID validator overflow 2023-06-20 13:20:17 +02:00
variant Ensure RID, Callable, and Signal are stored as strings 2023-06-22 17:01:08 +02:00
core_bind.cpp Merge pull request #78000 from RandomShaper/let_users_mess_up 2023-06-10 12:12:13 +02:00
core_bind.h Let user scripts disable thread safety checks 2023-06-09 18:24:01 +02:00
core_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
core_constants.cpp
core_constants.h
core_globals.cpp
core_globals.h
core_string_names.cpp
core_string_names.h
doc_data.cpp Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
doc_data.h Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
register_core_types.cpp Properly free core types in reverse order 2023-05-30 17:47:12 +02:00
register_core_types.h
SCsub
typedefs.h
version.h