JPH09212274A - Input device - Google Patents

Input device

Info

Publication number
JPH09212274A
JPH09212274A JP8013473A JP1347396A JPH09212274A JP H09212274 A JPH09212274 A JP H09212274A JP 8013473 A JP8013473 A JP 8013473A JP 1347396 A JP1347396 A JP 1347396A JP H09212274 A JPH09212274 A JP H09212274A
Authority
JP
Japan
Prior art keywords
key
auxiliary
data
general
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8013473A
Other languages
Japanese (ja)
Inventor
康 ▲高▼木
Yasushi Takagi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8013473A priority Critical patent/JPH09212274A/en
Publication of JPH09212274A publication Critical patent/JPH09212274A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a keyboard reduced in its power consumption. SOLUTION: At the time of detecting the depression of an auxiliary key through a key matrix 1, whether a valid key in combination with the auxiliary key is depressed or not is judged. At the time of detecting the depression of an invalid key in combination with the auxiliary key, only the key data on the invalid key are sent to a master device 9. At the time of detecting the depression of the valid key in combination with the auxiliary key, the key data of the auxiliary key and the valid key are respectively sent to the master device 9, and when only the auxiliary key is depressed, the key data of the auxiliary key are inhibited from being sent.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えば「SHIF
T」キーや「CTRL」キーなどの補助キーを含む複数
のキーを備えたキーボードに係わり、さらに詳しくは、
そのキーボードの上位装置に対するキーデータの送出制
御に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to, for example, "SHIF
The present invention relates to a keyboard having a plurality of keys including auxiliary keys such as “T” key and “CTRL” key.
The present invention relates to control of sending key data to a host device of the keyboard.

【0002】[0002]

【従来の技術】一般にキーボードは、ANKキー(アル
ファベット、数字、カナ)やファンクションキーが、ま
た「SHIFT」キーや「CTRL」キーなど組み合わ
せでキーの役割を変更する補助キーが、それぞれ用途に
応じて配列されている。キーのインターロック機能は、
Nキーロールオーバーが一般的で、押下した全てのキー
が押下順又は走査順に検知される。例えば「A」、
「B」、「C」の3種のキーをこの順番でほぼ同時に押
下した場合、対応するキーデータが検知順にキーボード
から上位装置に送出される。また、前述した補助キーに
ついても同様に補助キーを単独に押下しても、補助キー
及びそのキーと組み合わせの無効なキーをほぼ同時に押
下しても、補助キーに対応するキーデータがキーボード
から送出されるようになっている。
2. Description of the Related Art Generally, a keyboard has ANK keys (alphabet, numbers, kana) and function keys, and auxiliary keys that change the role of the keys such as "SHIFT" key and "CTRL" key according to the purpose. Are arranged. The key interlock function is
N-key rollover is common, and all the pressed keys are detected in the pressing order or scanning order. For example, "A",
When the three types of keys "B" and "C" are pressed almost simultaneously in this order, the corresponding key data is sent from the keyboard to the host device in the order of detection. Similarly, for the auxiliary keys described above, key data corresponding to the auxiliary key is sent from the keyboard even if the auxiliary key is pressed individually or when the auxiliary key and an invalid key in combination with the auxiliary key are pressed almost at the same time. It is supposed to be done.

【0003】[0003]

【発明が解決しようとする課題】前述した従来のキーボ
ードでは、補助キーを単独に押下しても、また補助キー
及びそのキーと組み合わせの無効なキーをほぼ同時に押
下しても、補助キーのキーデータが上位装置に送出され
るため、その分、電力が余計に消費し無駄であった。特
に、バッテリーを電源とするキーボードや、バッテリー
を駆動源とする上位装置から電源を受けているキーボー
ドでは、バッテリーの寿命を短くする要因となってい
た。
In the above-mentioned conventional keyboard, even if the auxiliary key is pressed alone or the auxiliary key and the invalid key in combination with the auxiliary key are pressed almost at the same time, the auxiliary key is pressed. Since the data is sent to the higher-level device, the power was consumed and wasted accordingly. In particular, a keyboard that uses a battery as a power source or a keyboard that receives power from a host device that uses a battery as a driving source has been a factor that shortens the life of the battery.

【0004】[0004]

