Adding SharpLibHid DLL.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Properties/AssemblyInfo.cs Sun Mar 15 14:01:30 2015 +0100
1.3 @@ -0,0 +1,36 @@
1.4 +using System.Reflection;
1.5 +using System.Runtime.CompilerServices;
1.6 +using System.Runtime.InteropServices;
1.7 +
1.8 +// General Information about an assembly is controlled through the following
1.9 +// set of attributes. Change these attribute values to modify the information
1.10 +// associated with an assembly.
1.11 +[assembly: AssemblyTitle("SharpLibHid")]
1.12 +[assembly: AssemblyDescription("")]
1.13 +[assembly: AssemblyConfiguration("")]
1.14 +[assembly: AssemblyCompany("")]
1.15 +[assembly: AssemblyProduct("SharpLibHid")]
1.16 +[assembly: AssemblyCopyright("Copyright © 2015")]
1.17 +[assembly: AssemblyTrademark("")]
1.18 +[assembly: AssemblyCulture("")]
1.19 +
1.20 +// Setting ComVisible to false makes the types in this assembly not visible
1.21 +// to COM components. If you need to access a type in this assembly from
1.22 +// COM, set the ComVisible attribute to true on that type.
1.23 +[assembly: ComVisible(false)]
1.24 +
1.25 +// The following GUID is for the ID of the typelib if this project is exposed to COM
1.26 +[assembly: Guid("975f0b9b-456d-4db6-a0ea-56c257969b38")]
1.27 +
1.28 +// Version information for an assembly consists of the following four values:
1.29 +//
1.30 +// Major Version
1.31 +// Minor Version
1.32 +// Build Number
1.33 +// Revision
1.34 +//
1.35 +// You can specify all the values or you can default the Build and Revision Numbers
1.36 +// by using the '*' as shown below:
1.37 +// [assembly: AssemblyVersion("1.0.*")]
1.38 +[assembly: AssemblyVersion("1.0.0.0")]
1.39 +[assembly: AssemblyFileVersion("1.0.0.0")]
2.1 --- a/RawInput.cs Sun Mar 15 12:44:58 2015 +0100
2.2 +++ b/RawInput.cs Sun Mar 15 14:01:30 2015 +0100
2.3 @@ -9,7 +9,7 @@
2.4 /// <summary>
2.5 /// Provide some utility functions for raw input handling.
2.6 /// </summary>
2.7 - static class RawInput
2.8 + static public class RawInput
2.9 {
2.10 /// <summary>
2.11 ///
3.1 --- a/RemoteControlSample.csproj Sun Mar 15 12:44:58 2015 +0100
3.2 +++ b/RemoteControlSample.csproj Sun Mar 15 14:01:30 2015 +0100
3.3 @@ -124,25 +124,15 @@
3.4 <Compile Include="AssemblyInfo.cs">
3.5 <SubType>Code</SubType>
3.6 </Compile>
3.7 - <Compile Include="HidDevice.cs" />
3.8 - <Compile Include="HidEvent.cs" />
3.9 - <Compile Include="HidHandler.cs" />
3.10 - <Compile Include="HidUsageTables.cs" />
3.11 - <Compile Include="HidUtils.cs" />
3.12 <Compile Include="MainForm.cs">
3.13 <SubType>Form</SubType>
3.14 </Compile>
3.15 <Compile Include="MainForm.Designer.cs">
3.16 <DependentUpon>MainForm.cs</DependentUpon>
3.17 </Compile>
3.18 - <Compile Include="RawInput.cs" />
3.19 <Compile Include="RemoteControlDevice.cs">
3.20 <SubType>Code</SubType>
3.21 </Compile>
3.22 - <Compile Include="Win32AppCommand.cs" />
3.23 - <Compile Include="Win32CreateFile.cs" />
3.24 - <Compile Include="Win32Hid.cs" />
3.25 - <Compile Include="Win32RawInput.cs" />
3.26 <Content Include="App.ico" />
3.27 </ItemGroup>
3.28 <ItemGroup>
3.29 @@ -162,6 +152,12 @@
3.30 <DependentUpon>MainForm.cs</DependentUpon>
3.31 </EmbeddedResource>
3.32 </ItemGroup>
3.33 + <ItemGroup>
3.34 + <ProjectReference Include="SharpLibHid.csproj">
3.35 + <Project>{4f3f96e6-668a-488e-ba0c-ed249aface9e}</Project>
3.36 + <Name>SharpLibHid</Name>
3.37 + </ProjectReference>
3.38 + </ItemGroup>
3.39 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
3.40 <PropertyGroup>
3.41 <PreBuildEvent />
4.1 --- a/RemoteControlSample.sln Sun Mar 15 12:44:58 2015 +0100
4.2 +++ b/RemoteControlSample.sln Sun Mar 15 14:01:30 2015 +0100
4.3 @@ -8,16 +8,40 @@
4.4 Rebracer.xml = Rebracer.xml
4.5 EndProjectSection
4.6 EndProject
4.7 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpLibHid", "SharpLibHid.csproj", "{4F3F96E6-668A-488E-BA0C-ED249AFACE9E}"
4.8 +EndProject
4.9 Global
4.10 GlobalSection(SolutionConfigurationPlatforms) = preSolution
4.11 + Debug|Any CPU = Debug|Any CPU
4.12 + Debug|Mixed Platforms = Debug|Mixed Platforms
4.13 Debug|x86 = Debug|x86
4.14 + Release|Any CPU = Release|Any CPU
4.15 + Release|Mixed Platforms = Release|Mixed Platforms
4.16 Release|x86 = Release|x86
4.17 EndGlobalSection
4.18 GlobalSection(ProjectConfigurationPlatforms) = postSolution
4.19 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4.20 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
4.21 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
4.22 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|Mixed Platforms.Build.0 = Debug|x86
4.23 {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|x86.ActiveCfg = Debug|x86
4.24 {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Debug|x86.Build.0 = Debug|x86
4.25 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
4.26 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|Any CPU.Build.0 = Release|Any CPU
4.27 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|Mixed Platforms.ActiveCfg = Release|x86
4.28 + {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|Mixed Platforms.Build.0 = Release|x86
4.29 {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|x86.ActiveCfg = Release|x86
4.30 {F676C5E5-266C-439A-98C4-EF21CB9957F2}.Release|x86.Build.0 = Release|x86
4.31 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4.32 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
4.33 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
4.34 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
4.35 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Debug|x86.ActiveCfg = Debug|Any CPU
4.36 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
4.37 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Release|Any CPU.Build.0 = Release|Any CPU
4.38 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
4.39 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
4.40 + {4F3F96E6-668A-488E-BA0C-ED249AFACE9E}.Release|x86.ActiveCfg = Release|Any CPU
4.41 EndGlobalSection
4.42 GlobalSection(SolutionProperties) = preSolution
4.43 HideSolutionNode = FALSE
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/SharpLibHid.csproj Sun Mar 15 14:01:30 2015 +0100
5.3 @@ -0,0 +1,76 @@
5.4 +<?xml version="1.0" encoding="utf-8"?>
5.5 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5.6 + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5.7 + <PropertyGroup>
5.8 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5.9 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5.10 + <ProjectGuid>{4F3F96E6-668A-488E-BA0C-ED249AFACE9E}</ProjectGuid>
5.11 + <OutputType>Library</OutputType>
5.12 + <AppDesignerFolder>Properties</AppDesignerFolder>
5.13 + <RootNamespace>SharpLibHid</RootNamespace>
5.14 + <AssemblyName>SharpLibHid</AssemblyName>
5.15 + <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
5.16 + <FileAlignment>512</FileAlignment>
5.17 + <TargetFrameworkProfile />
5.18 + </PropertyGroup>
5.19 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
5.20 + <DebugSymbols>true</DebugSymbols>
5.21 + <DebugType>full</DebugType>
5.22 + <Optimize>false</Optimize>
5.23 + <OutputPath>bin\Debug\</OutputPath>
5.24 + <DefineConstants>DEBUG;TRACE</DefineConstants>
5.25 + <ErrorReport>prompt</ErrorReport>
5.26 + <WarningLevel>4</WarningLevel>
5.27 + <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5.28 + </PropertyGroup>
5.29 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
5.30 + <DebugType>pdbonly</DebugType>
5.31 + <Optimize>true</Optimize>
5.32 + <OutputPath>bin\Release\</OutputPath>
5.33 + <DefineConstants>TRACE</DefineConstants>
5.34 + <ErrorReport>prompt</ErrorReport>
5.35 + <WarningLevel>4</WarningLevel>
5.36 + </PropertyGroup>
5.37 + <ItemGroup>
5.38 + <Reference Include="System" />
5.39 + <Reference Include="System.Core" />
5.40 + <Reference Include="System.Windows.Forms" />
5.41 + <Reference Include="System.Xml.Linq" />
5.42 + <Reference Include="System.Data.DataSetExtensions" />
5.43 + <Reference Include="Microsoft.CSharp" />
5.44 + <Reference Include="System.Data" />
5.45 + <Reference Include="System.Xml" />
5.46 + </ItemGroup>
5.47 + <ItemGroup>
5.48 + <Compile Include="HidDevice.cs" />
5.49 + <Compile Include="HidEvent.cs" />
5.50 + <Compile Include="HidHandler.cs" />
5.51 + <Compile Include="HidUsageTables.cs" />
5.52 + <Compile Include="HidUtils.cs" />
5.53 + <Compile Include="Properties\AssemblyInfo.cs" />
5.54 + <Compile Include="RawInput.cs" />
5.55 + <Compile Include="Win32AppCommand.cs" />
5.56 + <Compile Include="Win32CreateFile.cs" />
5.57 + <Compile Include="Win32Hid.cs" />
5.58 + <Compile Include="Win32RawInput.cs" />
5.59 + </ItemGroup>
5.60 + <ItemGroup>
5.61 + <COMReference Include="stdole">
5.62 + <Guid>{00020430-0000-0000-C000-000000000046}</Guid>
5.63 + <VersionMajor>2</VersionMajor>
5.64 + <VersionMinor>0</VersionMinor>
5.65 + <Lcid>0</Lcid>
5.66 + <WrapperTool>primary</WrapperTool>
5.67 + <Isolated>False</Isolated>
5.68 + <EmbedInteropTypes>True</EmbedInteropTypes>
5.69 + </COMReference>
5.70 + </ItemGroup>
5.71 + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5.72 + <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5.73 + Other similar extension points exist, see Microsoft.Common.targets.
5.74 + <Target Name="BeforeBuild">
5.75 + </Target>
5.76 + <Target Name="AfterBuild">
5.77 + </Target>
5.78 + -->
5.79 +</Project>
5.80 \ No newline at end of file