0% found this document useful (0 votes)
478 views5 pages

The DDR Cure

This document provides instructions to fix issues with cheap USB dance pad adapters not properly registering simultaneous up/down and left/right inputs by remapping the controller axes using AutoHotkey. It explains that the adapter treats the directions as separate joysticks, so pressing opposite directions at once defaults to one. The solution uses JoyKeyTest to get the unique values sent for no buttons and both buttons pressed. AutoHotkey's SMAxisRemap script maps these values to keyboard arrows, fixing the issue in StepMania without purchasing a new adapter. Users can now play games requiring all directional inputs at once.

Uploaded by

Aries Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
478 views5 pages

The DDR Cure

This document provides instructions to fix issues with cheap USB dance pad adapters not properly registering simultaneous up/down and left/right inputs by remapping the controller axes using AutoHotkey. It explains that the adapter treats the directions as separate joysticks, so pressing opposite directions at once defaults to one. The solution uses JoyKeyTest to get the unique values sent for no buttons and both buttons pressed. AutoHotkey's SMAxisRemap script maps these values to keyboard arrows, fixing the issue in StepMania without purchasing a new adapter. Users can now play games requiring all directional inputs at once.

Uploaded by

Aries Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

THE DDR CURE.

I cannot guarantee this will work for ALL devices, but I have no reason to think that
it shouldn't since this fixes the fundamental problem of the cheap USB adapters in
the first place.
This will fix:
1: Left-Right and Up-Down simultaneous presses not working.
__________________________________________________ _________________
Ok first things first. When you plug your USB adapter into your PC windows should
install Joystick drivers automatically. Once they are installed keep the adapter and
pad connected and download this:
http://dulisa.com/SM/JoyKeyTest.exe
Once you have that downloaded run it and you will see this:

Enter "1" without the quotes and hit OK.


After you do this you will see a Yellow Box around your Cursor. It will say X##.###
and Y##.### and Z##.###. Write down the Numbers for X and Y. Ignore the Z.
Next step on both the Left and Right and hold it. The number after X should change.
Write this down.
Next do the same thing with Up and Down. The Y number will change. It SHOULD be
the same number you get from LEFT AND RIGHT. If this is the case move on.
Next install this: http://www.autohotkey.com/download/A...keyInstall.exe

After that is installed, save this to your desktop:


http://dulisa.com/SM/SMAxisRemapV2.ahk
Right click SMAxisRemapV2 and click EDIT SCRIPT.
You will see:
J1None = 49.999
J1Both = 50.001
For J1None put what you wrote down for X when nothing was being pressed.
For J1Both write down the Number you got when you held both of them in.
Scroll down a bit and you'll see: "Run, StepMania,".
Put a ; before Run so it looks like:
;Run, StepMania,
After that SAVE the file.
Now Right click SMAxisRemapV2.ahk again and click Run Script.
Run StepMania. Go to Options. Go to Key Mapping. Map the arrows to your
KEYBOARD Arrow Keys.
Play and Enjoy :)
Source: http://www.stepmania.com/forums/showthread.php?t=24827

Another DDR Cure


Goal:
____________________________________________
To make this work with full explanations as to why it doesn't right now and why it
will after we fix it. This will allow you to understand everything so that you can
adapt the solution to your own individual needs (possibly with other adapters) and if
the solution does not work for you, be able to more clearly understand why/what
part went wrong.
____________________________________________
This will fix:

____________________________________________
1) Left/Right and Up/Down simultaneous presses not working.
2) 2-player with 2 mats/pads attached to the same adapter working
Parts of this will also fix problems for other adapters.
____________________________________________
You need several things:
____________________________________________
Stepmania (Obviously)
Dilong pu203 adapter
1 or 2 PS(1/2) dance pads
Autohotkey
SMAxisRemap.ahk
JoyKeyTest.ahk or .exe
PU302+305+303.exe driver or another version of this driver that works
____________________________________________
The Adapter
____________________________________________
The adapter itself is the popular, cheap $3-$8 dilong blue triangular with red light
adapter with a dome on top that converts 2 PS(1/2) controllers to USB. It has been
notorious for not working not because the adapter itself doesn't work but that
instructions are bad/missing, and the drivers are either not included or problematic.
Read on to learn why.
____________________________________________
Why is there a problem?
____________________________________________
1) The adapter is cheap and both it and the driver were not built extremely well. The
computer is reading the left/right as a joystick and the up/down as a joystick. A
joystick cannot at the same time go left and right so the computer defaults to one
direction and uses that.
2) In dance pad mode, 1-player may work but when 2 dance pads are plugged in,
the computer/adapter recognizes both dance pads as the same so an "up" on the
1st dance pad is read as the same as the "up" on the 2nd dance pad. This problem
may not occur if the two dance pads are different.
____________________________________________
What to do? (Note that the order is not extremely important.)
____________________________________________
1) To make sure this works you may want to first uninstall drivers you already have.
Go to control panel add/remove programs and uninstall the Twin USB driver.
2) Plug adapter into PC. Allow the computer to detect and auto-install drivers. There
should be a green or thumbs-up or positive notification that it works. Plug the
controllers in.
3) Download and install "PU302+305+303.exe" which can be found in the forums.
4) Ok, go to control panel, hardware and devices/hardware and sound-> Devices