【課題を解決するための手段】本発明に係る入力装置
は、補助キーの押下を検知したときその補助キーと組み
合わせの有効なキーが押下されたかどうかを判定し、補
助キーとの組み合わせの無効なキーの押下を検出したと
きはその無効なキーのキーデータのみを上位装置に送出
し、補助キーとの組み合わせの有効なキーの押下を検知
したときは補助キー及びその有効なキーのキーデータを
上位装置にそれぞれ送出し、補助キーの押下のみのとき
はその補助キーのキーデータの送出を禁止するキーデー
タ送出制御手段を備えたものである。
The input device according to the present invention, when the depression of an auxiliary key is detected, determines whether a valid key in combination with the auxiliary key has been depressed, and invalidates the combination with the auxiliary key. When a key press of a valid key is detected, only the key data of that invalid key is sent to the host device, and when a valid key press in combination with the auxiliary key is detected, the key data of the auxiliary key and its valid key is detected. Is sent to each host device, and when only the auxiliary key is pressed, the key data sending control means for prohibiting the sending of the key data of the auxiliary key is provided.

【0005】このキーデータ送出制御手段は、補助キー
の押下を検出すると、その補助キーと組み合わせの有効
なキーが押下されたかどうかを判定する。補助キーとの
組み合わせの無効なキーの押下を検出したときはその無
効なキーのキーデータのみを上位装置に送出し、補助キ
ーとの組み合わせの有効なキーの押下を検出したときは
補助キー及びその有効なキーのキーデータを上位装置に
それぞれ送出し、補助キーの押下のみのときはその補助
キーのキーデータの送出を禁止する。このように、補助
キーと組み合わせが無効なキーが押下されたとき、また
キーの押下が補助キーのみの場合は、補助キーのキーデ
ータを上位装置に送出しないので消費電力の改善が図れ
る。
When detecting the pressing of the auxiliary key, the key data transmission control means determines whether or not a valid key in combination with the auxiliary key has been pressed. When the invalid key press in combination with the auxiliary key is detected, only the key data of the invalid key is sent to the host device, and when the effective key press in combination with the auxiliary key is detected, the auxiliary key and The key data of the valid key is sent to the host device, respectively, and when only pressing the auxiliary key, the sending of the key data of the auxiliary key is prohibited. In this way, when a key in which the combination with the auxiliary key is invalid is pressed, or when only the auxiliary key is pressed, the key data of the auxiliary key is not sent to the host device, so that power consumption can be improved.

【0006】[0006]

【発明の実施の形態】図1は本発明の実施形態を示すキ
ーボードのブロック構成図であり、図において、1はキ
ーマトリクスで、複数のキーに対応してキースイッチ群
がドライブライン4とレシーブライン5の交点にマトリ
クス状に配置されている。2はデコーダICで、セレク
トライン3を介して入力される後述のマイクロコントロ
ーラ7からの信号に基づいてドライブライン4をドライ
ブする。6はキーボードのモードを表示するためのLE
D、8はマイクロコントローラ7と上位装置9とを接続
するインタフェースである。
1 is a block diagram of a keyboard showing an embodiment of the present invention. In the figure, 1 is a key matrix in which a group of key switches corresponding to a plurality of keys is a drive line 4 and a receive. They are arranged in a matrix at the intersections of the lines 5. Reference numeral 2 is a decoder IC, which drives the drive line 4 based on a signal from a later-described microcontroller 7 which is input via the select line 3. 6 is LE for displaying the mode of the keyboard
D and 8 are interfaces that connect the microcontroller 7 and the host device 9.

【0007】前記マイクロコントローラ7は、本発明の
キー検知部11、キー識別部12、第1のキー管理部1
3及び第2のキー管理部14の機能を有するキーデータ
送出制御手段10を備え、補助キーの例えば「SHIF
T」キーの押下を検知したときそのキーの押下に基づく
キーデータを仮ストアすると共に、そのステータスを示
すフラグをセットし、引き続き「SHIFT」キーの開
放を検知したときは、その開放に基づくキーデータを上
位装置9に送出することなくセットしたフラグをクリア
して仮ストアのキーデータを消去する。
The microcontroller 7 includes the key detecting section 11, the key identifying section 12, and the first key managing section 1 of the present invention.
3 and the key data transmission control means 10 having the functions of the second key management unit 14, and an auxiliary key such as "SHIFT"
When the press of the "T" key is detected, key data based on the press of the key is temporarily stored, and a flag indicating the status is set. When the release of the "SHIFT" key is detected subsequently, the key based on the release is detected. Without sending the data to the host device 9, the set flag is cleared to erase the key data of the temporary store.

