Added support for multiple input device types for KeyMap and connected Qt.