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 

SDL keyboard support via libpspirkeyb

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



Joined: 23 Feb 2006
Posts: 33

PostPosted: Fri Aug 17, 2007 9:14 am    Post subject: SDL keyboard support via libpspirkeyb Reply with quote

This patch enables irda keyboards for SDL :-)

Download it there
http://mail.pdaxrom.org/tmp/SDL-pspirkbd.diff

Originally i made it for use with my Pyldin601 emulator (port for PSP, old bulgarian mc6800 based computer)
You can try binaries http://mail.pdaxrom.org/tmp/pyldin601-psp-3.2rev84.zip
or sources https://mail.pdaxrom.org/svn/pyldin/trunk/pyldin601/
Copy psp and seplugins to psp.
Edit ms0:/seplugins/pspirkeyb.ini for your keyboard.
Back to top
View user's profile Send private message Visit poster's website
futaris



Joined: 28 Dec 2005
Posts: 45

PostPosted: Tue Aug 21, 2007 10:57 pm    Post subject: Reply with quote

Cool. Can someone please check this in? Useful for PSPVice, Dosbox, ScummVM/AGI, etc...
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Aug 22, 2007 3:06 am    Post subject: Reply with quote

I've added this to the repository.
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Aug 22, 2007 6:29 am    Post subject: Reply with quote

This adds build dependencies to SDL, whereas before there were none.
Does it add any run-time dependencies as well? Is that really wanted in all cases?

At the very least, can you provide a patch for the README.PSP documentation that lists the build requirements and where to get them?
Back to top
View user's profile Send private message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Wed Aug 22, 2007 7:19 am    Post subject: Reply with quote

It need install libpspirkeyb for build SDL with keyboard support. And i made new patch for keyboard configure option. Now for enable psp ir keyboard, use option --enable-pspirkeyb.

Code:
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --prefix=$(psp-config --psp-prefix) --enable-pspirkeyb


By default it disabled and no additional libraries need.

Patch http://mail.pdaxrom.org/tmp/SDL-pspirkbd-config-option.diff
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Aug 22, 2007 8:59 am    Post subject: Reply with quote

I've added this latest patch to the repository.
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Aug 22, 2007 1:34 pm    Post subject: Reply with quote

Thanks, it should be a lot friendlier to people who are building existing projects now :)
Back to top
View user's profile Send private message
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