Skip to content

Commit

Permalink
Finalize multiselection support
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 committed Nov 12, 2023
1 parent 32aadbb commit 3e94457
Show file tree
Hide file tree
Showing 8 changed files with 1,076 additions and 10 deletions.
16 changes: 16 additions & 0 deletions RsrcArchitect.Services/IInputService.cs
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);
}
4 changes: 4 additions & 0 deletions RsrcArchitect.Services/RsrcArchitect.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
<RootNamespace>RsrcArchitect.Services</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\RsrcArchitect.ViewModels.Types\RsrcArchitect.ViewModels.Types.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit 3e94457

Please sign in to comment.