【0008】また、前述したフラグをセットした後に続
いて一般キーの押下を検知したとき、その一般キーが
「SHIFT」キーとの組み合わせに有効な場合には仮
ストアした「SHIFT」キーのキーデータ及び前記一
般キーの押下のキーデータをそれぞれ上位装置9に送出
し、その後にそれらのキーの開放を順次に検知したとき
はそれぞれのキー開放に基づくキーデータを上位装置9
にそれぞれ送出する。
Further, when the depression of the general key is detected subsequently after the flag is set, if the general key is valid for the combination with the "SHIFT" key, the key data of the temporarily stored "SHIFT" key is stored. And the key data of the depression of the general key is sent to the host device 9, and when the release of those keys is sequentially detected thereafter, the key data based on the release of each key is sent to the host device 9.
Respectively.

【0009】さらに、「SHIFT」キーの押下に基づ
くフラグをセットした後に、そのキーと組み合わせの無
効な一般キーの押下を検知したときは、その一般キーの
押下に基づくキーデータのみを上位装置9に送出し、引
き続き一般キー及び「SHIFT」キーの開放を順次に
検知したときは、まず一般キーの開放に基づくキーデー
タを上位装置9に送出し、次いで「SHIFT」キーの
開放に基づくキーデータを上位装置9に送出することな
くセットしたフラグをクリアして仮ストアのキーデータ
を消去する。
Further, when the flag based on the depression of the "SHIFT" key is set and then the depression of the invalid general key in combination with the key is detected, only the key data based on the depression of the general key is sent to the host device 9 When the release of the general key and the "SHIFT" key is sequentially detected, the key data based on the release of the general key is first transmitted to the host device 9, and then the key data based on the release of the "SHIFT" key. Is sent to the higher-level device 9 to clear the set flag and erase the key data of the temporary store.

【0010】前記のように構成されたキーボードの動作
を図2及び図3に基づいて説明する。図2はキーボード
のマイクロコントローラの動作を説明するフローチャー
トであり、図3はキーの押下及び開放時のキーデータ送
出のタイミングチャートで、そのうち(a)は「SHI
FT」キーのみを操作したときを示し、(b)は「SH
IFT」キー及びそのキーと組み合わせの有効な一般キ
ー(ここでは、キー「A」とする)を操作したときのキ
ーデータ送出のタイミングを示し、(c)は「SHIF
T」キー及びそのキーと組み合わせの無効な一般キー
(ここでは、キー「B」とする)を操作したときのキー
データ送出のタイミングを示し、(d)は「SHIF
T」キー、そのキーと組み合わせの有効なキー「A」及
び無効なキー「B」を操作したときのキーデータ送出の
タイミングを示し、また、図中の破線の矢印はキーデー
タ送出の禁止を示し、実線の矢印はキーデータ送出を示
す。
The operation of the keyboard constructed as described above will be described with reference to FIGS. 2 and 3. FIG. 2 is a flowchart for explaining the operation of the microcontroller of the keyboard, and FIG. 3 is a timing chart of key data transmission at the time of pressing and releasing the key, of which (a) is “SHI
This shows the time when only the "FT" key is operated, and (b) shows "SH
The timing of key data transmission when an effective general key (here, key "A") in combination with the "IFT" key and that key is operated is shown, and (c) shows "SHIFT.
The timing of key data transmission when the T "key and an invalid general key in combination with the key (herein, referred to as the key" B ") is operated is shown. (D) shows" SHIFT "
The timing of key data transmission when the "T" key, the valid key "A" and the invalid key "B" in combination with the key are operated, and the broken line arrow in the figure indicates that key data transmission is prohibited. The solid arrow indicates the key data transmission.

