Using a phone as a controller