![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Manages SDL2-based gamepad connections, disconnections, and state updates for the application. More...
Public Member Functions | |
| void | UpdateConnections () |
| Checks SDL controller devices for connection and disconnection changes. | |
| void | Poll () |
| Refreshes SDL controller state and polls all currently connected adapters. | |
| void | Update () |
| Performs the legacy combined connection and state refresh. | |
Static Public Member Functions | |
| static SdlGamepadManager | Start () |
| Starts the SDL gamepad manager and returns the singleton instance. | |
| static void | Stop () |
| Stops the SDL gamepad manager, disposes all connected gamepad adapters, and clears the singleton instance. | |
Properties | |
| static ? SdlGamepadManager | Instance [get] |
| Gets the singleton instance of the SdlGamepadManager, if it has been started. | |
| IReadOnlyCollection< SdlGamepadAdapter > | ConnectedAdapters [get] |
| Gets the collection of currently connected gamepad adapters. | |
Manages SDL2-based gamepad connections, disconnections, and state updates for the application.
Definition at line 9 of file SdlGamepadManager.cs.
| void Gondwana.Input.Gamepad.SDL2.SdlGamepadManager.Poll | ( | ) |
Refreshes SDL controller state and polls all currently connected adapters.
Implements Gondwana.Input.Gamepad.IGamepadManager< out T >.
Definition at line 94 of file SdlGamepadManager.cs.
|
static |
Starts the SDL gamepad manager and returns the singleton instance.
Definition at line 37 of file SdlGamepadManager.cs.
|
static |
Stops the SDL gamepad manager, disposes all connected gamepad adapters, and clears the singleton instance.
Definition at line 48 of file SdlGamepadManager.cs.
| void Gondwana.Input.Gamepad.SDL2.SdlGamepadManager.Update | ( | ) |
Performs the legacy combined connection and state refresh.
Implements Gondwana.Input.Gamepad.IGamepadManager< out T >.
Definition at line 106 of file SdlGamepadManager.cs.
| void Gondwana.Input.Gamepad.SDL2.SdlGamepadManager.UpdateConnections | ( | ) |
Checks SDL controller devices for connection and disconnection changes.
Implements Gondwana.Input.Gamepad.IGamepadManager< out T >.
Definition at line 65 of file SdlGamepadManager.cs.
|
get |
Gets the collection of currently connected gamepad adapters.
Implements Gondwana.Input.Gamepad.IGamepadManager< out T >.
Definition at line 21 of file SdlGamepadManager.cs.
|
staticget |
Gets the singleton instance of the SdlGamepadManager, if it has been started.
Definition at line 14 of file SdlGamepadManager.cs.