Technical Field
The present invention relates to the use of a primary and a secondary pointing device on a computer keyboard for use with a computer. In particular, the present invention relates to allowing a user to make a seamless transition between using the primary pointing device and the secondary pointing device on the computer, thereby enabling a user to use either pointing devices at any time.
Background of the Invention
Generally, a computer has a processor, memory, monitor, keyboard, and a pointing device, often called a "mouse". The mouse may be an external mouse or an internal mouse, i.e., one built into the keyboard. Some computers, particularly some notebook computers, have two internal mice: (1) a strain gage mouse and (2) a touch pad mouse. In conventional computers that have two mice, one is treated as controlling or primary, i.e., the computer normally accepts only its input signals. The strain gage mouse is usually the primary mouse and the touch pad mouse is usually the secondary mouse. Each of the primary and secondary mice has its own separate electronics, but they share the mouse button switches, the actuation of which enables the user to perform a function such as placing a cursor at a particular location or selecting a portion of text in a particular document.
Currently, computers that have two mice do not allow a user to seamlessly use either mouse, because the actuation of one of the shared mouse buttons does not identify which mouse should have its input signals accepted. As a result, currently, the user must preselect through the SETUP program only one of the two mice, as the mouse the user will be using in the operation of the computer. Alternatively, the computer manufacturer may provide two separate mouse buttons for each mouse.
Having a user preselect one of the two internal mice to be used inconveniences the user in two ways. First, the user must initially configure the computer through the SETUP program to select the mouse the user desires to use. Second, once the user has selected a mouse, the other mouse on the computer cannot be used, unless the user reconfigures the computer through the SETUP program. Clearly, providing the user the capability to use either mouse without having to reconfigure the computer through the SETUP program is desirable.
The alternative solution of providing separate switches for each mouse increases the manufacturing costs for the computer. Thus, in order to avoid increased manufacturing costs, an apparatus in which two mice share a pair of switches and enable a user to make a seamless transition to use either mouse at any time is desirable.
Summary of the Invention
The present invention relates to an apparatus for enabling a user to make a seamless transition between using a primary pointing device and a secondary pointing device on a computer to interact with the computer, thereby enabling the user to use either pointing device at any time. In one embodiment, the apparatus comprises a first microcontroller and a second microcontroller, wherein the first and second microcontrollers are electrically connected to each other. A primary pointing device input is connected to the first microcontroller, and a secondary pointing device input is connected to the second microcontroller. A system microcontroller is electrically connected to the first microcontroller. The first and second microcontrollers share a first and second mouse switch. Computer software instructions executed by the first microcontroller determine which of the primary pointing device and the secondary pointing device is in use. If the primary pointing device is in use, then the first microcontroller responds to the switch actions (i.e., accepts the data from the primary pointing device input element). The processed data output by the first microcontroller is transmitted by the first microcontroller to the system microcontroller.
If the secondary pointing device is in use, then the software executed by the first microcontroller causes the first microcontroller to ignore the switch actions (i.e., any response to the status of the mouse switches is inhibited). But the second microcontroller responds to the switch actions and accepts the data from the secondary pointing device input element. Thus, the data is processed by the second microcontroller and sent to the first microcontroller, which then communicates the data sent by the second microcontroller to the system microcontroller. Thus, this apparatus enables a user to make a seamless transition between the primary and secondary pointing device and use either pointing device at any time.
Brief Description of the Drawings
FIG. 1 shows an isometric view of a prior art computer with a keyboard having two pointing devices to which the invention is applicable.
FIG. 2 shows an isometric view of a prior art keyboard having two pointing devices to which the invention is applicable with a portion of the keyboard cut away.
FIG. 3 is a block diagram of each of the two pointing devices and their relationship to each other, the system microcontroller, and the invention.
FIGS. 4-6 are flow charts of steps followed by the software of the present invention to enable a user to make a seamless transition to use either the primary or secondary pointing device at any time.
Detailed Description of the Preferred Embodiment
FIG. 1 shows a notebook computer 10 having a monitor 12 and a keyboard 14. As shown in FIGS. 1 and 2, the keyboard 14 has two pointing devices: a primary pointing device 16 and a secondary pointing device 18. In the preferred embodiment, the primary pointing device 16 is a pointing stick mouse, and the secondary pointing device 18 is a touch pad mouse.
Continuing to refer to FIGS. 1 and 2, the primary and secondary pointing devices 16, 18 share a first mouse switch 20 and a second mouse switch 22. Although the present invention is described with two mouse switches 20, 22, one or more mouse switches shared by the primary and secondary pointing device 16, 18 may be used. In the present invention, a user, at any time, may transition between using the primary and secondary pointing device 16, 18 and use either pointing device, 16, 18 with either mouse switch 20, 22 to interact with the computer 10.
With reference to FIG. 3, the components of the primary pointing device 16 and the secondary pointing device 18, their relationship to each other, and their relationship to the system microcontroller 50 of the computer 10 will be described. As shown in FIG. 3, the system microcontroller or system microprocessor 50 may be connected to, among other elements, an external keyboard 52, an internal keyboard 54, an external pointing device or an external mouse 56, and an internal pointing device or an internal mouse 58. For the present invention, there are two internal mice 58: the primary pointing device 16 and the secondary pointing device 18. The two pointing devices 16, 18 share the first mouse switch 20 and the second mouse switch 22.
Continuing to refer to FIG. 3, the primary pointing device 16 comprises a primary pointing device input module 26, a first interface 28, and a first microcontroller 30. The primary pointing device input module 26 is connected to the first microcontroller 30 via the first interface 28. Also, the first mouse switch 20 and the second mouse switch 22 are electrically connected to the first microcontroller 30. In the preferred embodiment, the primary pointing device input module 26 is a set of strain gauge elements linked to a pointing stick mouse. While, in the preferred embodiment, the first microcontroller 30 is implemented using a processor manufactured by Zilog having the model number Z86C8, any conventional processor such as a Signetics 8051 derivative processor may be used to implement the first microcontroller 30. The first interface 28 may be implemented using a Dallas Semiconductor, model no. DS1267010.
The secondary pointing device 18 comprises a secondary pointing device input module 32, a second interface 34, and a second microcontroller 36. The secondary pointing device input module 32 is connected to the second microprocessor 36 via the second interface 34. Also, the first mouse switch 20 and the second mouse switch 22 are electrically connected to the second microcontroller 30. The secondary pointing device 18 may be implemented using a Cirque Model TSM937 touch pad mouse, which uses a capacitive touch pad as the input module 32.
With continuing reference to FIG. 3, the electrical interconnections between the various components will be described. The first microcontroller 30 is electrically connected to a system microcontroller 50. In one embodiment, an internal mouse clock line 40 and an internal mouse data line 42 connect the system microcontroller 50 and the first microcontroller 30. Similarly, the first and second microcontrollers 30, 36 may be interconnected via an interpointing device clock line 64 and an interpointing device data line 66.
In the configuration shown in FIG. 3, all data transmitted to and received from the system microcontroller 50 passes through the first microcontroller 30. That is, because the internal mouse clock line 40 and the internal mouse data line 42, which are the pathways for communication of mouse data to the system microcontroller 50, connect the system microcontroller 50 with the first microcontroller 30, the first microcontroller 30 is used in the communication of data to the system microcontroller 50, regardless of whether the data being communicated was received by the first or second microcontroller 30, 36. For the second microcontroller 36 to send data to the system microcontroller 50, it first sends the data to the first microcontroller 30, which passes the data to the system microcontroller 50.
As shown in FIG. 3, the first microcontroller 30 has associated with it primary pointing device software 78 and dual pointing device enabling software 80. The primary pointing device software 78 allows a user to interact with the computer 10 via the user's manipulation of the primary pointing device input module 26 and the first or second mouse switch 20, 22. The primary pointing device software 78 processes the data from the primary pointing device input module 26 and sends the processed data or mouse data to the system microcontroller 50 via the internal mouse data line 42.
In the configuration shown in FIG. 3, assuming the user has not used SETUP to change the primary pointing device, the first microcontroller 30 of the primary pointing device 16 assumes that all mouse switch actions (i.e., the actuation of a mouse switch 20, 22) require it to process input data from input module 26, even when the user seeks data input via the secondary pointing device input module 32. Thus, when a mouse switch 20, 22 is pressed, the first microcontroller 30 will not pass any data transmitted by the second microcontroller 36 to the first microcontroller 30 via the interpointing device data line 66. Thus, with device 16 set as the primary pointing device and without the dual pointing device enabling software 80, the secondary pointing device 18 is effectively disabled.
The dual pointing device enabling software 80 of the present invention makes the transition from using one or the other of the primary or secondary pointing devices 16, 18 possible without reconfiguring with the SETUP program. The dual pointing device enabling software 80 is merged or linked to the primary pointing device software 78 for the primary pointing device 16. With reference to FIG. 4-6, the software 80 will be described.
The general functions of the dual pointing device enabling software 80 are: (1) to determine which of the two pointing devices is in use when one or the other is actuated; (2) to set an EDATA flag to indicate which pointing device is in use or was most recently used; and (3) to cause the input data from the pointing device in use to be communicated to the system microcontroller 50. The software 80 may be part of a pointing device service program that loops continuously to pick up input that may arise from either of the dual pointing devices 16, 18 at any time. Such input arises when the user actuates one or the other of the primary or secondary pointing device input modules 26, 32.
FIG. 4 shows the actions performed by one embodiment of the software 80 when the user uses the primary pointing device 16 for interacting with the computer 10. At Block 102, the primary pointing device input module 26 is activated by the user; that is, the strain groups show user actuation sensed at interface 28 and microcontroller 30. At Block 104, the software 80 causes the status indicator or a status flag entitled EDATA to be reset ("status modifier") to indicate that the primary pointing device 16 is being used ("pointing device identifier"). The user continues to use the primary pointing device 16 to interact with the computer 10. At Block 106, the stream of information provided by the user through the primary pointing device input element 26 is processed by the first microcontroller 30. This processed data or mouse data is transmitted to the system microcontroller 50 via the internal mouse data line 42 ("data transmitter"). At Block 108, when the user actuates a mouse switch 20 or 22, the processed data related to the actuation of a mouse switch 20, 22 is processed and this mouse data is sent to the system microcontroller 50 via the internal mouse data line 42.
Next with reference to FIG. 5, the actions performed by software 80 in response to use of the secondary pointing device 18 will be described. At Block 120, the user actuates the secondary pointing device input module 32 (touch pad) of the secondary pointing device 18. This use is sensed by the second microcontroller 36 and the second microcontroller 36 processes the information provided by the user from the secondary pointing device input module 32. This processed information or secondary mouse data is sent via the interpointing device data line 66 to the first microcontroller 30. In response to receiving the secondary mouse data from the second microcontroller 36 of the secondary pointing device 18, at Block 122, the software 80 causes the status indicator or the status flag (i.e., the EDATA flag) to be set ("status modifier"), thereby, indicating that the secondary pointing device 18 is in use. At Block 124, because the EDATA flag is set to indicate that the secondary pointing device 16 is in use, the first microcontroller 30 sends the secondary mouse data that it received from the second microcontroller 36 to the system microcontroller 50. Next, when the user actuates a mouse switch 20 or 22, this switch action is processed by the second microcontroller 36. This secondary mouse data transmitted to the first microcontroller 30 via the interpointing device data line 66 which is then sent to the system microcontroller 50 via the internal mouse data line 42. As will be explained in more detail below, the software 80 inhibits any response by the first microcontroller 30 to switch actions of either the first and second mouse switch 20, 22.
Prior to actuation of a mouse switch 20, 22, when the input module 26, 32 for the primary and secondary pointing devices 16, 18 is used, the following actions occur: (1) the EDATA flag is modified to indicate which pointing device 16, 18 is being used; (2) when the primary pointing device is being used, the data input through the primary pointing device input 26 is processed and transmitted to the system controller 50 by the first microcontroller 30; and (3) when the secondary pointing device is being used, data input via the second pointing device input module 32 is processed by the second microcontroller 36 and sent to the first microcontroller 30, which sends the data to the system microcontroller 50. Thus, when a user begins to use a input module 26, 32, the status of the EDATA flag is modified to indicate which pointing device 16, 18 is in use, and based on that status, the first microcontroller will either begin processing data it received from the input module 26 and then sending the data to the system microcontroller 50 or begin to send data processed by the second microcontroller 36 and sent to the first microcontroller 30 to the system microcontroller 50.
With reference to FIG. 6, the actions performed by the software 80 to ensure that the secondary mouse data provided by the second microcontroller 36 is passed to the system microcontroller 50 when a mouse switch 20, 22 is actuated will be described. At Block 130, when the user, while using either the primary pointing device 16 or the secondary pointing device 18 actuates a mouse switch 20, 22, the software 80 performs the following actions. At Block 132, the software determines whether the EDATA flag has been set. Consequently, when the primary pointing device 16 is being used, the EDATA flag is not set, thereby, indicating that the primary pointing device 16 is being used. Whereas, when the secondary pointing device 18 is being used, the EDATA flag is set, thereby, indicating that the secondary pointing device 18 is currently being used or was last used.
At Block 134, if the EDATA flag is not set (i.e., the primary pointing device 16 is being used or was last used), then the mouse switches 20, 22 are processed based on the user's input through the primary pointing device 16 as described with reference to FIG. 4. The mouse data, resulting from the switch action, is transmitted to the system microcontroller 50.
At Block 136, if the EDATA flag is set (i.e., the secondary pointing device 16 is being used or was last used), then the mouse switches 20, 22 are ignored (i.e., any response to their status is inhibited) by the first microcontroller 30 of the primary pointing device 16 but not by the second microcontroller 36 of the secondary pointing device 18. The second microcontroller 36 uses the interpointing device data line 66 to send this secondary mouse data to the first microcontroller 30. The first microcontroller 30 sends this secondary mouse data to the system microcontroller 50 because the EDATA flag indicates that the second pointing device 18 is in use. The first microcontroller 30 is inhibited from responding in any way to the status of either mouse switch 20, 22. These actions ensure that the user may seamlessly transition from using the primary pointing device 16 to using the secondary pointing device 18 and vice versa.
While preferred embodiments of the present invention have been described, it should be appreciated that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention. Accordingly, reference should be made to the claims to determine the scope of the present invention.