Implement parts of the new input system for Blackberry and Qt.