What's new

XInput Plugin (Xbox 360 Rumble + Both Triggers)

Billard

New member
i saw ppl were asking how to get the rumble and both triggers working on the 360 controllers, so today i downloaded the DXSDK, learned XInput, and made this simple input plugin.

holy crap XInput is SO easy to program, I cant believe that MS could make something work so well, if only the controllers were bluetooth and i didnt have to have this stupid $30 dongle plugged in. lol

right now there is no configuration, next version will have that, but i think i got the controls set pretty good for now.

A = A and Y
B = B and X
C Buttons = Right Analog
Z Trigger = LT
R Trigger = RT
L Trigger = LB

Supports 4 Xbox 360 Controllers Wired or Wireless with Default Microsoft Drivers
Rumble and Both Triggers work separately

i attached the file, lets see if it shows up,
other wise i'll have to edit the post or somethin

edit ok here is a link to download

Download

ok new version v0.2
fixed the axis bug
 
Last edited by a moderator:

Shugo

New member
That's awesome dude! I've been looking for something like this. But what do I need to enable Rumble?

Also, Microsoft sells a Xbox 360 Wireless Accessories adapter, $20 USB Dongle-like thing, don't know if it works on any other Bluetooth accessories.
 
OP
B

Billard

New member
to enable rumble just
choose the plugin on PJ64
have ur controller(s) connected with the regular MS drivers
and play a rumble enabled game

you can also connect/disconnect controllers while the game is running
if the game supports it
i know smash brothers does idk if anything else does

i know they sell that wireles adapter
tahts the one im talkin about
its the only one that works with the 360 controllers because they arent bluetooth
 

Shugo

New member
Yes, Super Smash Brothers works, but Super Mario 64 doesn't. Will it only work for Super Smash Brothers?
 
OP
B

Billard

New member
im pretty sure the rumble pak came out after Super Mario 64
so there is no rumble in that game

i know it works in

OOT
SSB
banjo kazooie/tooie
donkey kong
star fox
paper mario

tahts all that ive played, im sure there's more
 
Last edited:
OP
B

Billard

New member
do i gotta download the source of nrage one file at a time???!!??
cant i download a zip file with all of it or somethin?
i got the source of an older version of nrage
ill add in xinput if u can get me the latest source
 

squall_leonhart

The Great Gunblade Wielder
if needs be i can provide a .tar.gz archive.

shouldn't be too hard to support both Xinput and Dinput, (including the different rumble methods)
 
OP
B

Billard

New member
I'm pretty new at c++,
and I cant get this crap to compile lol.

I've been looking through the code and I understand where I can add in xinput.

but
I compile it just how it is without changing any code

Then I try out the plugin on PJ64 and I get blank error window

when the plugin initializes or
when I click configure controller plugin

But, the "about" button works fine

any ideas why this happens?

I have latest DXSDK, using codeblocks with latest GCC compiler
 

Shugo

New member
I just realized something: It doesn't work well with Ocarina of Time's Debug ROM. The Range is like, very lower. I can't run unless I'm Z-Targeting, or jump to the left or right.
 
OP
B

Billard

New member
I just realized something: It doesn't work well with Ocarina of Time's Debug ROM. The Range is like, very lower. I can't run unless I'm Z-Targeting, or jump to the left or right.

i noticed the problem in zelda too but,
it should have been fixed in the 2nd version i uploaded
are you using 0.1 or 0.2
 

Funkstar De Lux

New member
Is there any way to make it so R Trigger = RB? It seems silly to map a button to an analogue trigger when it's not necessary. It would also give us symmetry between LT and RT.
 

Top