Sweden-Number/dlls/windows.gaming.input
Rémi Bernon 1ca51d33c2 windows.gaming.input: Implement IRawGameControllerStatics_get_RawGameControllers.
It is important to add RawGameController instances to the vector in the
initialization callback, because some games check the vector, as well
as the Gamepad class vector in the OnGameControllerAdded callback.

This also removes the OnGameControllerAdded failure case, to avoid
leaking controllers that were already added to the controller vector,
and instead rely on the OnGameControllerRemoved call to do the cleanup.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 18:27:44 +01:00
..
tests
Makefile.in windows.gaming.input: Instantiate the WineGameControllerProvider runtimeclass. 2022-03-04 19:16:40 +01:00
classes.idl
controller.c windows.gaming.input: Implement IRawGameControllerStatics_get_RawGameControllers. 2022-03-10 18:27:44 +01:00
gamepad.c windows.gaming.input: Implement IIterable<T> and IIterator<T> interfaces. 2022-03-09 20:54:16 +01:00
main.c windows.gaming.input: Implement IRawGameControllerStatics_FromGameController. 2022-03-08 22:43:36 +01:00
manager.c windows.gaming.input: Implement IRawGameControllerStatics_get_RawGameControllers. 2022-03-10 18:27:44 +01:00
private.h windows.gaming.input: Implement IIterable<T> and IIterator<T> interfaces. 2022-03-09 20:54:16 +01:00
provider.c windows.gaming.input: Check the controller type and create Gamepad instances. 2022-03-08 22:43:36 +01:00
provider.idl windows.gaming.input: Check the controller type and create Gamepad instances. 2022-03-08 22:43:36 +01:00
vector.c windows.gaming.input: Implement IIterable<T> and IIterator<T> interfaces. 2022-03-09 20:54:16 +01:00
windows.gaming.input.spec