Keybind<T>

Namespace: SharpPluginLoader.Core.IO

A hotkey, for either a keyboard or a controller.

public struct Keybind<T>

Type Parameters

T
The enum type

Inheritance ObjectValueTypeKeybind<T>

Fields

Key

public T Key;

Modifiers

public T[] Modifiers;

Constructors

Keybind(T, T[])

A hotkey, for either a keyboard or a controller.

Keybind(T key, T[] modifiers)

Parameters

key T
The key

modifiers T[]
The modifiers