| View previous topic :: View next topic |
| Author |
Message |
johnmph
Joined: 23 Jul 2005 Posts: 119
|
Posted: Mon Sep 19, 2005 5:56 am Post subject: Buttons CB |
|
|
| hello, is there a callback for the ctrl (when a button is pressed) ? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Mon Sep 19, 2005 7:34 am Post subject: Re: Buttons CB |
|
|
| 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 |
|
 |
johnmph
Joined: 23 Jul 2005 Posts: 119
|
Posted: Mon Sep 19, 2005 7:01 pm Post subject: Re: Buttons CB |
|
|
| 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 |
|
 |
|