forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Simple Question about reading button presses

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
JasonDJ



Joined: 08 Dec 2004
Posts: 2

PostPosted: Wed Dec 08, 2004 1:01 pm    Post subject: Simple Question about reading button presses Reply with quote

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
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Dec 08, 2004 1:05 pm    Post subject: Reply with quote

There was a pad sample back in ps2lib that would show button presses. You could compile that up and give it a go...
Back to top
View user's profile Send private message Visit poster's website
JasonDJ



Joined: 08 Dec 2004
Posts: 2

PostPosted: Wed Dec 08, 2004 2:13 pm    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Dec 09, 2004 4:12 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group