[release] New keyboard driver framework
[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.
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!
The PSP Homebrew Database needs you!
-
- Posts: 86
- Joined: Thu Aug 17, 2006 3:27 am
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm