Fixed regression in value mapping.
InputDevice can have a sort order.
XInput support.