If the device supports touch input, set default controls to TOUCH

This PR adds a new method to check whether the device supports touch input and uses it to set the default controls to either touch or keyboard.