InputCore is a generic input system that lets you use any input devices such as keyboards, mouses, joysticks, etc... Written in C++, and created with the idea to helping the developers.
The source code is under the LGPL license. This means that it is completely free to use for commercial and non commercial applications.
CorEngine's Blog: (Spanish blog)