Simple Question about reading button presses

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
JasonDJ
Posts: 2
Joined: Wed Dec 08, 2004 12:51 pm

Simple Question about reading button presses

Post by JasonDJ »

Hey group.

I have a really simple question. Me and a buddy are working on building a Taiko No Tatsujin ASC for use in a local import store around here, and we're having a bit of a run-in.

Apparently TNT has a way of figuring out whether you are using a Taiko drum or a PS2 pad, and I have no idea "exactly" how it finds it out. My best guess is that it uses a method similar to Pop'n Music, where the authentic Pop'n controllers have the Left, Up, and Right buttons all "on" all the time on the hardware (that's what you have to do to build the controller). Unfortunatly I have no way of finding out if this is what Namco used for TNT's hardware, and as it's set up now the button mappings we are using as the same as what the game sees as a dual shock (L1 and R1 for the two corners of the drum, D-Pad left and O for the two sides of the drum).

Basically what I'm looking for is a program that I could load up with PS2Link so that I could plug in the original Taiko drum controller and it could tell me which buttons are being pressed at any time.

Thanks,
Fred
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

There was a pad sample back in ps2lib that would show button presses. You could compile that up and give it a go...
JasonDJ
Posts: 2
Joined: Wed Dec 08, 2004 12:51 pm

Post by JasonDJ »

Thanks ooPo,

Someone just gave me the idea of using a USB adapter on a PC and just reading it through there, but I can't remember if it's D-Pad or analog that it shows on the grid. If it's d-pad it probably won't be of much use to me, but if d-pad registers as buttons then it should work out just fine. If not I'll have to grab PS2Lib and do that...I'm glad I still have my ethernet adapter :)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

The d-pad is just a set of buttons as far as the Playstation is concerned. You get the values for L, R, U, and D mixed in with all the other buttons. The analog sticks are not buttons.
Post Reply