Search found 12 matches

by lgnr
Wed Feb 17, 2010 2:49 am
Forum: PSP Development
Topic: Best way to send key presses/releases through socket
Replies: 7
Views: 5121

Thanks for every answer. It was really helpful. But the question is another: The PSP CANNOT read every key press if there are too many at the same time. I mean, i found that is not reliable to send one key press when the key is pressed. Perhaps it would be nicier to send all the key states instead o...
by lgnr
Sat Jan 30, 2010 8:52 am
Forum: PSP Development
Topic: Best way to send key presses/releases through socket
Replies: 7
Views: 5121

Best way to send key presses/releases through socket

Hi everyone. I'm trying to create an simple app to send key presses/releases to be interpreted using WinAPI. Everything went fine, its all working. But now i've run into this problem: I'm using SceCtrlLatch to get the changes on key states and send the 'events' (presses and releases) throught a simp...
by lgnr
Tue Jan 26, 2010 10:58 am
Forum: PSP Development
Topic: [SOLVED] sceCtrlReadLatch() strange behavior
Replies: 8
Views: 9829

sceDisplayWaitVblankStart(); fixed it.
by lgnr
Tue Jan 26, 2010 9:06 am
Forum: PSP Development
Topic: [SOLVED] sceCtrlReadLatch() strange behavior
Replies: 8
Views: 9829

So just sceDisplayWaitVblankStart(); wont fix it?
Thanks y'all guys.
by lgnr
Tue Jan 26, 2010 9:05 am
Forum: PSP Development
Topic: ok
Replies: 0
Views: 912

ok

So just sceDisplayWaitVblankStart(); wont fix it?
Thanks y'all guys.
by lgnr
Tue Jan 26, 2010 8:30 am
Forum: PSP Development
Topic: read buffer
Replies: 1
Views: 6349

read buffer

Thanks for the replies. I'll try this now. Actually, i've got an workaround hint i'd like to try first. I've noticed the following: When i press SELECT on my program, it runs another loop function, for the user to choose which protocol he likes to use. When i turn the PSP off while in that loop, no ...
by lgnr
Mon Jan 25, 2010 11:09 am
Forum: PSP Development
Topic: [SOLVED] sceCtrlReadLatch() strange behavior
Replies: 8
Views: 9829

Thanks for the reply. I'll try to handle the home button particularly. But what puzzles me, and what makes me think that the trouble is not with the rest of the code, is that it does NOT freeze with the sceCtrlReadBufferPositive(). I do not run other threads, so i guess thats not the reason. Anyway,...
by lgnr
Mon Jan 25, 2010 9:25 am
Forum: PSP Development
Topic: [SOLVED] sceCtrlReadLatch() strange behavior
Replies: 8
Views: 9829

[SOLVED] sceCtrlReadLatch() strange behavior

It got a little bigger than i expected. I'll try to explain: I was writing/learning with a controller homebrew to use with some WinAPI stuff. That turned out to be really fun and useful. Here starts my problem: I have used SceCtrlData objects and sceCtrlReadBufferPositive() to get key presses. Every...
by lgnr
Mon Dec 21, 2009 6:12 am
Forum: PSP Development
Topic: Sockets - weirdest thing ever
Replies: 5
Views: 2544

Thanks very much! Now its working!
I'll try to re-code it in a clearer way, and then i'll put the source here.
by lgnr
Fri Dec 18, 2009 10:39 am
Forum: PSP Development
Topic: Sockets - weirdest thing ever
Replies: 5
Views: 2544

Thank you very much! I think now it'll be ok. Just another question: once i connect, i want to send the string "Square was pushed" when i press the button. But the server never gets it. PSP: [code] while(1) { //Read sceCtrlReadBufferPositive(&controller, 1); if(controller.Buttons &...
by lgnr
Thu Dec 17, 2009 7:54 am
Forum: PSP Development
Topic: Sockets - weirdest thing ever
Replies: 5
Views: 2544

This is still puzzling me.
I took a look on both pspssh and pspftp sources, but wasnt able to figure what my problem is. I do not want to copy those codes, i just want to get a really simple socket like this to work.
Any guess?
by lgnr
Thu Dec 17, 2009 3:06 am
Forum: PSP Development
Topic: Sockets - weirdest thing ever
Replies: 5
Views: 2544

Sockets - weirdest thing ever

Hello guys, i've already done every suggestion in this forum. No success. Well, kinda. Base on the samples/net/simple i was able to code a simple socket client. It worked very well in the begining, but now sometimes it works and sometimes dont. I've already tried different ports and ips, and tried w...