| View previous topic :: View next topic |
| Author |
Message |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Wed Nov 05, 2008 5:24 am Post subject: PSPIRKeyB Lib 0.0.5 |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Nov 05, 2008 7:38 am Post subject: |
|
|
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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Wed Nov 05, 2008 7:51 am Post subject: |
|
|
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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Wed Nov 05, 2008 9:10 am Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Nov 05, 2008 11:17 am Post subject: |
|
|
| 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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Thu Nov 06, 2008 1:47 am Post subject: |
|
|
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 |
|
 |
zx-81

Joined: 07 Apr 2006 Posts: 11 Location: France
|
Posted: Thu Nov 06, 2008 5:19 am Post subject: |
|
|
| 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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Nov 06, 2008 5:36 am Post subject: |
|
|
| Post patches to fix the problems and I'll commit them. |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Thu Nov 06, 2008 6:22 am Post subject: |
|
|
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 |
|
 |
zx-81

Joined: 07 Apr 2006 Posts: 11 Location: France
|
Posted: Thu Nov 06, 2008 6:25 am Post subject: |
|
|
| 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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Nov 06, 2008 8:20 am Post subject: |
|
|
| 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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Thu Nov 06, 2008 8:40 am Post subject: |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Nov 06, 2008 3:45 pm Post subject: |
|
|
| 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 |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Thu Nov 06, 2008 6:17 pm Post subject: |
|
|
| ok thanks! |
|
| Back to top |
|
 |
|