-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32aadbb
commit 3e94457
Showing
8 changed files
with
1,076 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using RsrcArchitect.ViewModels.Types; | ||
|
||
namespace RsrcArchitect.Services; | ||
|
||
/// <summary> | ||
/// The default <see langword="interface" /> for a service that provides input polling functionality | ||
/// </summary> | ||
public interface IInputService | ||
{ | ||
/// <summary> | ||
/// Gets a key's held state | ||
/// </summary> | ||
/// <param name="key">The key to check against</param> | ||
/// <returns>Whether the key is currently being held</returns> | ||
public bool IsKeyHeld(Key key); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.