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
Gondwana.Input.Gamepad.GamepadButtonDownEventArgs Class Referencesealed

Provides data for gamepad button down events, containing information about the button configuration and the gamepad adapter that generated the event. More...

Inheritance diagram for Gondwana.Input.Gamepad.GamepadButtonDownEventArgs:

Public Member Functions

 GamepadButtonDownEventArgs (GamepadButtonEventConfiguration config, IGamepadAdapter adapter)
 Initializes a new instance of the GamepadButtonDownEventArgs class with the specified button configuration and gamepad adapter.

Properties

GamepadButtonEventConfiguration Config [get]
 Gets the configuration details for the gamepad button that was pressed, including button identification and any associated event configuration settings.
IGamepadAdapter Adapter [get]
 Gets the gamepad adapter instance that detected and raised the button down event, providing access to the current state of the gamepad device.

Detailed Description

Provides data for gamepad button down events, containing information about the button configuration and the gamepad adapter that generated the event.

Definition at line 7 of file GamepadButtonDownEventArgs.cs.

Constructor & Destructor Documentation

◆ GamepadButtonDownEventArgs()

Gondwana.Input.Gamepad.GamepadButtonDownEventArgs.GamepadButtonDownEventArgs ( GamepadButtonEventConfiguration config,
IGamepadAdapter adapter )

Initializes a new instance of the GamepadButtonDownEventArgs class with the specified button configuration and gamepad adapter.

Parameters
configThe configuration details for the button that was pressed.
adapterThe gamepad adapter that detected the button down event.

Definition at line 27 of file GamepadButtonDownEventArgs.cs.

Property Documentation

◆ Adapter

IGamepadAdapter Gondwana.Input.Gamepad.GamepadButtonDownEventArgs.Adapter
get

Gets the gamepad adapter instance that detected and raised the button down event, providing access to the current state of the gamepad device.

Definition at line 19 of file GamepadButtonDownEventArgs.cs.

◆ Config

GamepadButtonEventConfiguration Gondwana.Input.Gamepad.GamepadButtonDownEventArgs.Config
get

Gets the configuration details for the gamepad button that was pressed, including button identification and any associated event configuration settings.

Definition at line 13 of file GamepadButtonDownEventArgs.cs.