主权项 |
1. A method, comprising:
providing a device executing a first operating system and a second operating system, wherein the second operating system controls the device; providing a computer system executing an operating system; docking the device to the computer system to form a unified system, wherein the docking comprises a physical connection between the device and the computer system, and wherein the first and second operating systems interact to generate the unified system; controlling, after the docking and by the first operating system of the device, the computer system; generating, by the first and second device operating systems, a unified desktop for the unified system, wherein the unified desktop includes at least a first user interface associated with the device and a second user interface associated with the computer system; while docked, receiving a first event at the computer system, wherein the first event is a user interface input on the computer system; intercepting information associated with the first event in a memory stack for the operating system of the computer system; packaging the information; relaying the packaged information, from the computer system to the device, in a message provided by a device interface associated with the computer system to a computer system interface associated with the device; receiving the message by the computer system interface associated with the device; determining, by the second operating system of the device, that the first event is associated with the computer system; processing, by the first operating system of the device, the first event for the computer system; sending, by the first operating system of the device, an output associated with the processed first event through the computer system interface to the device interface; receiving the output by the device interface; injecting the output into the memory stack of the computer system to direct the computer system to display the output; and displaying, by the computer system operating system, the output on the second user interface of the unified desktop. |