Skip to content

Commit 9d6000a

Browse files
committed
Refactors project structure
Updates version
1 parent 98f9a6a commit 9d6000a

File tree

13 files changed

+29
-31
lines changed

13 files changed

+29
-31
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@
2525
// For more information, please refer to <http://unlicense.org>
2626
// ***************************************************************************
2727

28-
using Inputs.Inputs.GamePad;
29-
using Inputs.Inputs.Keyboard;
30-
using Inputs.Inputs.Mouse;
31-
using Inputs.Inputs.TouchPanel;
28+
using InputStateManager.Inputs;
3229
using JetBrains.Annotations;
3330

34-
namespace Inputs
31+
namespace InputStateManager
3532
{
3633
[PublicAPI]
37-
public class InputStateManager
34+
public class InputManager
3835
{
3936
public Mouse Mouse { get; } = new Mouse();
4037
public Pad Pad { get; } = new Pad();

InputStateManager/Inputs.csproj renamed to InputStateManager/InputStateManager.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{48D4510A-1D34-4F2F-B8D1-72617109B28F}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Inputs</RootNamespace>
11-
<AssemblyName>Inputs</AssemblyName>
10+
<RootNamespace>InputStateManager</RootNamespace>
11+
<AssemblyName>InputStateManager</AssemblyName>
1212
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
@@ -47,12 +47,12 @@
4747
</ItemGroup>
4848
<ItemGroup>
4949
<Compile Include="Inputs\GamePad\GamePadStates.cs" />
50-
<Compile Include="Inputs\GamePad\Pad.cs" />
51-
<Compile Include="InputStateManager.cs" />
52-
<Compile Include="Inputs\Keyboard\Key.cs" />
53-
<Compile Include="Inputs\Mouse\Mouse.cs" />
50+
<Compile Include="Inputs\Pad.cs" />
51+
<Compile Include="InputManager.cs" />
52+
<Compile Include="Inputs\Key.cs" />
53+
<Compile Include="Inputs\Mouse.cs" />
5454
<Compile Include="Properties\AssemblyInfo.cs" />
55-
<Compile Include="Inputs\TouchPanel\Touch.cs" />
55+
<Compile Include="Inputs\Touch.cs" />
5656
</ItemGroup>
5757
<ItemGroup>
5858
<None Include="packages.config" />

InputStateManager/InputStateManager.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inputs", "Inputs.csproj", "{48D4510A-1D34-4F2F-B8D1-72617109B28F}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InputStateManager", "InputStateManager.csproj", "{48D4510A-1D34-4F2F-B8D1-72617109B28F}"
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "..\Test\Test.csproj", "{5B47FE90-22E2-4184-A09D-03BAA54CBBB0}"
99
EndProject

InputStateManager/Inputs.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<iconUrl>https://github.com/UnterrainerInformatik/InputStateManager/raw/master/icon.png</iconUrl>
1111
<projectUrl>https://github.com/UnterrainerInformatik/InputStateManager</projectUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13-
<description>A helper class for MonoGame useful for querying keyboard, mouse, touch and gamepad inputs.</description>
13+
<description>A helper class (InputStateManager) for MonoGame useful for querying keyboard, mouse, touch and gamepad inputs.</description>
1414
<summary>
15-
A helper class for MonoGame useful for querying keyboard, mouse, touch and gamepad inputs.
15+
A helper class (InputStateManager) for MonoGame useful for querying keyboard, mouse, touch and gamepad inputs.
1616
Currently it provides convenience-methods in a fluent manner for:
1717
- Keyboard (Key) Sub-context for 'Is' and 'Was', helper functions for 'Any-ALT (...SHIFT, CTRL)' and NumLock and CapsLock.
1818
- Mouse (Mouse) Sub-context for 'Is' and 'Was' and delta-functions for mouse-wheel, position, etc...

InputStateManager/Inputs/GamePad/GamePadStates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
using Microsoft.Xna.Framework;
3030
using Microsoft.Xna.Framework.Input;
3131

32-
namespace Inputs.Inputs.GamePad
32+
namespace InputStateManager.Inputs.GamePad
3333
{
3434
[PublicAPI]
3535
class GamePadStates
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
using JetBrains.Annotations;
3030
using Microsoft.Xna.Framework.Input;
3131

32-
namespace Inputs.Inputs.Keyboard
32+
namespace InputStateManager.Inputs
3333
{
3434
[PublicAPI]
3535
public class Key
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
using Microsoft.Xna.Framework;
3131
using Microsoft.Xna.Framework.Input;
3232

33-
namespace Inputs.Inputs.Mouse
33+
namespace InputStateManager.Inputs
3434
{
3535
[PublicAPI]
3636
public class Mouse
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
// ***************************************************************************
2727

2828
using System;
29+
using InputStateManager.Inputs.GamePad;
2930
using JetBrains.Annotations;
3031
using Microsoft.Xna.Framework;
3132
using Microsoft.Xna.Framework.Input;
3233

33-
namespace Inputs.Inputs.GamePad
34+
namespace InputStateManager.Inputs
3435
{
3536
[PublicAPI]
3637
public class Pad

InputStateManager/Inputs/TouchPanel/Touch.cs renamed to InputStateManager/Inputs/Touch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
using Microsoft.Xna.Framework;
3131
using Microsoft.Xna.Framework.Input.Touch;
3232

33-
namespace Inputs.Inputs.TouchPanel
33+
namespace InputStateManager.Inputs
3434
{
3535
[PublicAPI]
3636
public class Touch

InputStateManager/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.4")]
36-
[assembly: AssemblyFileVersion("1.0.0.4")]
35+
[assembly: AssemblyVersion("1.1.0.1")]
36+
[assembly: AssemblyFileVersion("1.1.0.1")]

0 commit comments

Comments
 (0)