Table of Contents

Class GameAxisKey

Namespace
TaleWorlds.InputSystem
Assembly
TaleWorlds.InputSystem.dll
public class GameAxisKey
Inheritance
GameAxisKey
Inherited Members

Constructors

GameAxisKey(string, InputKey, GameKey, GameKey, AxisType)

public GameAxisKey(string id, InputKey axisKey, GameKey positiveKey, GameKey negativeKey, GameAxisKey.AxisType type = AxisType.X)

Parameters

id string
axisKey InputKey
positiveKey GameKey
negativeKey GameKey
type GameAxisKey.AxisType

Properties

AxisKey

public Key AxisKey { get; }

Property Value

Key

DefaultAxisKey

public Key DefaultAxisKey { get; }

Property Value

Key

Id

public string Id { get; }

Property Value

string

NegativeKey

public GameKey NegativeKey { get; }

Property Value

GameKey

PositiveKey

public GameKey PositiveKey { get; }

Property Value

GameKey

Type

public GameAxisKey.AxisType Type { get; }

Property Value

GameAxisKey.AxisType

Methods

GetAxisState(bool, bool, bool, bool)

public float GetAxisState(bool isKeysAllowed, bool isMouseButtonAllowed, bool isMouseWheelAllowed, bool isControllerAllowed)

Parameters

isKeysAllowed bool
isMouseButtonAllowed bool
isMouseWheelAllowed bool
isControllerAllowed bool

Returns

float

ToString()

public override string ToString()

Returns

string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).