Skip to content

Commit

Permalink
Added an icon to the exe
Browse files Browse the repository at this point in the history
  • Loading branch information
Denellyne committed Jan 10, 2024
1 parent 19d0b74 commit dfd0ebf
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 7 deletions.
16 changes: 10 additions & 6 deletions DualSenseToXInput.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@
</Inputs>
</CustomBuildStep>
<PostBuildEvent>
<Command>copy /y "$(SolutionDir)\unrar.exe" "$(TargetDir)\unrar.exe"
copy /y "$(SolutionDir)\unrar3.dll" "$(TargetDir)\unrar3.dll"
copy /y "$(SolutionDir)\ViGEmClient.dll" "$(TargetDir)\ViGEmClient.dll"
<Command>copy /y "$(SolutionDir)Include\unrar.exe" "$(TargetDir)\unrar.exe"
copy /y "$(SolutionDir)Include\unrar3.dll" "$(TargetDir)\unrar3.dll"
copy /y "$(SolutionDir)Include\ViGEm\ViGEmClient.dll" "$(TargetDir)\ViGEmClient.dll"
copy /y "$(SolutionDir)imgui\header\GLFW\glfw3.dll" "$(TargetDir)\glfw3.dll"
copy /y "$(SolutionDir)Include\hidapi.dll" "$(TargetDir)\hidapi.dll"
xcopy "$(SolutionDir)\images" "$(TargetDir)\images" /y /i
Expand Down Expand Up @@ -216,9 +216,9 @@ xcopy "$(SolutionDir)\images" "$(TargetDir)\images" /y /i
</Inputs>
</CustomBuildStep>
<PostBuildEvent>
<Command>copy /y "$(SolutionDir)\unrar.exe" "$(TargetDir)\unrar.exe"
copy /y "$(SolutionDir)\unrar3.dll" "$(TargetDir)\unrar3.dll"
copy /y "$(SolutionDir)\ViGEmClient.dll" "$(TargetDir)\ViGEmClient.dll"
<Command>copy /y "$(SolutionDir)Include\unrar.exe" "$(TargetDir)\unrar.exe"
copy /y "$(SolutionDir)Include\unrar3.dll" "$(TargetDir)\unrar3.dll"
copy /y "$(SolutionDir)Include\ViGEm\ViGEmClient.dll" "$(TargetDir)\ViGEmClient.dll"
copy /y "$(SolutionDir)imgui\header\GLFW\glfw3.dll" "$(TargetDir)\glfw3.dll"
copy /y "$(SolutionDir)Include\hidapi.dll" "$(TargetDir)\hidapi.dll"
xcopy "$(SolutionDir)\images" "$(TargetDir)\images" /y /i
Expand Down Expand Up @@ -260,6 +260,10 @@ xcopy "$(SolutionDir)\images" "$(TargetDir)\images" /y /i
<ClInclude Include="imgui\header\imstb_textedit.h" />
<ClInclude Include="imgui\header\imstb_truetype.h" />
<ClInclude Include="imgui\header\stb_image.h" />
<ClInclude Include="resource1.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="PCXSense.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
8 changes: 8 additions & 0 deletions DualSenseToXInput.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,13 @@
<ClInclude Include="customInclude\GUI\functionality.h">
<Filter>Source Files\FrontEnd\GUI\Functionality</Filter>
</ClInclude>
<ClInclude Include="resource1.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="PCXSense.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
File renamed without changes.
Binary file added PCXSense.rc
Binary file not shown.
Binary file removed ViGEmClient.dll
Binary file not shown.
Binary file added icon1.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
LPVOID ptrController;
LPVOID asyncThreadPointer;
extern UCHAR rumble[2]{};
extern std::string Version = "PCXSenseBeta0.2";
extern std::string Version = "PCXSenseBeta0.3";


VOID CALLBACK getRumble(PVIGEM_CLIENT Client, PVIGEM_TARGET Target, UCHAR LargeMotor, UCHAR SmallMotor, UCHAR LedNumber, LPVOID UserData)
Expand Down
14 changes: 14 additions & 0 deletions resource1.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by PCXSense.rc
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit dfd0ebf

Please sign in to comment.