diff options
Diffstat (limited to 'src/Ryujinx.Input/Assigner/IButtonAssigner.cs')
-rw-r--r-- | src/Ryujinx.Input/Assigner/IButtonAssigner.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Input/Assigner/IButtonAssigner.cs b/src/Ryujinx.Input/Assigner/IButtonAssigner.cs index 76a9fece..688fbddb 100644 --- a/src/Ryujinx.Input/Assigner/IButtonAssigner.cs +++ b/src/Ryujinx.Input/Assigner/IButtonAssigner.cs @@ -19,7 +19,7 @@ namespace Ryujinx.Input.Assigner /// Check if a button was pressed. /// </summary> /// <returns>True if a button was pressed</returns> - bool HasAnyButtonPressed(); + bool IsAnyButtonPressed(); /// <summary> /// Indicate if the user of this API should cancel operations. This is triggered for example when a gamepad get disconnected or when a user cancel assignation operations. @@ -31,6 +31,6 @@ namespace Ryujinx.Input.Assigner /// Get the pressed button that was read in <see cref="ReadInput"/> by the button assigner. /// </summary> /// <returns>The pressed button that was read</returns> - string GetPressedButton(); + Button? GetPressedButton(); } } |