Handle orientation and typing, and provide some hard buttons