When tiny Immersion Corp. had finally beaten Sony in a long, ugly patent fight, the company’s general counsel, Laura Peter, gave CEO Vic Viegas a white cowboy hat.

She presented it to Viegas at a celebration at the CEO’s peninsula home in the spring of 2007 after Sony said it would drop all appeals and pay the San Jose, Calif., company $150 million to end five years of take-no-prisoners litigation.