uinput: Add support for converting analog axes to buttons.

Example config:

[mapping:keyboard]
KEY_UP = -left_analog_y
KEY_DOWN = +left_analog_y
KEY_LEFT = -left_analog_x
KEY_RIGHT = +left_analog_x
uinput: Make REL_* mapped to analog axes actually relative.

Resolves #18.