![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on IR programming help within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I need some help with an IR signal thread, I want the thread to repeat the signal, instead of sending ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#2 |
![]() |
in a while loop.
it depends on where you want the thead to be sent. say during a keystroke. or every second.
__________________
[CENTER]You can hyperlink quotes and the whole box will be a link: [URL=http://forums.qj.net/showthread.php?t=35215][COLOR=DarkRed][QUOTE=ANTONIO_424][CENTER][COLOR=DarkRed]Go for it, and remember, video tape every moment...........I gotta see this :D[/COLOR][/CENTER][/QUOTE][/COLOR][/URL][SIZE=1][B][U][URL=http://forums.qj.net/showthread.php?t=65979]A Ultimate QJ FAQ[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/search.php?do=finduser&u=13500]Topics I'm in[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/f-psp-development-forum-11/t-pps-game-66613.html]My qj game topic[/URL][/U][/B]-[B][U][URL=http://www.psp-programming.com/dev-forum/viewtopic.php?t=962]My psp-prog topic[/URL][/U][/B]-[B][U][URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi]Old QJ Download site[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/showthread.php?t=46926]Only ISO topic[/URL][/U][/B][/SIZE] "You stayed up all night trying to make your psp crash? LOLOL!!" - my brother My PSN name is "icantthinkofone".[/CENTER] |
|
|
|
|
|
#3 |
![]() ![]() total-Z
|
yeah, a while loop is what you need.
and maybe have a bool variable that can be set in the main thread to tell the IR thread when to stop sending
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#4 |
|
Lol of course its in a while loop -.- And the result is pressing and holding a button will send 1 signal, then stop, and to send the signal again you need to relase the button and press it again. I want to change that lord pip how would you be able to do send the signal every second? could you post a example in C please?
|
|
|
|
|
|
|
#5 | |
![]() ![]() Developer
|
Can we see the code that you use to handle the controls?
__________________
![]() Check out my homebrew & C tutorials at http://insomniac.0x89.org/ Coder formerly known as Insomniac197 Quote:
|
|
|
|
|
|
|
#6 |
![]() |
i say have a while loop that will run while the keypress is true then once you release the keypress = false so it won't run the loop.
__________________
There are 10 types of people in the world. Those who can read binary and those who can't. --------------------------------------------------- Thanks Vanden, for giving me 300k for hot club Thanks -DaveyHavok- for donating 1 Million Points --------------------------------------------------- [IMG]http://img170.imageshack.us/img170/9756/sig1qx0.png[/IMG] |
|
|
|
![]() |
| Tags |
| programming |
| Thread Tools | |
|
|