summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/InputEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-05 21:59:57 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-05 21:59:57 -0400
commit63fb4dbe8ae4d611c4854f863b9b29265e02fdee (patch)
treeceebeaa5739b04112f6efdc8fceabd17f8b6797c /src/SMAPI/Events/InputEvents.cs
parent0530824cc2c573cae0a80f7def2b46bf8aeb9af9 (diff)
downloadSMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.gz
SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.bz2
SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.zip
tweak new event naming convention (#310)
Diffstat (limited to 'src/SMAPI/Events/InputEvents.cs')
-rw-r--r--src/SMAPI/Events/InputEvents.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SMAPI/Events/InputEvents.cs b/src/SMAPI/Events/InputEvents.cs
index e62d6ee6..4c1781a5 100644
--- a/src/SMAPI/Events/InputEvents.cs
+++ b/src/SMAPI/Events/InputEvents.cs
@@ -19,15 +19,15 @@ namespace StardewModdingAPI.Events
/// <summary>Raised when the player presses a button on the keyboard, controller, or mouse.</summary>
public static event EventHandler<EventArgsInput> ButtonPressed
{
- add => InputEvents.EventManager.Legacy_Input_ButtonPressed.Add(value);
- remove => InputEvents.EventManager.Legacy_Input_ButtonPressed.Remove(value);
+ add => InputEvents.EventManager.Legacy_ButtonPressed.Add(value);
+ remove => InputEvents.EventManager.Legacy_ButtonPressed.Remove(value);
}
/// <summary>Raised when the player releases a keyboard key on the keyboard, controller, or mouse.</summary>
public static event EventHandler<EventArgsInput> ButtonReleased
{
- add => InputEvents.EventManager.Legacy_Input_ButtonReleased.Add(value);
- remove => InputEvents.EventManager.Legacy_Input_ButtonReleased.Remove(value);
+ add => InputEvents.EventManager.Legacy_ButtonReleased.Add(value);
+ remove => InputEvents.EventManager.Legacy_ButtonReleased.Remove(value);
}