Show / Hide Table of Contents

Interface IInputManager

The interface to the input manager.

Namespace: Phoenix.Input
Assembly: Phoenix.Abstractions.Input.dll
Syntax
public interface IInputManager

Properties

View Source

GamepadUpdateRate

Gets a value representing the update rate for sending gamepad interactions to their devices.

Declaration
TimeSpan GamepadUpdateRate { get; }
Property Value
Type Description
System.TimeSpan

Methods

View Source

CreateGamepad(IDevice)

Creates a gamepad for the device.

Declaration
IGamepad CreateGamepad(IDevice device)
Parameters
Type Name Description
IDevice device

The device to create a gamepad for.

Returns
Type Description
IGamepad

The new gamepad.

View Source

GetGamepadsForDevice(IDevice)

Gets a collection of gamepads associated with a device.

Declaration
IEnumerable<IGamepad> GetGamepadsForDevice(IDevice device)
Parameters
Type Name Description
IDevice device

The device.

Returns
Type Description
System.Collections.Generic.IEnumerable<IGamepad>

A collection of gamepads bound to the device.

View Source

RemoveGamepad(IGamepad)

Removes the gamepad from the device.

Declaration
void RemoveGamepad(IGamepad gamepad)
Parameters
Type Name Description
IGamepad gamepad

The gamepad to remove.

  • View Source
In This Article
Back to top Generated by DocFX