Jump to content

Updated _XInput UDF for Xbox 360 controller


Recommended Posts

I updated my _XInput UDF so it doesn't rely on the dll wrapper I had before. Attached here is the UDF, a simple test program, and a script I made to use the controller for BF1942. I don't think that many of you will have a 360 controller hooked up to your comp so I doubt this will get much attention. If you test this, please leave a comment or two. The BF script sets up the controller for the default keys mappings so the same script should work for other first person shooters such as Counter-Strike.

_XInput.au3

_XInputExample.au3

BF.au3

Link to post
Share on other sites
  • 5 years later...
  • 1 year later...

I have a 360 Controller hooked up to my PC :D best of both worlds, PC games with better graphics, 360 Controller for better ergonomic support. But not all games support it, so may I tweak this to convert controller input to keyboard/mouse output? You sir are nothing less than a genius.

Link to post
Share on other sites

I don't think you'll get a reply because Oxin8 hasn't been active for more than a year.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-11-10 - Version 1.6.0.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (NEW 2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (NEW 2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to post
Share on other sites
  • 8 months later...

Right, I was wrong ;) But I'm not sure you will get a reply because CptSpike hasn't been active for nearly 5 months :whistle:

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-11-10 - Version 1.6.0.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (NEW 2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (NEW 2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to post
Share on other sites
  • 2 months later...
  • 3 years later...

I noticed something strange within your code "
;Y     32768    15
;X     16384    14
;B      8192    13
;A      4096    12
;Guide  1024    11
;RButton 512    10
;LButton 256     9
;RJoy    128     8
;LJoy     64     7
;Back     32     6
;Start    16     5
;Right     8     4
;Left      4     3
;Down      2     2
;Up        1     1"

it jumps from 1024 to 4096...  Is there a secret button somewhere that belongs to 2028?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...