SDL keyboard support via libpspirkeyb

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

SDL keyboard support via libpspirkeyb

Post by sashz »

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.
futaris
Posts: 45
Joined: Wed Dec 28, 2005 7:47 am

Post by futaris »

Cool. Can someone please check this in? Useful for PSPVice, Dosbox, ScummVM/AGI, etc...
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

I've added this to the repository.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

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?
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

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: Select all

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-pspirkb ... ption.diff
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

I've added this latest patch to the repository.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Thanks, it should be a lot friendlier to people who are building existing projects now :)
Post Reply