With the Wayland protocol leaving input handling up to compositors, Jonas Ådahl has decided to try coming up with a common input device library that Wayland compositors could optionally utilize. Jonas did this in part since so far only the Weston compositor has more than basic support for processing of raw evdev input events.
To reduce the need for compositors to effectively re-implement the same support, Jonas Ådahl is seeing if a common input device library is of interest to developers. This library is based upon Weston's input device code and then this libinput API has been simplified/generalized for usage outside of Weston. "The idea is to make it possible for other compositors to be able to plug it in and receive post-processed events such as pointer motion events, key events, touch events."
Jonas Ådahl's libinput library can be found on GitHub for those interested and more details are available from the mailing list announcement.