Results 1 to 3 of 3

Thread: XInput interface for Delphi

  1. #1
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,131
    Blog Entries
    2

    XInput interface for Delphi

    Hi all,

    I've just released my XInput interface for Delphi. Supports game pads only (limitation of the library). You can have the full complement of 4 pads connected, provides both eventing and polling style of use (or of course a combination of both). It's tested for Win32 and Win64 compilation using XInput1_3.dll. I've been unable to test using XInput1_4.dll as I don't have access to a Windows 8 platform. The only other thing that I've not been able to test is the battery monitoring capabilities for wireless controllers as I don't have one.

    If you find issues etc. please report them through GitHub's issue tracker.

    My library is available at:- http://smwl.uk/aoddl
    :: AthenaOfDelphi :: My Blog :: My Software ::

  2. #2
    Athena this is great...

    Tell me in which version's of delphi work and if work in lazarus/freepascal...?
    Is it possible to work in delphi 7?
    This library covers all the bluetooth devices... like xbox 360 controller or wiimote?

    Thank you and great work...
    P.S.. Give us some progress about the engine the team makes...

    Thank you

  3. #3
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,131
    Blog Entries
    2
    Hi,

    If the controller works with XInput, then I see no reason why they would not appear in the controller list. But, I only have a couple of XBox 360 wired pads for testing. Hence I only have constants etc. for the XBox 360 pads (as defined in the Microsoft XInput.h).

    Will it work with Delphi 7? It doesn't do anything fancy so it should work just fine. You will have to change the WinAPI.Windows and System.Types in the uses clause to Windows and Types respectively, but other than that it should work just dandy.

    Give it a whirl and let me know how you get on.
    :: AthenaOfDelphi :: My Blog :: My Software ::

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •