Hello, at first I wanted to ask for help because I was having trouble getting the XInput library (unitXInput.pas) working with Delphi 2009, but when I looked in it the solution was really simple. So I'm sharing it if anyone would need it in the future.
All you had to do is change uses:
WinAPI.Windows -> Windows
System.Types -> Types
And add a new const:
GUID_NULL: TGUID = '{00000000-0000-0000-0000-000000000000}';
Also the example project "XInputTestbed" has too many errors so the best way is to create your own test application from scratch.
It's nothing groundbraking but maybe someone will find it useful.
And thanks for the library, it's working great!
Bookmarks