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.
Loading...
Searching...
No Matches
IGamepadManager.cs
2
7public interface IGamepadManager<out T> where T : IGamepadAdapter
8{
12 IReadOnlyCollection<T> ConnectedAdapters { get; }
13
24 {
25 }
26
36#pragma warning disable CS0618 // Compatibility bridge to the legacy combined operation.
37 void Poll() => Update();
38#pragma warning restore CS0618
39
48 [Obsolete("Implement UpdateConnections() and Poll() separately. The engine no longer calls Update() directly.")]
49 void Update();
50}
Defines an adapter interface for accessing gamepad input state and information.
void UpdateConnections()
Refreshes the collection of connected and disconnected gamepad adapters.
void Poll()
Polls the current state of already-connected gamepad adapters.
IReadOnlyCollection< T > ConnectedAdapters
Gets the list of currently connected gamepad adapters.
void Update()
Refreshes connection and controller state using the legacy combined operation.