aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Input/IGamepadDriver.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Input/IGamepadDriver.cs')
-rw-r--r--src/Ryujinx.Input/IGamepadDriver.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Ryujinx.Input/IGamepadDriver.cs b/src/Ryujinx.Input/IGamepadDriver.cs
index 67b01c26..625c3e69 100644
--- a/src/Ryujinx.Input/IGamepadDriver.cs
+++ b/src/Ryujinx.Input/IGamepadDriver.cs
@@ -33,5 +33,11 @@ namespace Ryujinx.Input
/// <param name="id">The unique id of the gamepad</param>
/// <returns>An instance of <see cref="IGamepad"/> associated to the gamepad id given or null if not found</returns>
IGamepad GetGamepad(string id);
+
+ /// <summary>
+ /// Clear the internal state of the driver.
+ /// </summary>
+ /// <remarks>Does nothing by default.</remarks>
+ void Clear() { }
}
}