Gamepad

Summary

Definition

Namespace: SDT4.Managed.Input
Assembly: SDT4.Managed.Input.dll

sealed class Gamepad
Inheritance:

ObjectGamepad

Implements:


Fields

Name Type Description

Properties

Name Type Description
public get; Name String
public get; Index Int32
public get; set; Deadzone Single Threshold as to when joystick movement is relevant.
Not recommended to set to very low values, as minor stick drift is fairly common

Methods

public Boolean IsButtonDown(GamepadButtonInput button)

Parameters:

Returns:


public Single GetAnalogAxis(GamepadAnalogInput analog, Single deadzoneRange)

Parameters:

Returns:


public static Gamepad[] GetConnectedGamepads()

Returns:


public static Void SetGamepadStateCallback(GamepadConnectionStateDelegate cb)

Parameters:


public static Boolean IsGamepadPresent(Int32 gamepadIndex)

Parameters:

Returns: