Skip to content

Commit

Permalink
Change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mfakane committed May 7, 2019
1 parent f6c3c09 commit 2e7d123
Show file tree
Hide file tree
Showing 59 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Available on .NET Standard 2.0, but works only on Windows.
### Acquiring connected devices

```cs
// using Linearstar.RawInput;
// using Linearstar.Windows.RawInput;
// Get the devices that can be handled with Raw Input.
var devices = RawInputDevice.GetDevices();
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp.SimpleExample/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Linq;
using System.Windows.Forms;
using Linearstar.RawInput;
using Linearstar.Windows.RawInput;

namespace RawInput.Sharp.SimpleExample
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp.SimpleExample/RawInputEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Linearstar.RawInput;
using Linearstar.Windows.RawInput;

namespace RawInput.Sharp.SimpleExample
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp.SimpleExample/RawInputReceiverWindow.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using System.Windows.Forms;
using Linearstar.RawInput;
using Linearstar.Windows.RawInput;

namespace RawInput.Sharp.SimpleExample
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidButton.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Linq;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidButton
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidButtonSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidButtonSet : IEnumerable<HidButton>
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidButtonSetState.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections;
using System.Collections.Generic;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidButtonSetState : IEnumerable<HidButtonState>
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidButtonState.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidButtonState
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidPreparsedDataPtr.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Runtime.InteropServices;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidPreparsedDataPtr : SafeHandle
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidReader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Linq;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidReader
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/HidUsageAndPage.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public struct HidUsageAndPage : IEquatable<HidUsageAndPage>
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidValue.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Linq;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidValue
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidValueSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidValueSet : IEnumerable<HidValue>
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/HidValueSetState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidValueSetState : IEnumerable<HidValueState>
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/HidValueState.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public class HidValueState
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/CfgMgr32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Security;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
public static class CfgMgr32
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/ConfigReturnValue.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// CONFIGRET
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/DeviceInstanceHandle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// DEVINST
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/DevicePropertyKey.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// DEVPROPKEY
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Security;
using System.Text;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
public static class HidD
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidDeviceHandle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
public struct HidDeviceHandle : IEquatable<HidDeviceHandle>
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Security;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
public static class HidP
{
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPButtonCaps.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HIDP_BUTTON_CAPS
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPCaps.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HIDP_CAPS
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPCapsNotRange.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
[StructLayout(LayoutKind.Sequential)]
public struct HidPCapsNotRange
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPCapsRange.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
[StructLayout(LayoutKind.Sequential)]
public struct HidPCapsRange
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPReportType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HIDP_REPORT_TYPE
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPValueCaps.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HIDP_VALUE_CAPS
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/HidPreparsedData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HIDP_PREPARSED_DATA
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/NtStatus.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// NTSTATUS
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawHid.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Linq;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RAWHID
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputDeviceHandle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HANDLE
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputDeviceInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RID_DEVICE_INFO
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputDeviceInfoBehavior.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RIDI_*
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputDeviceListItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RAWINPUTDEVICELIST
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputHandle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// HRAWINPUT
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputHeader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputHidInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RID_DEVICE_INFO_HID
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputKeyboardInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RID_DEVICE_INFO_KEYBOARD
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawInputMouseInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RID_DEVICE_INFO_MOUSE
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawKeyboard.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RAWKEYBOARD
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/RawMouse.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
/// <summary>
/// RAWMOUSE
Expand Down
2 changes: 1 addition & 1 deletion RawInput.Sharp/Native/User32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Security;
using System.Text;

namespace Linearstar.RawInput.Native
namespace Linearstar.Windows.RawInput.Native
{
public static class User32
{
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/RawInput.Sharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>preview</LangVersion>
<RootNamespace>Linearstar.RawInput</RootNamespace>
<RootNamespace>Linearstar.Windows.RawInput</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Company>Linearstar</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>A simple wrapper library for Raw Input.</Description>
<Copyright>Copyright (c) 2019 mfakane</Copyright>
<Authors>mfakane</Authors>
<PackageLicenseExpression>Zlib</PackageLicenseExpression>
<Version>0.0.0</Version>
<Version>0.0.1</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
<PackageTags>Windows RawInput</PackageTags>
Expand Down
4 changes: 2 additions & 2 deletions RawInput.Sharp/RawInputData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Linq;
using System.Runtime.InteropServices;
using Linearstar.RawInput.Native;
using Linearstar.Windows.RawInput.Native;

namespace Linearstar.RawInput
namespace Linearstar.Windows.RawInput
{
public abstract class RawInputData
{
Expand Down
Loading

0 comments on commit 2e7d123

Please sign in to comment.