主权项 |
1. A method, comprising:
responsive to determining that a plurality of mouse modes are supported by a local computing device and a remote computing device connected to the local computing device via a network, performing the following by the local computing device:
detecting a parameter of a network connection between the local computing device and the remote computing device, the parameter comprising at least one of a network latency, network traffic or network bandwidth;responsive to determining that the parameter satisfies a criterion, setting a first mouse mode of the plurality of mouse modes for a first channel between the local computing device and the remote computing device, the first channel being associated with the network connection, wherein the first mouse mode is a synchronous mouse mode; andresponsive to determining that the parameter fails to satisfy the criterion, setting a second mouse mode of the plurality of mouse modes for the first channel, wherein the second mouse mode is an asynchronous mouse mode; wherein the plurality of mouse modes comprise connection protocols for the first channel, the connection protocols identifying when to send cursor messages between the local computing device and the remote computing device as well as what types of information to include in the cursor messages. |