Skip to content

Commit

Permalink
Merge pull request #27 from LegendaryB/feature/25-global-mouse-keyboa…
Browse files Browse the repository at this point in the history
…rd-hook-instead-of-getlastinputinfo

Merge feature/25-global-mouse-keyboard-hook-instead-of-getlastinput into develop
  • Loading branch information
LegendaryB authored Sep 15, 2019
2 parents 1b03de8 + 476e8bc commit 1dd9c5a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Kirei.Application.System.Input
namespace Kirei.Application.System.InputProcessing
{
public interface IInputActionMapper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Kirei.Application.System.Input
namespace Kirei.Application.System.InputProcessing
{
public interface IInputListener
{
Expand Down
2 changes: 1 addition & 1 deletion src/Kirei.Infrastructure/Kirei.Infrastructure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />
<PackageReference Include="NeatInput" Version="1.0.0" />
<PackageReference Include="NeatInput" Version="1.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Kirei.Application.System.Input;
using Kirei.Application.System.InputProcessing;

using System;
using System.Collections.Generic;

namespace Kirei.Infrastructure.System.Input
namespace Kirei.Infrastructure.System.InputProcessing
{
public class InputActionMapper : IInputActionMapper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using Kirei.Application.System.Input;
using Kirei.Application.System.InputProcessing;
using Kirei.Infrastructure.Configuration;

using NeatInput;
using NeatInput.Domain.Processing;

using System;
using System.Threading;

namespace Kirei.Infrastructure.System.Input
namespace Kirei.Infrastructure.System.InputProcessing
{
public class InputListener :
IInputListener
Expand Down Expand Up @@ -48,7 +49,7 @@ public void Listen(IInputActionMapper inputActionMapper)
}
}

private void OnInputReceived(NeatInput.Domain.Hooking.Input input)
private void OnInputReceived(Input input)
{
lastInputReceivedAt = DateTime.Now;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Kirei/App.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Kirei.Application;
using Kirei.Application.System;
using Kirei.Application.System.Desktop;
using Kirei.Application.System.Input;
using Kirei.Application.System.InputProcessing;
using Kirei.Infrastructure.Configuration;

namespace Kirei
Expand Down
4 changes: 2 additions & 2 deletions src/Kirei/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Kirei.Application;
using Kirei.Application.System;
using Kirei.Application.System.Desktop;
using Kirei.Application.System.Input;
using Kirei.Application.System.InputProcessing;
using Kirei.Infrastructure;
using Kirei.Infrastructure.System;
using Kirei.Infrastructure.System.Desktop;
using Kirei.Infrastructure.System.Input;
using Kirei.Infrastructure.System.InputProcessing;

using Microsoft.Extensions.DependencyInjection;

Expand Down

0 comments on commit 1dd9c5a

Please sign in to comment.