added keyboard support for controller