Results 1 to 1 of 1

Thread: XInput header - Using XBox controller from ThinBASIC

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,146
    Rep Power
    735

    Lightbulb XInput header - Using XBox controller from ThinBASIC

    Dear users,

    I would like to share a translation of Xinput header from Windows Software Development Kit, which enables you to use the XBox controller.

    While XBox controller can be partially handled by TBDI module, certain aspects, such as trigger operation or vibration motors, do not cope well with DirectInput, which is used as backend for TBDI.

    For a simple demonstration, I also attach a demo application, showing how to retrieve information from triggers, joysticks and buttons.

    Please note that I attach version 1.0 of the headers - there may be some imprecisions and I am still discovering how the whole thing works.



    Petr

    Version history
    1.0 - initial release
    Attached Files Attached Files
    Last edited by Petr Schreiber; 27-06-2024 at 10:44.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. Any PB headers for Dx11 XInput out there?
    By Michael Hartlef in forum thinBasic General
    Replies: 6
    Last Post: 29-09-2017, 16:27
  2. winapi header
    By k1attila1 in forum Win API interface
    Replies: 2
    Last Post: 08-02-2015, 08:41
  3. Serial Relays Controller Using COMM Module
    By ChandraMDE in forum COMM (Serial communication)
    Replies: 4
    Last Post: 14-05-2013, 09:44
  4. Xbox LIVE on Windows 8
    By matthew in forum Technology
    Replies: 0
    Last Post: 17-09-2011, 23:11
  5. FreeImage: Header
    By Petr Schreiber in forum Experimental modules or library interface
    Replies: 1
    Last Post: 10-12-2009, 23:02

Members who have read this thread: 4

Tags for this Thread

Posting Permissions

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