Added "g" button, added sensor update for touch