【0011】マイクロコントローラ7は、キースキャン
を実行する際、セレクトライン3を介してデコーダ2を
操作してドライブライン4をドライブし、キーマトリク
ス1の状態をレシーブライン5から読み取る(S1)。
そしてキーをスキャンしたかどうかを判定し(S2)、
キーをスキャンできなかったときはキードライブライン
等の各種レジスタを更新し(S3)、全てのキースイッ
チのスキャンが終了したか否かを判定し(S4)、終了
していなければ再びステップ1に戻って順次にキーのス
キャンを行う。
When executing the key scan, the microcontroller 7 operates the decoder 2 via the select line 3 to drive the drive line 4, and reads the state of the key matrix 1 from the receive line 5 (S1).
Then, it is determined whether or not the key is scanned (S2),
When the key cannot be scanned, various registers such as the key drive line are updated (S3), and it is determined whether or not the scanning of all the key switches has been completed (S4). If not completed, the process returns to step 1 again. After returning, the keys are sequentially scanned.

【0012】ここで、図3(a)に示すように補助キー
の「SHIFT」キーが押下されると、マイクロコント
ローラ7は、それをスキャンしてキーの押下及び開放の
いずれかを判定する(S5)。開放を確認したときはス
テップ14に進むが、キーの押下を確認したときは「S
HIFT」キーかどうかを判定する(S6)。押下され
たキーが「SHIFT」キーと判断したときはそのキー
の押下に基づくキーデータを仮ストアすると共に、その
ステータスを示すフラグをセットし(S7,S8)、再
びキーのスキャンに入る(S1〜S4)。この時点で
は、前記キーデータは仮ストアされるだけで上位装置9
に送出されない。
Here, when the "SHIFT" key of the auxiliary key is pressed as shown in FIG. 3A, the microcontroller 7 scans it and determines whether the key is pressed or released ( S5). When it is confirmed that the key is released, the process proceeds to step 14, but when it is confirmed that the key is pressed, "S
It is determined whether the key is a "HIFT" key (S6). When it is determined that the pressed key is the "SHIFT" key, key data based on the pressed key is temporarily stored, a flag indicating the status is set (S7, S8), and the key is scanned again (S1). ~ S4). At this point, the key data is only temporarily stored, and the host device 9
Not sent to.

【0013】「SHIFT」キーが開放されると、前記
と同様にそれをスキャンしてキーの状態を判定する(S
5)。この場合はキー開放であるため、ステップ14を
選択して「SHIFT」キーかどうかを判定する。一般
キーのときはステップ13に進むが、「SHIFT」キ
ーと判断したときはそのキーのフラグがセットされてい
るかどうかを判定し(S15)、そのフラグがクリアさ
れているときはキー押下時のキーデータが送出されてい
るものと判断してキー開放時のキーデータ送出のために
ステップ13を選択するが、フラグがセットされている
と判断したときは「SHIFT」キーの単独操作と判断
してそのフラグをクリアして仮ストアのキーデータを消
去し(S16)、キーのスキャンに入る(S1〜S
4)。このように「SHIFT」キー等の補助キー単独
操作ではキーデータは上位装置9に送出されない(図3
(a)参照)。
When the "SHIFT" key is released, it is scanned in the same manner as described above to determine the state of the key (S
5). In this case, since the key is released, step 14 is selected and it is determined whether the key is the "SHIFT" key. If the key is a general key, the process proceeds to step 13. However, if it is determined that the key is a "SHIFT" key, it is determined whether the flag of the key is set (S15). When it is judged that the key data has been sent, step 13 is selected for sending the key data when the key is released, but when it is judged that the flag is set, it is judged that the "SHIFT" key is operated independently. To clear the flag to erase the key data in the temporary store (S16), and start scanning the key (S1 to S
4). In this way, key data is not sent to the higher-level device 9 by a single operation of the auxiliary key such as the "SHIFT" key (see FIG. 3).
(A)).

