Buttons CB

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Buttons CB

Post by johnmph »

hello, is there a callback for the ctrl (when a button is pressed) ?
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Buttons CB

Post by Shine »

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.
johnmph
Posts: 119
Joined: Sat Jul 23, 2005 11:48 pm

Re: Buttons CB

Post by johnmph »

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
Post Reply