Use 'text' input on non-touch devices

Auditors: eater, cbhl