mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 07:12:27 +02:00
* Adds API for retrieving correct key names & key combination strings. * Remove (most) bit flag stuff from InputManager.cs. Replaced it with a union.
18 lines
465 B
C#
18 lines
465 B
C#
using Robust.Client.Input;
|
|
using Robust.Shared.Input;
|
|
|
|
namespace Robust.Client.Interfaces.Input
|
|
{
|
|
public interface IKeyBinding
|
|
{
|
|
BoundKeyState State { get; }
|
|
BoundKeyFunction Function { get; }
|
|
KeyBindingType BindingType { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a user-presentable, localized & keyboard-adjusted string for which buttons the user has to press.
|
|
/// </summary>
|
|
string GetKeyString();
|
|
}
|
|
}
|