diff options
Diffstat (limited to 'src/SMAPI/IInputHelper.cs')
-rw-r--r-- | src/SMAPI/IInputHelper.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/IInputHelper.cs b/src/SMAPI/IInputHelper.cs index 328f504b..ba26773d 100644 --- a/src/SMAPI/IInputHelper.cs +++ b/src/SMAPI/IInputHelper.cs @@ -17,5 +17,9 @@ namespace StardewModdingAPI /// <summary>Prevent the game from handling a button press. This doesn't prevent other mods from receiving the event.</summary> /// <param name="button">The button to suppress.</param> void Suppress(SButton button); + + /// <summary>Get the status of a button.</summary> + /// <param name="button">The button to check.</param> + InputStatus GetStatus(SButton button); } } |