OpenInput project is a cross-platform, easy-to-use, portable input handler library, written in C.
The primary goal of OpenInput is to make it easier for application programmers to write portable code that deals with input from mice, keyboards, joysticks and other devices.
In other words, OpenInput will allow you to write a single piece of code that handles input for your application for all platforms, for example GNU/Linux, Windows and MacOS X.
This is achieved by abstracting the low-level platform-specific input device handling into a stable, intuitive, platform-independent API: OpenInput.
Here are some key features of "OpenInput":
· Total platform independence
· Easy to use, sane and simple API
· Fully documented functions and data structures
· Automatic configuration of available devices
· Generic event handling
· Keyboard state managment (eg. up/down/lock)
· Mouse motion and state managment (eg. movement, buttons up/down)
· Joystick motion and state handling for axes, hats and trackballs
· Can "hook" into existing windows
· Provides resize, iconify, close and expose events for the application window
· Action mapping, so events can be handled without any knowledge of the underlying device
· Pointer (mouse) grabbing inside window
· Show/hide pointer inside window
· Keyboard focus grabbing
What's New in This Release:
· This version contains major documentation updates, both big and small bugfixes, and minor feature enhancements which don't break the API.