Remove onTouchBasedDevice function.