The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which:
Preferred embodiments of the present invention will be described herein below with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
Hereinafter, a key expansion apparatus using a combination of input ports in an electronic device, particularly a wireless communication terminal, will be described in detail.
Although an electronic device having three first input ports and three second input ports will be described, the present invention is not limited to this configuration. That is, the present invention can also be applied to an electronic device having five first input ports and five second input ports, and an electronic device having four first input ports and six second input ports.
Referring to
Because the key expansion is achieved by the combination of the input ports, the number of the expandable keys is determined according to the number of the first and second input ports. For example, when the electronic device has three first input ports and three second input ports, the keys can be expanded from a three-contact key up to a six-contact key, in addition to a two-contact key of the basic key matrix. A combination that can be selected from the three first input ports and the three second input ports is 3C1+3C2+3C3=3+3+1=7. When each row and column of the key matrix is expanded to 7, a total of 49 basic keys can be obtained. Table 1 below shows the number of the expandable keys according to the number of the input ports.
Specifically, Table 1 shows the number of two-contact keys of the general key matrix, the number of three-contact expansion keys, and the maximum number of the expandable keys according to the number of the input ports of the electronic device.
When the number of the first input ports and the number of the second input ports are 4 and 6, 5 and 5, 5 and 6, respectively, the number of key inputs expandable using the two-contact keys, the three-contact keys, and the maximum number of expandable keys are shown in Table 1. The number of the keys is equal to that of the key input methods. Therefore, it is possible to obtain much more key inputs than the number of the general key matrix (two-contact keys) simply by adding the three-contact keys.
In the case where the keys are expanded using the combination, when the user activates two or more keys almost simultaneously, the electronic device can operate as if one key is activated. In other words, when two or more keys are inputted or closed substantially simultaneously, the electronic device can operate as if one key is inputted or closed which connects input ports to be connected by the two or more closed keys, only if a corresponding expandable key is provided. For example, when key[0,0] 311 and key[0,1] 312 are closed simultaneously, bit values of “Row0” and “Col0” are changed from 0 to 1 by the input of key[0,0] 311 and bit values of “Row0” and “Col0” are changed from 0 to 1 by the input of key[0,1] 312. Consequently, because the bit values of “Row0”, “Col0”, “Col1” are changed from 0 to 1, the electronic device can operate as if key[0,3] connecting “Row0”, “Col0” and “Col1” is closed.
Therefore, it is preferable that the electronic device with the expandable key inputs using the combination of the keys uses an interrupt scheme, instead of a polling scheme. According to the polling scheme, the CPU detects a change of a key state periodically. However, according to the interrupt scheme, the CPU automatically knows the change of the key state immediately when the key state is changed. Because the polling scheme detects the key state periodically, only a finally changed value can be detected even if the key state is changed several times. On the other hand, because the interrupt scheme has a fast response speed, the CPU can know the change of the key state immediately when the key state is changed. Therefore, when the user activates two or more keys simultaneously, the input of the two or more keys can be recognized by detecting the short time difference. In the case of the interrupt scheme, when key[0,0] 311 and key[0,1] 312 are activated simultaneously, the CPU detects the input order of the two keys and performs an operation corresponding to the two key inputs. In this case, if the input of the two keys is designated as one function, that is, if a duplicate key function is used to perform one operation when the two keys are activated simultaneously, the input of the two keys may not be correctly detected according to the input ports included in the duplicate key. The case where the simultaneous input of key[0,0] 311 and key[0,3] 313 is designated as the duplicate key function will be taken as an example. In this case, because key[0,3] 313 includes the input ports of key[0,1] 311 and key[0,1] 312, the CPU cannot determine if key[0,0] 311 and key[0,1] 312 are activated simultaneously, or if key[0,0] 311 and key[0,3] 313 are activated simultaneously, or if key[0,1] 312 and key[0,3] 313 are activated simultaneously. Therefore, when the duplicate key function is designated in the key expansion apparatus of the present invention, it is preferable that the two basic keys are designated as the duplicate key, or it is preferable that a single basic key and an additional key including no input ports connected to the single basic key are designated as the duplicated key.
In order to use the three-or-more-contact keys of the key expansion apparatus in the electronic device, metal domes and a printed circuit board (PCB) for the three-or-more-contact keys must be newly designed. The design of the metal domes and the PCB will be described with reference to
Specifically,
Referring to
Referring to
As described above, the key expansion apparatus of the present invention can provide the key expansion using the combination of the input ports. Therefore, the key expansion can be easily achieved using a small number of input ports without additional expense.
The same idea as described above can be applied to other embodiments using a touch screen or a touch pad as an input means. In this vase, a key corresponds to an input element.
While the present invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in forms and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-0045541 | May 2006 | KR | national |