Forums » Input, Adapters & Controllers » usb dance pad auto-pressing buttons

1
Hi, I'm having trouble with my dance pad hardware.

Basically I just bought a cheap knockoff of a dance pad on our local shop. The thing auto presses the buttons! I've checked the lower part of the dance pad for any debris that might be causing it but it's the dance pad itself. I thought it to be the hardware but I made my cousin check it on his computer and he claims that it's working fine. Here's a link of the said dance pad.

http://www.cdrking.com/?mod=products&type=view&sid=15522&main=145#.VZuNsPlVhHw

I used the same thing before. I was thinking it to be my PC because I had 64 bit installed while my cousin had 32 bit of Windows 7. I thought it to be a USB driver problem.

Any help regarding this matter would be much appreciated. Thanks in advance.
Reply
I actually have a similar problem. My suggestion is to go into the Test Input screen and see if the buttons that it auto presses are always the same, and if each panel has an actual button that changes when you press it. Then modify %APPDATA%/StepMania 5.0/Save/Keymaps.ini to map the buttons that the panels actually map to. Also set Automap Joysticks to Off.
So when I'm not pressing any buttons I see this:

When I press the up arrow, I see this:

That tells me that B3 is the button that is actually the up arrow.
So I edit my Keymaps.ini to have this:
2_Up=Joy10_B3:Key_u


"2_Up" means it's setting the Up arrow for the second player. For player 1, it would be "1_Up". You'll see entries for each of the buttons.
"Joy10_B3" is the Joy10 B3 seen in the screenshot, the internal controller ID and the button name. The colon (":") separates the different buttons that are mapped. I also have the "u" key on my keyboard mapped to be Up for Player 2.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Thank you for replying to this thread. I thought I lost hope.

Thank you for mentioning the Test Input part, actually I tried this before and saw that there are indeed 2 buttons (Left and Right) being pushed down simultaneously. However, that's not just it. If you stay idle in the Test Input and check further, you can see the buttons flinching for about a split second. Getting a closer look on the flinching I see about 6 ~ 7 buttons being pressed too however for a split second only. This is where the problem kicks in, within the game the 4 buttons gets pressed for random instances messing up the game. It's also hard to select while in the menu because of the random pressings.

I know it's much to ask but can I get more on a step by step about editing the keymaps.ini? I'm a complete noob as it's my first tweaking with Stepmania files. Really thanks for this.
Reply
Read this doc on the format.
(which did not exist until just now.)
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
A tut? For meeeee? @_@ Aww you shouldn't have.

Checking my stepmania files I somehow stumbled upon it a bit different and was unable to follow the steps as said. I did manage to tweak in the files however I don't know if I'm still on the right path.

Instead of the filepath you previously mentioned, the best I can get to is Stepmania 5/Data/AutoMappings

Here's my stepmania files:



I was able to see a file named "GamePad Pro USB.ini" instead of Keymaps. The file has the following

[AutoMapping]

;Intentional space at the end of the Device name
DeviceRegex=GamePad Pro USB
Description=GamePad Pro USB

[dance]
1_Back=Joy1_B9
1_Down=Joy1_Down1:Joy1_B2
1_Left=Joy1_Left1:Joy1_B1
1_Right=Joy1_Right1:Joy1_B3
1_Start=Joy1_B10
1_Up=Joy1_Up1:Joy1_B4
1_UpLeft=Joy1_B5
1_UpRight=Joy1_B6

[pump]
1_Back=Joy1_B9
1_Center=Joy1_B1
1_DownLeft=Joy1_B7
1_DownRight=Joy1_B8
1_MenuDown=Joy1_Down1
1_MenuLeft=Joy1_Left1
1_MenuRight=Joy1_Right1
1_MenuUp=Joy1_Up1
1_Start=Joy1_B10
1_UpLeft=Joy1_B5
1_UpRight=Joy1_B6


And I was able to check for the 4 essential button on my dance pad being

Joy1 B3 - 1 controller 1 up - (menuup secondary)

Joy1 B4 - 1 controller 1 left - (menuleft secondary)
Joy1 B1 - 1 controller 1 right - (menuright secondary)
Joy1 B2 - 1 controller 1 down - (menudown secondary)


Am I proceeding correctly? ._. Thank you for your continued help.
Reply
I think that file is from somebody's abandoned unfinished project to load the automapping data at startup, instead of having it hardcoded. So, that file does nothing at all.

To find the keymaps file, type "%appdata%" into the explorer bar, then you should be able to find the StepMania folder and so on.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply