| View previous topic :: View next topic |
| Author |
Message |
Fanjita
Joined: 28 Sep 2005 Posts: 217
|
Posted: Wed Mar 21, 2007 9:40 am Post subject: [release] New keyboard driver framework |
|
|
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! |
|
| Back to top |
|
 |
cloudhunter
Joined: 17 Aug 2006 Posts: 86
|
Posted: Wed Mar 21, 2007 9:43 am Post subject: |
|
|
Wow, all this IR keyboard development is making me want to get one! Ah well, maybe when I get money :p
Nice work :)
Cloudy _________________ :) |
|
| Back to top |
|
 |
fergie4000
Joined: 19 Jan 2007 Posts: 25
|
Posted: Wed Mar 21, 2007 7:59 pm Post subject: |
|
|
hey Fanjita, i heard you were dead, you look good.
nice work |
|
| Back to top |
|
 |
Bytrix
Joined: 14 Sep 2005 Posts: 72 Location: England
|
Posted: Wed Mar 21, 2007 8:59 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Mat17
Joined: 12 Dec 2006 Posts: 9 Location: France
|
Posted: Wed Mar 21, 2007 10:16 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
futaris
Joined: 28 Dec 2005 Posts: 45
|
Posted: Fri Mar 23, 2007 6:52 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
neotomek
Joined: 23 Sep 2006 Posts: 4
|
|
| Back to top |
|
 |
fergie4000
Joined: 19 Jan 2007 Posts: 25
|
Posted: Sat Mar 31, 2007 12:38 am Post subject: |
|
|
| thats cool. but could you have got a louder keyboard? |
|
| Back to top |
|
 |
neotomek
Joined: 23 Sep 2006 Posts: 4
|
Posted: Sat Mar 31, 2007 12:48 am Post subject: |
|
|
No , but J must buy other smaller keyboard.
Sorry for my English. _________________ PSP 14coder www.PSP-Team.pl |
|
| Back to top |
|
 |
fergie4000
Joined: 19 Jan 2007 Posts: 25
|
Posted: Sat Mar 31, 2007 10:59 am Post subject: |
|
|
| you going to release a circuit diagram? or is it easy? |
|
| Back to top |
|
 |
neotomek
Joined: 23 Sep 2006 Posts: 4
|
Posted: Sun Apr 01, 2007 3:08 am Post subject: |
|
|
Before i must project new circuit and board. _________________ PSP 14coder www.PSP-Team.pl |
|
| Back to top |
|
 |
|