and Printers, and right-click the twin controllers (Twin USB Joystick), select game
controller settings.
5) Select first one. Click properties. There should be 4 tabs on top and the mode
select under that. ***Select "Dance Pad Mode" if you only need 1-player to work.
You are done. (But then why did you buy a TWO PS1/2 to usb adapter?) ***If not,
make sure Joystick Mode is selected. Click the buttons on your controller to make
sure each either lights up one of the buttons or moves the 1(X) and 2(Y) Axis. If this
is working, you can see that a simultaneous left/right or up/down press defaults to
only one direction. Press OK and do the same thing with the other controller.
6) If this is working properly, both dance pads should light up the respective buttons
on their function test. And if you select the Calibration Function, X= 127 and Y= 127
should show up, 127 being the middle. Neither dance pad should light up both its
and the others buttons. Also, the connected state on the bottom should read "Your
controller is connected correctly."
7) Alright, close all that. Next, we need to run JoyStickTest.exe (or .ahk with
autohotkey.) Download this from http://www.stepmania.com/forums/show...?
t=8887&page=8 in a post by dyangu (everyone say thx dyangu) or from this link:
http://dulisa.com/SM/JoyKeyTest.exe
8) Open this application and input 1 to test controller one and press OK. A text box
should appear next to your mouse arrow. If it says that the joysticks are not
detected, something went wrong either because of you or your computer. Revisit
the previous steps and forums to fix that.
9) In the text box, it will say X##.### and Y##.### and Z##.### each of those
letters followed by the same number. This is the sent number when neither button is
pressed. Press left and right. A new number appears (should be) after the X. This is
the number sent when both buttons are pressed. Remember these two numbers. Do
the same thing with the other controller. Numbers for up/down should be the same
with left/right. The numbers for both controllers should be the same (though if they
are different controllers and these are different, it will still work. Just remember
them for later.). These tends to be 49.609, 49.999 or 50.001 for example. Right click
the H on the bottom right and exit that application. (Or play around with it a bit
more. Something will be sent for every button on the controller.)
10) As you can see, even though the computer defaults to one direction, it still
recognizes a different sent signal when both opposing directions are pressed. This
allows us a way to fix that with the best computer hack/shortcut application autohotkey that every programmer should use.
11) Download autohotkey somewhere. You can learn about it elsewhere.
12) Download SMAxisRemapV2.ahk from the same Dyangu post or this link:
http://dulisa.com/SM/SMAxisRemapV2.ahk
13) Right click this and select edit script. I suggest putting a ; in front of the line 20
so that it reads ";Run, StepMania, ," The semicolon makes this a comment instead of
a command and the compiler will ignore this. Change
J1None = 49.609
J1Both = 49.999

J2None = 49.609
J2Both = 49.999
to the numbers you remembered. What number corresponds to what should be selfexplanatory. Save it.
14) What this script does is map the buttons on the first pad to up,down,left, right
keys and the second pad to w,a,s,d. Exit this script. Unplug the adapter/controllers if
you want and open stepmania and go to options (or press scroll-lock ) and go to
Config Key/ Joy Mappings.
15) So do this step on the keyboard. Use space to clear any previous or
automatically-mapped joystick input. You may have to go to input options and turn
auto map on joy change to off. In the config key option, change/keep one of the left
columns for player one to your preferred buttons with up,down,left,right ****on the
keyboard**** for their respective functions. Setting these buttons on the dance pad
may result in the original dance pad signals being saved as those buttons instead of
the autohotkey-remapped signals. Change one of the right columns for player two
to w,a,s,d with a start button mapped to something. (I used left shift.) You can later
map this to the start of your dance pad if you want or if you are smart, you can map
the start buttons on the dance pad to the start buttons on your keyboard with the
same autohotkey script.
16)Close stepmania. Plug in everything. Turn on the edited SMAxisRemapV2.ahk.
Open stepmania. Enter with the start buttons for both player 1 and 2 ("enter" and
"left shift" for me.)
17) It should work. Smile and be proud of yourself and the entire intelligent
community for banding together to finally make this work. Post thanks and
comments. :)

You might also like