mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules. - Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations. - Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances. - Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings. - Implemented IKeymapResolver interface for key mapping resolution. - Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Text.Json.Nodes;
|
||||
|
||||
namespace Shigure;
|
||||
|
||||
public sealed class KeymapService
|
||||
public sealed class KeymapService : IKeymapResolver
|
||||
{
|
||||
private readonly string _baseDirectory;
|
||||
private readonly ConfigService _config;
|
||||
|
||||
Reference in New Issue
Block a user