remove dependancy on libevdev
Created by: Hinsbart
Fixes #3439 (closed). I couldn't find a clean way to link libevdev statically, so I just removed it.
Anyway, it's basically only a fancy wrapper around read()
and ioctl()
calls so we don't really need it.
The diff looks heavier than it is, mostly because of added blocks and the resulting change in intendation :P