<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{D3F979CE-8FA7-48C9-A2B3-A33594B48536}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>Project64input</RootNamespace>
  </PropertyGroup>
  <PropertyGroup Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <ImportGroup Label="PropertySheets">
    <Import Project="$(SolutionDir)PropertySheets\Platform.$(Configuration).props" />
  </ImportGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <PropertyGroup>
    <TargetName>Project64-Input</TargetName>
    <TargetName Condition="'$(Configuration)'=='Debug'">Project64-Input_d</TargetName>
    <OutDir>$(SolutionDir)Plugin\Input\</OutDir>
    <OutDir Condition="'$(Platform)'=='x64'">$(SolutionDir)Plugin64\Input\</OutDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
    </ClCompile>
    <PreBuildEvent>
      <Command>"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(Platform)" "$(SolutionDir)Source\Project64-input\Version.h.in" "$(SolutionDir)Source\Project64-input\Version.h"</Command>
    </PreBuildEvent>
    <Link>
      <AdditionalDependencies>dinput8.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(Root)Source\3rdParty\directx\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(Root)Source\3rdParty\directx\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="DeviceNotification.cpp" />
    <ClCompile Include="DirectInput.cpp" />
    <ClCompile Include="InputConfigUI.cpp" />
    <ClCompile Include="InputMain.cpp" />
    <ClCompile Include="CProject64Input.cpp" />
    <ClCompile Include="InputSettings.cpp" />
    <ClCompile Include="OptionsUI.cpp" />
    <ClCompile Include="wtl-BitmapPicture.cpp" />
    <ClCompile Include="wtl-ScanButton.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="Button.h" />
    <ClInclude Include="DeviceNotification.h" />
    <ClInclude Include="InputSettings.h" />
    <ClInclude Include="InputSettingsID.h" />
    <ClInclude Include="N64Controller.h" />
    <ClInclude Include="DirectInput.h" />
    <ClInclude Include="InputConfigUI.h" />
    <ClInclude Include="ControllerSpec1.1.h" />
    <ClInclude Include="CProject64Input.h" />
    <ClInclude Include="OptionsUI.h" />
    <ClInclude Include="resource.h" />
    <ClInclude Include="wtl-BitmapPicture.h" />
    <ClInclude Include="wtl-ScanButton.h" />
    <ClInclude Include="wtl.h" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Version.h.in" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="Project64-input.rc" />
  </ItemGroup>
  <ItemGroup>
    <Image Include="Controller.bmp" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Common\Common.vcxproj">
      <Project>{b4a4b994-9111-42b1-93c2-6f1ca8bc4421}</Project>
    </ProjectReference>
    <ProjectReference Include="..\Settings\Settings.vcxproj">
      <Project>{8b9961b1-88d9-4ea3-a752-507a00dd9f3d}</Project>
    </ProjectReference>
    <ProjectReference Include="..\UpdateVersion\UpdateVersion.vcxproj">
      <Project>{1968162c-0793-491d-91a1-81645a24d399}</Project>
    </ProjectReference>
  </ItemGroup>
</Project>