changed method to look for touch devices (should enable use on rPI)