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
IGamepadAdapter.cs
2
6public interface IGamepadAdapter
7{
11 string GamepadId { get; }
12
16 IReadOnlyCollection<string> PressedButtons { get; }
17
22
27
31 public float LeftTrigger { get; }
32
36 public float RightTrigger { get; }
37}
Defines an adapter interface for accessing gamepad input state and information.
float LeftTrigger
Gets the current pressure value of the left trigger, typically ranging from 0.0 (not pressed) to 1....
string GamepadId
Gets the unique identifier for the gamepad device.
IReadOnlyCollection< string > PressedButtons
Gets a read-only collection of button identifiers that are currently pressed on the gamepad.
GamepadStickState? RightStick
Gets the current state of the right analog stick, or null if not available.
float RightTrigger
Gets the current pressure value of the right trigger, typically ranging from 0.0 (not pressed) to 1....
GamepadStickState? LeftStick
Gets the current state of the left analog stick, or null if not available.
Represents the state of an analog stick on a gamepad, including both normalized floating-point values...