【0014】また、図3(b)に示すように「SHIF
T」キー押下の後にキー「A」が押下された場合には、
マイクロコントローラ7は、前記と同様に「SHIF
T」キー押下時のキーデータを仮ストアしてフラグをセ
ットした後にキー「A」に対しての処理に入る。その場
合、まずステップ5においてステップ6を選択し、ステ
ップ6においてはステップ9を選択して「SHIFT」
キーの押下によるフラグがセットされているかどうかを
判定する。フラグがクリアされているときはキー「A」
単独の押下によるものと判断して、そのキー押下時のキ
ーデータを送信バッファにセーブするが(S13)、フ
ラグがセットされていると判断したときはキー「A」が
「SHIFT」キーとの組み合わせに有効かどうかを判
定する(S10)。組み合わせが無効な場合は前述のご
とくキー「A」のキーデータを送信バッファにセーブす
るが(S13)、有効と判断したときは仮ストアした
「SHIFT」キーの押下時のキーデータを送出するた
めに送信バッファにセーブすると共にフラグをクリアし
(S11,S12)、そしてキー「A」のキーデータを
送出するために送信バッファにセーブし(S13)、キ
ーのスキャンに入る(S1〜S4)。この時点では、キ
ー「A」を押下したときに「SHIFT」キー及びその
キー「A」のキーデータが上位装置9に送出される。
Further, as shown in FIG. 3B, "SHIF
If the key "A" is pressed after pressing the "T" key,
The microcontroller 7 operates in the same manner as described above, using the "SHIF
After temporarily storing the key data when the "T" key is pressed and setting the flag, the process for the key "A" is started. In that case, first, step 6 is selected in step 5, step 9 is selected in step 6, and "SHIFT" is selected.
It is determined whether or not the flag by pressing the key is set. Key "A" when the flag is cleared
When it is determined that the key is pressed alone, the key data when the key is pressed is saved in the transmission buffer (S13), but when it is determined that the flag is set, the key "A" is regarded as the "SHIFT" key. It is determined whether the combination is valid (S10). When the combination is invalid, the key data of the key "A" is saved in the transmission buffer as described above (S13), but when it is judged to be valid, the key data when the temporarily stored "SHIFT" key is pressed is sent out. And the flag is cleared (S11, S12), the key data of the key "A" is saved in the transmission buffer (S13), and the key scan is started (S1 to S4). At this point, when the key "A" is pressed, the "SHIFT" key and the key data of the key "A" are sent to the host device 9.

【0015】「SHIFT」キー及びキー「A」が順次
に開放されると、まずステップ5及びステップ14を介
してステップ15を選択し、「SHIFT」キーのフラ
グがセットされているかどうかを判定する。この場合、
ステップ12においてフラグをクリアしているため開放
によるキーデータを送信バッファにセーブする。次い
で、次に開放されたキーを確認し(S5)、それが「S
HIFT」キーかどうかを判定する(S14)。この場
合はキー「A」であるため、ステップ13を選択してキ
ー開放によるキーデータを送信バッファにセーブする。
このように「SHIFT」キーとキー「A」とが組み合
わせに有効な場合、キー「A」押下時に「SHIFT」
キーのキーデータも上位装置9に送出され、開放時には
順次にキーデータが上位装置9に送出される。
When the "SHIFT" key and the key "A" are sequentially released, first, step 15 is selected through steps 5 and 14, and it is judged whether or not the flag of the "SHIFT" key is set. . in this case,
Since the flag is cleared in step 12, the key data for opening is saved in the transmission buffer. Then confirm the next released key (S5), which is "S
It is determined whether the key is a "HIFT" key (S14). In this case, since the key is "A", step 13 is selected to save the key data by releasing the key in the transmission buffer.
In this way, when the "SHIFT" key and the key "A" are valid for the combination, "SHIFT" is pressed when the key "A" is pressed.
The key data of the key is also sent to the higher-level device 9, and when released, the key data is sequentially sent to the higher-level device 9.

【0016】さらに、図3(c)に示すように「SHI
FT」キー及びキー「B」が順次に押下された場合は、
マイクロコントローラ7は、まず「SHIFT」キー押
下時のキーデータを仮ストアしフラグをセットする(S
5,S6〜S8)。その後にステップ5においてステッ
プ6を選択し、ステップ6においてはステップ9を選択
して「SHIFT」キーの押下によるフラグがセットさ
れているかどうかを判定する。この場合はフラグをセッ
トしているため、ステップ10においてキー「B」が
「SHIFT」キーとの組み合わせに有効かどうかを判
定する。組み合わせが有効なときはステップ11を選択
するが、無効と判断したときはキー「B」押下時のキー
データのみを送出するために送信バッファにセーブする
(S13)。この時点では、「SHIFT」キーのキー
データは上位装置9に送出されることなく、キー「B」
のキーデータのみが送出される。
Further, as shown in FIG. 3 (c), "SHI
When the "FT" key and the key "B" are sequentially pressed,
The microcontroller 7 first temporarily stores the key data when the "SHIFT" key is pressed and sets the flag (S
5, S6 to S8). After that, step 6 is selected in step 5, step 9 is selected in step 6, and it is determined whether or not the flag by pressing the "SHIFT" key is set. In this case, since the flag is set, it is determined in step 10 whether the key "B" is valid for the combination with the "SHIFT" key. When the combination is valid, step 11 is selected, but when it is determined that the combination is invalid, only the key data when the key "B" is pressed is saved in the transmission buffer (S13). At this point, the key data of the "SHIFT" key is not sent to the host device 9 and the key "B"
Only the key data of is sent.

