1. Technical Field
The embodiments of the present disclosure relate to wireless communication technology, and particularly to a mouse and a method for paring the mouse with a computer.
2. Description of Related Art
BLUETOOTH-capable mice are very popular. A BLUETOOTH mouse can only communicate with one computer at one time, so the BLUETOOTH mouse and a designated computer should be paired before communication. At present, a computer works as a master in enabling and disabling a pairing relationship between the BLUETOOTH mouse and the computer. For example, if a user intends to pair the BLUETOOTH mouse with another computer, the user has to use the designated computer to end the current pairing relationship, and log into another computer to pair with the BLUETOOTH mouse.
The disclosure is illustrated by way of examples and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The storage device 30 stores identification (ID) information of the discovered computers. In one embodiment, the ID information may be IP addresses, media access control addresses, or other information that may distinguish one discovered computer from another. The storage device 30 may be a smart media card, a secure digital card, a compact flash card, or any other type of suitable memory card.
The display device 40 displays the ID information of the discovered computers. For example, as shown in
The switch unit 20 may receive a selection signal from a user as to the selection of one computer among the discovered computers, and enable the BLUETOOTH module 10 to establish a connection between the selected computer and the mouse 1. The switch unit 20 may also enable the BLUETOOTH module 10 to end the current connection and establish a new connection between the mouse 1 and a different computer in response to receiving a switch signal of selecting a different discovered computer from a user. As shown in
In one embodiment, as shown in
In other embodiments, the switch button 21 may utilize the three standardized buttons. In response to a pressing operation on the switch button 21, the left button, the middle button, and the right button of the mouse 1 may be made to respectively emulate an up-arrow key 211, an enter key 212, and a down-arrow key 213 described above. After a connection between the desired computer and the mouse 1 has been established, the user may press the switch button 21 again to resume the primary functions of the left button, the middle button, and the right button on the mouse 1.
In block S201, the BLUETOOTH module 10 searches within a range and discovers computers in which the BLUETOOTH function has been enabled, the storing module 22 stores the ID information of the discovered computers in the storage device 30. As mentioned above, the ID information may be the IP addresses, media access control addresses, or other information that may distinguish one discovered computer from another.
In block S203, the display module 23 displays the ID information of the discovered computers on the display device 40 (As shown in
In block S205, the switch module 24 receives a signal as to the selection of one discovered computer, from the switch button 21. As shown in FIG. 2(II), the computer B has been selected by a user by means of the up-arrow key 211, the enter key 212, and the down-arrow key 213.
In block S207, the switch module 24 enables the BLUETOOTH module 10 to establish a connection between the selected computer and the mouse 1.
In block S209, the display module 23 displays the ID information of the selected computer on the display device 40 (as shown in FIG. 2(III)), to indicate which computer the mouse 1 is paired with.
In block S211, the switch module 24 may detect a signal from the switch button 21 to switch to a different computer. If a signal to switch to a different computer (such as the computer A) has been received from the switch button 21, the switch module 24 enables the BLUETOOTH module 10 to end the current connection, and the procedure returns to block S207 so that a new connection between the mouse 1 and the different computer may be made.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100103213 | Jan 2011 | TW | national |