Skip to content

Commit

Permalink
Fix Windows 7 Xinput errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIndra55 committed Dec 29, 2021
1 parent b112be1 commit 1f20fa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ project "TRAE-menu-hook"

language "C++"
links { "MinHook.x86.lib", "d3d9.lib" }
defines { "$(GameConstant)" }

-- Xinput disabled since it causes issues with Windows 7
defines { "IMGUI_IMPL_WIN32_DISABLE_GAMEPAD", "$(GameConstant)" }

filter "configurations:Debug"
defines { "DEBUG", "_DEBUG" }
Expand Down

0 comments on commit 1f20fa5

Please sign in to comment.