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 

PSPIRKeyB Lib 0.0.5

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



Joined: 29 Aug 2007
Posts: 168

PostPosted: Wed Nov 05, 2008 5:24 am    Post subject: PSPIRKeyB Lib 0.0.5 Reply with quote

Hello everybody, here is the latest PSPIRKeyB Lib. It will be usefull to all IRDA developers (including ZX-81).

Please add this to the SVN!

The changelog is quite small, but has a lot to offer:

Code:
0.0.5:
   Added key repeats and some more dirvers.
   Added IRDAMon (by Dr. Vegetable) to make coding drivers easier.


I've compiled PSPWrite with this new lib and the key repeats really improve the application.

A small application made br (Dr. Vegetable) has also been added which allows devs to scan each IRDA key so it can be corectly mapped.

The package can be found here:

http://piKey.Kloplop321.com/Release/PSPIRKeyB_Lib.zip

Please add this to your environment guys and any devpack installers!

Thanks

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Nov 05, 2008 7:38 am    Post subject: Reply with quote

When posting patches for SVN, please post them as patches. It's easier to review and figure out which pieces should get committed that way.

Code:

--- asciidemoprx/Makefile       (revision 2432)
+++ asciidemoprx/Makefile       (working copy)
@@ -1,16 +1,20 @@
 TARGET = asciidemo
 OBJS = main.o
 
-INCDIR = ../libpspirkeyb/include ../libpspirkeybprx/include
+INCDIR = $(PSPDEV)/SDK/include ../libps CFLAGS = -O2 -G0 -Wall
 CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
 ASFLAGS = $(CFLAGS)
 
-LIBDIR = ../libpspirkeybprx
+LIBDIR = $(PSPDEV)/SDK/lib ../libpspirkeybprx
pirkeyb/include ../libpspirkeybprx/include

SDK should be lowercase, shouldn't it? Same with LIBDIR below this.

I'll commit it anyway, post a patch if it's wrong.
Back to top
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Wed Nov 05, 2008 7:51 am    Post subject: Reply with quote

I appologise. This is my first upload. =)

As for the cApItALs... again that wasn't me. This is just an edited version of the 0.0.4 version.

Thanks for the upload! Hopefully many will find it usefull!

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Wed Nov 05, 2008 9:10 am    Post subject: Reply with quote

EDIT:

I do appologise. ZX81 had pointed out to me that there were some referances to kubridge, meaning that it can't be uploaded.

I also gave the wrong URL.

If you can please revisit the link, there is the latest PSPIRKeyB Lib.

Sorry for the inconvienience!

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Nov 05, 2008 11:17 am    Post subject: Reply with quote

angelo wrote:
EDIT:

I do appologise. ZX81 had pointed out to me that there were some referances to kubridge, meaning that it can't be uploaded.

I also gave the wrong URL.

If you can please revisit the link, there is the latest PSPIRKeyB Lib.

Sorry for the inconvienience!

Angelo


The only reference to kubridge I could find was in the ascii demo. So why does that prevent it from being uploaded?
Back to top
View user's profile Send private message AIM Address
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 1:47 am    Post subject: Reply with quote

Because (according to ZX81) kubridge isn't part of the SDK. O_o

I dunno just doing what he said. More over I added the IRDA loader to all EBOOTS. This will stop any IRDA problems for PSP's with 3.80+.

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
zx-81



Joined: 07 Apr 2006
Posts: 11
Location: France

PostPosted: Thu Nov 06, 2008 5:19 am    Post subject: Reply with quote

J.F. wrote:
The only reference to kubridge I could find was in the ascii demo. So why does that prevent it from being uploaded?


It doesn't prevent from being uploaded. If you unzip that archive and try to compile it using the makefile provided you will need a kubridge.h and kubridge lib to link example. That's only what i said. afaik kubridge is not part of SDK (or it is not part of the files i've checkout few weeks ago).

Btw examples binaries don't seem to require any kubridge lib, the #include <kubridge.h> can be removed in C file, and -lkubridge from Makefile without any compilation / link error.

The .zip archive seems to have been tested using cygwin on a FAT32 filesystem, that might explain issue with lower/upercase letters in directory names and filenames (in Makefile etc ...). Under linux with ext3 it doesn't work ...

As i told to Angelo, i've tried to compile this new lib and link pspwrite with it. Key repeat feature works fine for arrow keys but it doesn't work properly with letters (even changing delay parameters in .ini file).

As far as I'm concerned i will wait a bit before to release any of my IR homebrew using this new lib, it is still in early stage.
_________________
The only good is knowledge and the only evil is ignorance.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Nov 06, 2008 5:36 am    Post subject: Reply with quote

Post patches to fix the problems and I'll commit them.
Back to top
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 6:22 am    Post subject: Reply with quote

What excactly do you want from this "patch".

Most files have been edited in some way...

The final copy is the ZIP file posted in my first post. ;)

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
zx-81



Joined: 07 Apr 2006
Posts: 11
Location: France

PostPosted: Thu Nov 06, 2008 6:25 am    Post subject: Reply with quote

angelo wrote:
What excactly do you want from this "patch".

Most files have been edited in some way...

The final copy is the ZIP file posted in my first post. ;)

Angelo


What he wants is that :
http://www.cpqlinux.com/patch.html

;)
_________________
The only good is knowledge and the only evil is ignorance.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Nov 06, 2008 8:20 am    Post subject: Reply with quote

zx-81 wrote:
That's only what i said. afaik kubridge is not part of SDK (or it is not part of the files i've checkout few weeks ago).


Those are part of D_A's SDK released periodically with custom firmware releases (whenever he adds to the CFW functionality), and every dev should have it. Maybe it should be incorporated into the main pspsdk. It doesn't change very often, so it wouldn't take much maintenance.

BTW, the latest D_A SDK is in the 401M33-2.rar archive on D_A's site (and elsewhere).
Back to top
View user's profile Send private message AIM Address
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 8:40 am    Post subject: Reply with quote

Ok thanks guys. I know know how to make a patch!

I have request for more drivers, but due to school I cannot do it at the moment.

Thanks!

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Nov 06, 2008 3:45 pm    Post subject: Reply with quote

I meant, check out the current version of the pspsdk repository, make future changes directly to that tree, and post the "svn diff" output when you want to submit changes.
Back to top
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 6:17 pm    Post subject: Reply with quote

ok thanks!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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