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 

Buttons CB

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



Joined: 23 Jul 2005
Posts: 119

PostPosted: Mon Sep 19, 2005 5:56 am    Post subject: Buttons CB Reply with quote

hello, is there a callback for the ctrl (when a button is pressed) ?
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Sep 19, 2005 7:34 am    Post subject: Re: Buttons CB Reply with quote

johnmph wrote:
hello, is there a callback for the ctrl (when a button is pressed) ?


I don't know if there is a callback for control events, but the pspgl project uses sceCtrlReadLatch, which helps to avoid missing events, when you don't read the control flags for a longer time.
Back to top
View user's profile Send private message
johnmph



Joined: 23 Jul 2005
Posts: 119

PostPosted: Mon Sep 19, 2005 7:01 pm    Post subject: Re: Buttons CB Reply with quote

Shine wrote:
johnmph wrote:
hello, is there a callback for the ctrl (when a button is pressed) ?


I don't know if there is a callback for control events, but the pspgl project uses sceCtrlReadLatch, which helps to avoid missing events, when you don't read the control flags for a longer time.


Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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