【0017】「SHIFT」キー及びキー「B」が順次
に開放されると、まずステップ5及びステップ14を介
してステップ15を選択し、「SHIFT」キーのフラ
グがセットされているかどうかを判定する。この場合は
フラグをクリアしていないためそのフラグをクリアして
ステップ3に進み、次いで、次に開放されたキーを確認
し、それが「SHIFT」キーかどうかを判定する(S
5,S14)。開放の確認がキー「B」であるため、ス
テップ13を選択してキー「B」開放によるキーデータ
を送信バッファにセーブする。このように「SHIF
T」キーとキー「B」とが組み合わせに無効な場合は、
「SHIFT」キーのキーデータが上位装置9に送出さ
れることなく、キー「B」のみのキーデータが上位装置
9に送出される。
When the "SHIFT" key and the key "B" are sequentially released, first, step 15 is selected through steps 5 and 14, and it is determined whether or not the flag of the "SHIFT" key is set. . In this case, since the flag has not been cleared, the flag is cleared and the process proceeds to step 3. Then, the released key is confirmed, and it is determined whether or not it is the "SHIFT" key (S
5, S14). Since the confirmation of the release is the key "B", step 13 is selected to save the key data by the release of the key "B" in the transmission buffer. In this way, "SHIF
If the combination of "T" key and "B" key is invalid,
The key data of only the key “B” is transmitted to the higher-level device 9 without transmitting the key data of the “SHIFT” key to the higher-level device 9.

【0018】さらにまた、同図(d)に示すように「S
HIFT」キー、キー「B」及びキー「A」の順に押下
された場合は、マイクロコントローラ7は、まず「SH
IFT」キーのキーデータを仮ストアし、次いでキー
「B」のキーデータを上位装置9に送出し、キー「A」
の押下を確認したときそのキーデータと仮ストアした
「SHIFT」キーのキーデータとを上位装置9に送出
する。前記順序でキーが開放されたときは、その順にキ
ーデータをそれぞれ上位装置9に送出する。
Furthermore, as shown in FIG.
When the "HIFT" key, the "B" key, and the "A" key are pressed in this order, the microcontroller 7 first selects "SH".
Temporarily store the key data of the “IFT” key, then send the key data of the key “B” to the host device 9, and then the key “A”
When it is confirmed that the key has been pressed, the key data and the key data of the temporarily stored "SHIFT" key are sent to the host device 9. When the keys are released in the above order, the key data is sent to the host device 9 in that order.

【0019】以上のように本実施形態においては、「S
HIFT」キーのみが操作されたとき、また「SHIF
T」キー及びそのキーと無効なキー「B」が操作された
とき、マイクロコントローラ7は「SHIFT」キーの
キーデータを上位装置9に送出しないようにしたので、
低消費電力が図れるという効果が得られている。
As described above, in this embodiment, "S
When only the "HIFT" key is operated, the "SHIFT"
When the "T" key and the key and the invalid key "B" are operated, the microcontroller 7 does not send the key data of the "SHIFT" key to the host device 9.
The effect of achieving low power consumption is obtained.

【0020】なお、前記の実施形態ではキー押下時と開
放時にそれぞれキーデータの送出を判定するようにした
が、キーデータ送出時に判定するようにしてもよい。ま
たキーデータの送出の判定をマイクロコントローラ7が
ソフトウェアに基づいて行うようにしたが、ソフトウェ
アに代えてハードウェアで構成してもよい。
In the above-described embodiment, the key data is sent when the key is pressed and released, but it may be made when the key data is sent. Further, although the microcontroller 7 determines whether to send the key data based on software, it may be configured by hardware instead of software.

【0021】さらに、本実施形態ではNキーロールオー
バーと機能上互換性があるため、デスクトップ、ラップ
トップ、ノートタイプなどのキーボードの形態に関係な
く、低消費電力を図る場合に適用が可能である。
Further, since the present embodiment is functionally compatible with the N-key rollover, it can be applied to low power consumption regardless of the form of keyboard such as desktop, laptop, and notebook type. .

