[release] New keyboard driver framework

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

Moderators: cheriff, TyRaNiD

Post Reply
Fanjita
Posts: 217
Joined: Wed Sep 28, 2005 9:31 am

[release] New keyboard driver framework

Post by Fanjita »

piKey

Based in part on Monsti's fine work with libpspirkeyb, piKey aims to be an open and extensible input driver framework. The model is that you have a central framework managing input queues and plugin loading, and then 2 flavours of driver plugin:

- input plugins, which are a source of input data. Typically these are the interface to some form of hardware, e.g. the IR plugin which basically uses monsti's library to generate a character stream.

- output plugins, which marshal the input data stream to various input APIs - e.g. there is an output plugin to drive the OSK, and another to simulate button presses.

I hope that this can become the new standard for input API, avoiding the fragmentation that comes from ad hoc adoption of various input methods in individual homebrews.

It runs best as a custom firmware plugin, but can also be loaded automatically in kernel-capable firmwares via the included access library.

Full source code, samples and rough but hopefully adequate documentation is provided for developers looking to either write their own plugins, or to use the library provided to add keyboard input to their apps.

Submission of new plugins is both welcomed and encouraged ;)

P.S. It's still a little rough and ready, but functional enough that it seemed worth releasing sooner rather than later.
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
cloudhunter
Posts: 86
Joined: Thu Aug 17, 2006 3:27 am

Post by cloudhunter »

Wow, all this IR keyboard development is making me want to get one! Ah well, maybe when I get money :p

Nice work :)

Cloudy
:)
fergie4000
Posts: 25
Joined: Fri Jan 19, 2007 3:03 pm

Post by fergie4000 »

hey Fanjita, i heard you were dead, you look good.
nice work
Bytrix
Posts: 72
Joined: Wed Sep 14, 2005 7:26 pm
Location: England

Post by Bytrix »

fergie4000 wrote:hey Fanjita, i heard you were dead, you look good.
lol..

Great work Fanjita, Monsti and everyone who's been working on these IR Keyboard drivers.
Mat17
Posts: 9
Joined: Tue Dec 12, 2006 3:03 am
Location: France

Post by Mat17 »

Do you think an IrComm input plugin could be useful?
It would be possible to send text from your pc (IrDA adapter) or from your mobile (with the adequate J2ME app on the mobile).

MaT
futaris
Posts: 45
Joined: Wed Dec 28, 2005 7:47 am

Post by futaris »

We just need to add a driver for the keyboard to SDL now... That would make universal keyboard access available in most games... Would be useful for AGI games in ScummVM.
neotomek
Posts: 4
Joined: Sat Sep 23, 2006 4:51 am

Post by neotomek »

www.neotomek.blogspot.com Keyboard project using PiKey
PSP 14coder www.PSP-Team.pl
fergie4000
Posts: 25
Joined: Fri Jan 19, 2007 3:03 pm

Post by fergie4000 »

thats cool. but could you have got a louder keyboard?
neotomek
Posts: 4
Joined: Sat Sep 23, 2006 4:51 am

Post by neotomek »

No , but J must buy other smaller keyboard.

Sorry for my English.
PSP 14coder www.PSP-Team.pl
fergie4000
Posts: 25
Joined: Fri Jan 19, 2007 3:03 pm

Post by fergie4000 »

you going to release a circuit diagram? or is it easy?
neotomek
Posts: 4
Joined: Sat Sep 23, 2006 4:51 am

Post by neotomek »

Before i must project new circuit and board.
PSP 14coder www.PSP-Team.pl
Post Reply