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.
I'd use isTouchDevice to be more in keeping with the coding style of the rest of the file.