【0022】[0022]

【発明の効果】以上のように本発明によれば、補助キー
のみが操作されたとき、また補助キー及びそのキーと無
効な一般キーが操作されたとき、キーデータ送出制御手
段は補助キーのキーデータを上位装置に送出しないよう
にしたので、バッテリーを電源とする従来のキーボード
と比べバッテリーの寿命が延びるという効果が得られて
いる。
As described above, according to the present invention, when only the auxiliary key is operated, or when the auxiliary key and its key and an invalid general key are operated, the key data sending control means operates the auxiliary key. Since the key data is not sent to the host device, the battery life is extended as compared with the conventional keyboard using the battery as a power source.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態を示すキーボードのブロック
構成図である。
FIG. 1 is a block configuration diagram of a keyboard showing an embodiment of the present invention.

【図2】キーボードのマイクロコントローラの動作を説
明するフローチャートである。
FIG. 2 is a flowchart illustrating an operation of a keyboard microcontroller.

【図3】キーの押下及び開放時のキーデータ送出のタイ
ミングチャートである。
FIG. 3 is a timing chart of key data transmission when a key is pressed and released.

【符号の説明】[Explanation of symbols]

1 キーマトリクス 2 デコーダIC 7 マイクロコントローラ 9 上位装置 1 Key Matrix 2 Decoder IC 7 Micro Controller 9 Host Device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 補助キーの押下を検知したときその補助
キーと組み合わせの有効なキーが押下されたかどうかを
判定し、補助キーとの組み合わせの無効なキーの押下を
検出したときはその無効なキーのキーデータのみを上位
装置に送出し、補助キーとの組み合わせの有効なキーの
押下を検知したときは補助キー及びその有効なキーのキ
ーデータを上位装置にそれぞれ送出し、補助キーの押下
のみのときはその補助キーのキーデータの送出を禁止す
るキーデータ送出制御手段を備えたことを特徴とする入
力装置。
1. When the depression of an auxiliary key is detected, it is determined whether or not a valid key in combination with the auxiliary key is depressed, and when the depression of an invalid key in combination with the auxiliary key is detected, the invalid key is detected. Only the key data of the key is sent to the host device, and when it is detected that the valid key is pressed in combination with the auxiliary key, the key data of the auxiliary key and its valid key is sent to the host device respectively, and the auxiliary key is pressed. An input device comprising key data transmission control means for prohibiting transmission of the key data of the auxiliary key when only.
【請求項2】 前記キーデータ送出制御手段は、 キーの押下及び開放を検知するキー検知部と、 該キー検知部によりキーの押下が検知されたときは補助
キーか補助キー以外の一般キーかを識別し、補助キーの
ときはその補助キーの押下を保持すると共に補助キー押
下を通知し、キーの押下が一般キーのときはその一般キ
ー押下を通知し、また、前記キー検知部によりキーの開
放が検知されたときは補助キーか補助キー以外の一般キ
ーかを識別し、補助キーのときは補助キー開放を通知
し、一般キーのときは一般キー開放を通知するキー識別
部と、 該キー識別部からの一般キー押下の通知を受けたとき既
に補助キー押下の通知を受けているか識別し、補助キー
押下の通知を受けていないときは通知を受けた一般キー
の押下に基づくキーデータを上位装置に送出し、補助キ
ー押下の通知を既に受けているときはその補助キーと通
知を受けた一般キーとが組み合わせに有効か識別し、補
助キーとの組み合わせが無効なときはその一般キーの押
下に基づくキーデータのみを上位装置に送出し、補助キ
ーとの組み合わせが有効なときはその補助キー及び通知
を受けた一般キーの押下に基づくキーデータをそれぞれ
上位装置に送出すると共に、前記キー識別部に保持され
たその補助キーの押下をクリアする第1のキー管理部
と、 前記キー識別部からの一般キー開放の通知を受けたとき
その一般キーの開放に基づくキーデータを上位装置に送
出し、補助キー開放の通知を受けたときはその補助キー
の押下が前記キー識別部に保持されているかどうかを識
別し、補助キー押下の保持がクリアされているときは前
記補助キーの開放に基づくキーデータを上位装置に送出
し、補助キーの押下が保持されているときはその押下の
保持をクリアしてキーデータの送出を禁止し、かつ開放
に基づくキーデータの送出を禁止する第2のキー管理部
とを備えたことを特徴とする請求項1記載の入力装置。
2. The key data transmission control means includes a key detection unit for detecting the pressing and releasing of the key, and when the key detection unit detects the pressing of the key, it is an auxiliary key or a general key other than the auxiliary key. When an auxiliary key is pressed, the pressing of the auxiliary key is held and the auxiliary key is pressed, and when the key is a general key, the general key is pressed. When the release of the key is detected, it is identified whether it is an auxiliary key or a general key other than the auxiliary key, and when it is an auxiliary key, the auxiliary key release is notified, and when it is a general key, a general key release is notified. When the general key press notification is received from the key identification unit, it is identified whether the auxiliary key press notification has already been received, and when the auxiliary key press notification has not been received, the key based on the notified general key press Data When it is sent to the upper device and the notification of pressing the auxiliary key has already been received, it is identified whether the auxiliary key and the general key that received the notification are valid for the combination, and when the combination with the auxiliary key is invalid, the general key Only the key data based on the press of the key is sent to the host device, and when the combination with the auxiliary key is valid, the key data based on the press of the auxiliary key and the notified general key is sent to the host device, and A first key management unit that clears the pressing of the auxiliary key held in the key identification unit, and a key device based on the release of the general key when the general key release notification is received from the key identification unit. When the auxiliary key release notification is received, it is discriminated whether or not the pressing of the auxiliary key is held in the key identifying section, and the holding of the auxiliary key is cleared. When the auxiliary key is released, the key data based on the release of the auxiliary key is sent to the host device. When the auxiliary key is held down, the holding of the press is cleared to prohibit the key data from being sent out. The input device according to claim 1, further comprising a second key management unit that prohibits transmission of key data.
JP8013473A 1996-01-30 1996-01-30 Input device Pending JPH09212274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8013473A JPH09212274A (en) 1996-01-30 1996-01-30 Input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8013473A JPH09212274A (en) 1996-01-30 1996-01-30 Input device

