Skip to content

GamepadButtonSource

Source: Assets/UpscaleSDK/Core/Input/Runtime/Sources/Gamepad/GamepadButtonSource.cs

class GamepadButtonSource

Represents a gamepad button source class.

Properties

public DeviceType Device

Methods

public bool Accumulate(bool current, IInputProvider provider, int player)

Accumulate.

Parameters

Name Description
current The current.
provider The provider.
player The player.

public Sprite GetGlyph(IGlyphProvider provider)

Gets the glyph.

Parameters

Name Description
provider The provider.