1. Technical Field
The present invention relates to a mouse and, especially, to a mouse adapted for use by either right-handed or left-handed persons.
2. General Background
A computer mouse is an input device for a computer. Depending on the configuration of the operating system of the computer, a computer mouse may have one or more operational buttons. A computer mouse with more than one operational buttons generally has a left button and a right button for generating click signals in response to click operations. People usually use their right hand to operate the mouse. Therefore, a default operation mode configured by the operating system is designated for right-handed people. As to left-handed people or people who need to shift the operation mode frequently, it is inconvenient and troublesome to change the operation mode of the mouse in the operating system.
What is needed, therefore, is an electronic device with a mouse adapted for use by either right-handed or left-handed persons, and a method thereof.
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of a mouse adapted for use by persons either right-handed or left-handed and method thereof. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The selection switch or button of the mode-shifting unit 103 has two selectable positions, namely a left-hand selection and a right-hand selection correspondingly representing a left-handed mode and a right-handed mode. In an exemplary embodiment, the selection switch can be turned to the left or the right to switch between the two selectable positions. In another exemplary embodiment, the button can be pressed down or released up to switch between the two selectable positions.
The memory 106 stores a default operation mode and a current operation mode of the mouse 100. The default operation mode is provided by the computer that the mouse 100 connected to. In general, the default operation mode is a right-handed mode.
The current operation mode is set to be the default operation mode when the mouse 100 is initialized, and is changed when the selection of the selection switch or position of the button of the mode-shifting unit 103 is changed. That is, the MCU 104 updates the current operation mode after the selection switch or button of the mode-shifting unit 103 is changed. The MCU 104 changes the button signals and transmits the changed button signals to the computer.
The mouse 100 further includes an indicating lamp (not shown) for indicating if the mouse is in the left-handed mode or the right-handed mode. For example, when the indicating lamp is turned on, this means the mouse 100 is in the left-handed mode. The indicating lamp is controlled by the MCU 104.
The mode-detecting module 401 is configured for detecting the current operation mode stored in the memory 106. The mode-shifting module 402 is configured for detecting whether the selection of the selection switch or position of the button of the mode-shifting unit 103 is changed. The click-detecting module 403 is configured for detecting whether the mouse 100 receives a click signal on the left-button 101 or the right-button 102. The signal-changing module 404 determines whether the left-button signals and the right-button signals need to be changed. The signal-transmitting module 405 is configured for transmitting the left-button signals and the right-button signals to the computer.
The signal-changing module 404 changes the button signals based on a relationship between the mode-shifting unit 103 and the current operation mode. If the current operation mode is identical to the default operation mode, the signal-changing module 404 sends the left-button signals or the right-button signals to the computer directly. If the current operation mode is different from the default operation mode, the signal-changing module 404 changes the button-signals before the button-signals are sent to the computer.
In the exemplary embodiment, each button signal is assigned with an identifier for indicating its source. It means the click operation on the left-button or the right-button can be identified through the identifier of the button signal. For example, the identifier of a left-button signal is “001”, and the identifier of a right-button signal is “010”. If the current operation mode is different from the default operation mode, the signal-changing module 404 changes the identifier of the left-button signal “001” to “010”, and the identifier of the right-button signal “010” to “001”.
In step S410, the mode-detecting module 401 detects whether the selection of the selection switch or position of the button of the mode-shifting unit 103 is changed. That is, the mode-detecting module 401 determines whether the mode-shifting unit 103 generates a change mode signal. If the mode-detecting module 401 does not detect the change mode signal, the procedure repeats step S410.
If the mode-detecting module 401 detects the change mode signal, in step S420, the MCU 104 updates the current operation mode of the mouse 100 according to the change mode signal, for example, if the current operation mode is the left-handed mode, the MCU 104 changes the current operation mode into the right-handed mode.
In step S510, the click-detecting module 403 detects whether a click signal generated by the left-button or the right-button. If the click-detecting module 403 doesn't detect the click signal, the procedure repeats step S510.
If the click-detecting module 403 detects the click signal, in step S520, the MCU 104 obtains the current operation mode and the default operation mode, and the signal-changing module 404 decides whether to change the button signals based on the relationship between the default operation mode and the current operation mode. If the current operation mode is identical to the default operation mode, the signal-changing module 404 sends the left-button signals or the right-button signals to the signal-transmitting module 405 directly to the computer. If the current operation mode is different from the default operation mode, the signal-changing module 404 changes the button-signals and sends the converted signal to the signal-transmitting module 405. That is, the signal-changing module 404 changes the identifier of the button-signals before sending the button-signals to the signal-transmitting module 405.
In step S530, the signal-transmitting module 405 transmits the button signals from the signal-changing module 404 to the computer.
Although the present invention has been specifically described on the basis of exemplary embodiment thereof, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200710203065.6 | Dec 2007 | CN | national |