Publications (1)

Publication Number Publication Date
JPH09212274A true JPH09212274A (en) 1997-08-15

Family

ID=11834108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8013473A Pending JPH09212274A (en) 1996-01-30 1996-01-30 Input device

Country Status (1)

Country Link
JP (1) JPH09212274A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162685B2 (en) 2000-07-24 2007-01-09 Fujitsu Limited Key-input correcting device
KR100947476B1 (en) * 2007-02-01 2010-03-17 크루셜텍 (주) Pointing apparatus of potable device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162685B2 (en) 2000-07-24 2007-01-09 Fujitsu Limited Key-input correcting device
KR100947476B1 (en) * 2007-02-01 2010-03-17 크루셜텍 (주) Pointing apparatus of potable device

Similar Documents

Publication Publication Date Title
JP2000118090A5 (en)
US5915111A (en) Multi-function concurrent processing device allowing prioritization of control programs
JPH09212274A (en) Input device
EP1267562B1 (en) Data processing apparatus, software program and data processing method to be applied to the apparatus
US6216176B1 (en) Method of passing right to use input/output port between softwares
JPH0575137B2 (en)
US6330080B1 (en) Data communication apparatus, data communication method, and storage medium
JPH0662121A (en) Automatic private branch exchange
JP3078194B2 (en) Key scan circuit
JP2000307768A (en) Electronic device with longitudinal lateral display conversion function
JP3148804B2 (en) Multi-function parallel processing electronic device
JP4169436B2 (en) Mail data processing apparatus, mail data processing method and recording medium
US7352479B1 (en) Image recording apparatus having copy mode and facsimile mode, and transmission method using the same
JP3292447B2 (en) Multi-function parallel processing type information processing device
CN116061842A (en) Method and system for starting auxiliary driving function of vehicle
JP3494198B2 (en) Composite device
JPH0786797B2 (en) Electronics
JP2002136744A (en) Game information erasing method in game machine
JPS6224806B2 (en)
JP2000227831A (en) Key scan system
JP2002036670A (en) Printer, printer controlling method, and recording medium storing its processing
JP2005044351A (en) Status display control unit, electronic equipment and storage medium
JP2000238378A (en) Printing apparatus
JPH1173571A (en) Product sales data processor
JP2000056909A (en) Keyboard for personal computer