Microsoft has licensed patents on technology from Immersion that lets a user interact with a computer through the sense of touch, and invested in the company as part of a legal settlement, the companies said Tuesday.Microsoft will pay Immersion of San Jose $20 million for a perpetual patent license and invest $6 million in the company, Immersion President and CEO Victor Viegas said\u00a0in an interview. The investment gives Microsoft a stake of just under 10% in Immersion, he said.Additionally, as part of the settlement Immersion has the right to take out a $9 million loan from Microsoft and pay that back in shares, Viegas said.Immersion sued Microsoft and two Sony subsidiaries in February last year over their alleged use of Immersion's "haptic" technology in Microsoft's XBox and Sony's PlayStation and PlayStation 2, as well as associated games and devices.Haptic technology lets users receive touch feedback from devices such as game controllers. Immersion licensees include Logitech and Apple, as well as companies in other industries, such as car manufacturer BMW AG, Immersion said.The settlement is part of Microsoft's effort to get its legal woes behind it, Microsoft spokesman Jim Desler said. "We contended all along that we developed our own technology in this area. However, we wanted to avoid the uncertainty and risks of the legal process," he said.Immersion's case against Sony Computer Entertainment and Sony Computer Entertainment of America continues and is scheduled to go to trial unless it is settled before then, Viegas said. A jury trial in the case has been set for April 12, 2004, in the U.S. District Court for the Northern District of California in Oakland, he said.