I am using the DirectXTK library for the gamepad class. I compiled the library with only this class inside it and it works.
If I would only add the source files to my project, without the library, the size would be ~50KB instead of ~500KB.
However, the Xbox One Controller is not detected using the source files without the library.
Any ideas on how to resolve this so my executable would be smaller in size?