keys: add support for multiple input devices

This starts to read configuration options from /etc/nyx.conf rather than building them
into the libraries.

Signed-off-by: Simon Busch <morphis@gravedo.de>