psynegy Posted March 29, 2009 Share Posted March 29, 2009 Hi, I've just started coming back to a project I started yeaaars ago, and I've made some progress on using an xbox contoller with autoit, I've got the joysticks working, and all that jazz, but I was wondering if someone could help me with getting the rumble pack to work. Basically, the drivers for the xbox controller include a dll (xbcdr.dll) which controlls the rumble, I'll attach the DLL and the source of the DLL file, I'd really appreciate if someone could shed some light on how I go about using it, or possibly even give me an example of how to use it? Many thanks! Rumble.zip Link to comment Share on other sites More sharing options...
psynegy Posted March 31, 2009 Author Share Posted March 31, 2009 Any ideas? Link to comment Share on other sites More sharing options...
BrettF Posted March 31, 2009 Share Posted March 31, 2009 (edited) Whats the syntax for the rumble function? EDIT: Can you also post what you have? Edited March 31, 2009 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 31, 2009 Share Posted March 31, 2009 It's actually easier to use XINPUT, the Microsoft dll for the XBox 360 controllers.There's an AutoIt script written around it. http://www.autoitscript.com/forum/index.php?showtopic=21233 Link to comment Share on other sites More sharing options...
psynegy Posted March 31, 2009 Author Share Posted March 31, 2009 I'm afraid it's not a 360 controller... *eek* Thanks for the suggestion though!! Link to comment Share on other sites More sharing options...
Richard Robertson Posted April 1, 2009 Share Posted April 1, 2009 How are you connecting an original Xbox controller to the computer? I know the 360 uses USB, but the original didn't. Link to comment Share on other sites More sharing options...
Skruge Posted April 1, 2009 Share Posted April 1, 2009 How are you connecting an original Xbox controller to the computer? I know the 360 uses USB, but the original didn't.Not sure if this is what he's using, but the original XBox controller was really a USB device, but with a proprietary plug.All you have to do is cut the cable and rewire it to a USB plug. (The wire colors even match exactly)I've made a few myself, but I prefer the PS2 Dualshock.As for the DLL, I'll have to take a look at it later on my dev box. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
BlackDragonBE Posted April 1, 2009 Share Posted April 1, 2009 I searched for quite a bit about this on google, most of the answers are for the 360 controller.. However, there are some that say that you can use the DirectInput() API from the DirectX SDK. Link to comment Share on other sites More sharing options...
psynegy Posted April 1, 2009 Author Share Posted April 1, 2009 Yeah I modded the plug and added a USB lead to it. Work great ^^ Thanks for your help guys Link to comment Share on other sites More sharing options...
Hidix17 Posted November 29, 2014 Share Posted November 29, 2014 Example code? 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