Oxin8 Posted January 12, 2006 Share Posted January 12, 2006 I bought an Xbox 360 controller for the sheer purpose of programming for it the other day and I finally got the UDF done (for now). This is my first UDF and I hope you all like it although I'm sure not many people have their Xbox 360 controllers hooked up to their comps... Anyhow you need beta and my custom api wrapper for the XInput api calls because I couldn't get the sub structs to work in autoit. So, register the xwrap.dll from the xwrap.zip (with included source), download the _XInput.au3, and download and run the _XInputExample.au3. All comments and suggestions are very welcome.xwrap.zip_XInput.au3_XInputExample.au3 ~My Scripts~ *********_XInput UDF for Xbox 360 ControllerSprayPaint_MouseMovePlus Link to comment Share on other sites More sharing options...
Hooch Posted January 13, 2006 Share Posted January 13, 2006 I didn't know you could program for the controller. I have been waiting for the scene to hack the 360 so it is mod ready... Link to comment Share on other sites More sharing options...
PezoFaSho Posted January 28, 2006 Share Posted January 28, 2006 (edited) nice work man!!! and sorry to bring an old topic back up but this was exactly what i was looking for!! and do you think it would be possible to do something like this with a normal xbox controller? Edit: also how do i register a dll ? sorry for the noob question Edit2: never mind i figured it out but good work Edited January 28, 2006 by PezoFaSho 50% of the time, it works all the time Link to comment Share on other sites More sharing options...
DM2005 Posted February 2, 2006 Share Posted February 2, 2006 Hi! You've made a wonderful script, i've searched for such a script for weeks. But i doesn't work for me. I've installed the v3.1.1.105 (beta) Version of AutoIt and the SciTe Compiler brings me the following error: "C:\XBox 360 Controller Script\_XInput.au3 (22) : ==> The requested action with this object has failed.: $xob.xVibrate(0,0,0) $xob.xVibrate(0,0,0)^ ERROR" Greetz DM2005 Link to comment Share on other sites More sharing options...
w0uter Posted February 2, 2006 Share Posted February 2, 2006 have you registered the dll ? My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
DM2005 Posted February 2, 2006 Share Posted February 2, 2006 Yes, i have. Link to comment Share on other sites More sharing options...
w0uter Posted February 2, 2006 Share Posted February 2, 2006 are you sure My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
DM2005 Posted February 2, 2006 Share Posted February 2, 2006 In which Folder must the dll file stored? I have it exctracted in the system32 Folder of Windows and registered it with "regsvr32 xwrap.dll" via the Run-Dialog. Link to comment Share on other sites More sharing options...
w0uter Posted February 2, 2006 Share Posted February 2, 2006 looks like your computer doesn like COM then. post your OS info here please My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
DM2005 Posted February 2, 2006 Share Posted February 2, 2006 I tested it on my notebook and on my desktop pc. On my notebook is WinXP Home Edition SP2 and on my desktop pc is WinXP Professional SP2. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now