JP2787523B2 - keyboard - Google Patents

keyboard

Info

Publication number
JP2787523B2
JP2787523B2 JP4121442A JP12144292A JP2787523B2 JP 2787523 B2 JP2787523 B2 JP 2787523B2 JP 4121442 A JP4121442 A JP 4121442A JP 12144292 A JP12144292 A JP 12144292A JP 2787523 B2 JP2787523 B2 JP 2787523B2
Authority
JP
Japan
Prior art keywords
key
keyboard
special
general
mode
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.)
Expired - Fee Related
Application number
JP4121442A
Other languages
Japanese (ja)
Other versions
JPH05298002A (en
Inventor
典夫 辻川
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 JP4121442A priority Critical patent/JP2787523B2/en
Publication of JPH05298002A publication Critical patent/JPH05298002A/en
Application granted granted Critical
Publication of JP2787523B2 publication Critical patent/JP2787523B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、情報の入力を行なうキ
ーボードの制御を行なうキーボードに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard for controlling a keyboard for inputting information.

【0002】[0002]

【従来の技術】今日、様々な分野で情報処理装置が用い
られている。情報処理装置の構造(アーキテクチャ)
は、様々なものが用意されており、例えばメーカ毎に特
徴のあるものが用意されている。しかし近年、情報処理
装置のアーキテクチャを一定の内容に統一し、使用方法
(オペレーション)の汎用化を図ろうとする動きが活発
である。
2. Description of the Related Art Today, information processing apparatuses are used in various fields. Information processing device structure (architecture)
Various types are prepared, for example, those having characteristics for each manufacturer are prepared. However, in recent years, there has been an active movement to unify the architecture of the information processing apparatus to a certain content and to generalize the method of use (operation).

【0003】ところで、情報処理装置の具体例として
は、実行可能なアプリケーションプログラムの選択範囲
が広い、パーソナルコンピュータ、ワークステーション
と呼ばれる汎用的なアーキテクチャを備えたもの(汎用
情報処理装置)を挙げることができる。この汎用情報処
理装置には、文字や数値等を入力するキーボードが設け
られ、コマンド入力やデータ入力に利用されている。
As a specific example of an information processing apparatus, an information processing apparatus having a general-purpose architecture called a personal computer or a workstation (general-purpose information processing apparatus) having a wide selection range of executable application programs can be cited. it can. This general-purpose information processing apparatus is provided with a keyboard for inputting characters, numerical values, and the like, and is used for command input and data input.

【0004】図2に、汎用情報処理装置の概念図を示
す。図に示した汎用情報処理装置1には、キーボード
(KB)2、キーボード制御部(KB制御部)3、RO
M(BIOS ROM)4、そしてプロセッサ(CPU)5が設
けられている。
FIG. 2 shows a conceptual diagram of a general-purpose information processing apparatus. The general-purpose information processing apparatus 1 shown in the figure includes a keyboard (KB) 2, a keyboard control unit (KB control unit) 3,
An M (BIOS ROM) 4 and a processor (CPU) 5 are provided.

【0005】キーボード2は、文字や数値等を入力する
ためのキーが配置され、押下されたキーに対応するキー
データ(文字コード)を生成して上位装置に向けて出力
するものである。図3に、キーボード2のキー配置図を
示す。図に示すように、キーボード2には、キー2−1
〜2−104 の 104個のキーが配置されている。
The keyboard 2 has keys for inputting characters, numerical values, and the like, generates key data (character codes) corresponding to the pressed keys, and outputs the key data to a higher-level device. FIG. 3 shows a key arrangement diagram of the keyboard 2. As shown in FIG.
104 keys of .about.2-104 are arranged.

【0006】再び図2に戻り、キーボード制御部3は、
キーボード2におけるキー押下の監視、さらには、キー
ボード2に設けられたパイロットランプ等の点灯制御を
行なうものである。ROM4は、プロセッサ5が参照す
る制御プログラムを記憶したものである。プロセッサ5
は、キーボード2におけるキー押下に対応する制御を実
施するものである。
Returning to FIG. 2, the keyboard control unit 3
It monitors key presses on the keyboard 2 and controls lighting of a pilot lamp and the like provided on the keyboard 2. The ROM 4 stores a control program referred to by the processor 5. Processor 5
Performs control corresponding to a key press on the keyboard 2.

【0007】以上の構成の汎用情報処理装置1におい
て、キーボード2からキーの押下に対応して出力される
キーデータ(文字コード)2aは、キーボード制御部3
に認識される。キーボード制御部3は、プロセッサ5に
対して割り込み信号3aを出力し、キー入力の発生を通
知する。プロセッサ5は、割り込み信号3aを受付ける
と、アドレスバスAB及びデータバスDBをアクセス
し、キーボード制御部3からキーデータ2aを読み込
む。さらにプロセッサ5は、アドレスバスAB及びデー
タバスDBをアクセスし、ROM4から制御プログラム
を読取り、キーデータ2aに対応する処理(キー入力処
理)を実施する。
In the general-purpose information processing apparatus 1 having the above-described configuration, key data (character code) 2a output in response to a key press from the keyboard 2 is transmitted to the keyboard controller 3
Will be recognized. The keyboard control unit 3 outputs an interrupt signal 3a to the processor 5 to notify the occurrence of a key input. Upon receiving the interrupt signal 3a, the processor 5 accesses the address bus AB and the data bus DB, and reads the key data 2a from the keyboard control unit 3. Further, the processor 5 accesses the address bus AB and the data bus DB, reads a control program from the ROM 4, and performs a process (key input process) corresponding to the key data 2a.

【0008】ここで、図4を参照しながら従来のキー入
力処理について説明する。図4は、従来のキー入力処理
のフローチャートである。プロセッサ5は、キーボード
制御部3からキーデータ2aを読出すと(ステップS
1)、ROM4から制御プログラムを読出し、まず、内
容“F0”のキー2−1の押下であるか否を判断する
(ステップS2)。
Here, a conventional key input process will be described with reference to FIG. FIG. 4 is a flowchart of a conventional key input process. The processor 5 reads the key data 2a from the keyboard control unit 3 (step S5).
1) The control program is read from the ROM 4, and it is first determined whether or not the key 2-1 having the content "F0" has been pressed (step S2).

【0009】判断結果がNOの場合、さらに内容“F
1”のキー2−2の押下であるか否かを判断する(ステ
ップS3)。ステップS3の結果がNOの場合、以後同
様の判断処理がキー2−2〜2−102 について実施さ
れ、最後に内容“.”のキー2−103 の押下であるか否
かを判断する(ステップS4)。ステップS4の結果が
NOの場合、残るのはキー2−104 のみであるため、En
ter (改行)処理を実施し(ステップS5)、処理を終
了する。ステップS2〜S4の結果がYESの場合、そ
れぞれの判断対象としたキーに対応するキー処理を実施
し(ステップS6〜S8)、処理を終了する。なお、キ
ー2−3〜2−102 についても同様に、それぞれのキー
処理が実施されることになる。
If the result of the determination is NO, the content "F
It is determined whether the key 2-2 of "1" has been pressed (step S3). If the result of step S3 is NO, a similar determination process is performed for the keys 2-2 to 2-102 thereafter, and The content “. It is determined whether or not the key 2-103 is pressed (step S4). If the result of step S4 is NO, only key 2-104 is left, so En
A ter (line feed) process is performed (step S5), and the process ends. If the result of steps S2 to S4 is YES, key processing corresponding to each key to be determined is performed (steps S6 to S8), and the processing ends. The keys 2-3 to 2-102 are similarly subjected to the respective key processing.

【0010】ところで、例えば鉄道会社において定期券
発行業務や乗車券発行業務等の特殊業務を専門に処理す
るためのアーキテクチャを備えたもの(特殊業務専用情
報処理装置)を挙げることができる。特殊業務専用情報
処理装置は、各種業務処理に適応するように構築される
が、近年、特殊業務に固有のアーキテクチャ、例えばキ
ーボード等のみを別途用意して汎用情報処理装置に接続
し、この汎用情報処理装置を利用して特殊業務に対応す
る場合がある。
[0010] By the way, for example, a train company having an architecture for specially processing a special service such as a commuter pass issuing service and a ticket issuing service (special service information processing apparatus) can be mentioned. Although the information processing device dedicated to special services is constructed to adapt to various types of business processing, in recent years, an architecture unique to the special services, for example, only a keyboard or the like is separately prepared and connected to the general-purpose information processing device. In some cases, special processing is handled using a processing device.

【0011】即ち、特殊な業務固有の処理起動を実施す
るためのキー、例えば定期券発行キーを、キーボード上
に設ける必要性がある場合、汎用的なキーボードに本来
搭載されているキーの他に、定期券発行キーを追加した
キーボードを用意することになる。
That is, when it is necessary to provide a key for starting a process specific to a particular job, for example, a commuter pass issuance key, on the keyboard, in addition to the key originally mounted on the general-purpose keyboard, Thus, a keyboard to which a commuter pass issuance key is added is prepared.

【0012】ここで、特殊業務に対応するキーボード
(特殊キーボード)を設けた汎用情報処理装置につい
て、図5以降の図面を用いて説明する。図5は、特殊キ
ーボードのキー配置図である。図に示した特殊キーボー
ド6は、先に図3において説明したキーボード2のキー
2−1〜2-104と同一のキー6−1〜6−104 を備えて
いる。特殊キーボード6には、さらにキー6−105 が設
けられている。キー6−105 は、定期券発行処理を起動
する際に押下するキーである。
Here, a general-purpose information processing apparatus provided with a keyboard (special keyboard) corresponding to a special task will be described with reference to FIGS. FIG. 5 is a key layout diagram of the special keyboard. The special keyboard 6 shown in the figure has the same keys 6-1 to 6-104 as the keys 2-1 to 2-104 of the keyboard 2 described above in FIG. The special keyboard 6 is further provided with keys 6-105. The key 6-105 is a key to be pressed when starting the commuter pass issuing process.

【0013】以上の構成の特殊キーボード6について、
先に図4において説明した処理を実施すると、即ちRO
M4に記憶された制御プログラムを実施すると、キー6
−105 を押下した際、改行キーの押下として取扱われて
しまい、定期券発行の処理を起動できなくなる。この場
合、汎用情報処理装置1を、特殊業務を実現する特殊ア
プリケーションプログラムに、ROM4とは別に、特殊
キーボード6のキーデータの制御を行なう制御プログラ
ムを用意してRAMにローディングし、ROM4を切り
離してこのRAMの内容を参照してキーデータの制御を
行なう。
Regarding the special keyboard 6 having the above configuration,
When the processing described above with reference to FIG.
When the control program stored in M4 is executed, the key 6
When -105 is pressed, it is treated as pressing the line feed key, and the commuter pass issuing process cannot be started. In this case, a control program for controlling the key data of the special keyboard 6 is prepared separately from the ROM 4 in the special application program for realizing the special task, and the general-purpose information processing apparatus 1 is loaded into the RAM. Key data is controlled with reference to the contents of the RAM.

【0014】図6に、特殊業務に対応する汎用情報処理
装置1の概念図を示す。図に示した汎用情報処理装置1
は、図2に示したものと比べると、キーボード2に換え
てが特殊キーボード6が設けられ、さらにROM4に換
えて参照する制御プログラム(キーボードドライバ)が
常駐するRAM7が設けられている。
FIG. 6 is a conceptual diagram of the general-purpose information processing apparatus 1 corresponding to a special task. General-purpose information processing device 1 shown in FIG.
As compared with the one shown in FIG. 2, a special keyboard 6 is provided in place of the keyboard 2, and a RAM 7 in which a control program (keyboard driver) to be referred resides is provided in place of the ROM 4.

【0015】以上の構成の汎用情報処理装置1におい
て、キーボード6からキーの押下に対応して出力される
キーデータ(文字コード)6aは、キーボード制御部3
に認識される。キーボード制御部3は、プロセッサ5に
対して割り込み信号3aを出力し、キー入力の発生を通
知する。プロセッサ5は、割り込み信号3aを受付ける
と、アドレスバスAB及びデータバスDBをアクセス
し、キーボード制御部3からキーデータ2aを読み込
む。さらにプロセッサ5は、アドレスバスAB及びデー
タバスDBをアクセスし、RAM7から制御プログラム
を読取り、キーデータ6aに対応する処理(キー入力処
理)を実施する。
In the general-purpose information processing apparatus 1 having the above-described configuration, the key data (character code) 6 a output from the keyboard 6 in response to a key press is transmitted to the keyboard control unit 3.
Will be recognized. The keyboard control unit 3 outputs an interrupt signal 3a to the processor 5 to notify the occurrence of a key input. Upon receiving the interrupt signal 3a, the processor 5 accesses the address bus AB and the data bus DB, and reads the key data 2a from the keyboard control unit 3. Further, the processor 5 accesses the address bus AB and the data bus DB, reads a control program from the RAM 7, and performs processing (key input processing) corresponding to the key data 6a.

【0016】ここで、汎用情報処理装置1の動作を、図
7を参照しながら説明する。図7は、特殊業務に対応す
る従来のキー入力処理のフローチャートである。図に示
したステップS11〜S14、ステップS17〜S19
の処理は、先に図4において説明したステップS1〜S
4、ステップS6〜S8の処理と同様の処理である。
Here, the operation of the general-purpose information processing apparatus 1 will be described with reference to FIG. FIG. 7 is a flowchart of a conventional key input process corresponding to a special task. Steps S11 to S14 and steps S17 to S19 shown in FIG.
Are performed in steps S1 to S described above with reference to FIG.
4. The processing is the same as the processing in steps S6 to S8.

【0017】ここでは、ステップS14においてNOの
判断結果が出されると、内容“Enter:改行”のキー6−
104 の押下であるか否かが判断される(ステップS1
5)。ステップS15の結果がNOの場合、プロセッサ
5は、キー6−105 の押下であるものとして、定期券発
行処理を実施し(ステップS16)、処理を終了する。
また、ステップS15の結果がYESの場合、改行処理
を実施し(ステップS20)、処理を終了する。
Here, if the result of the determination in step S14 is NO, the key 6 of the content "Enter: line feed" is pressed.
It is determined whether or not the button 104 is pressed (step S1).
5). If the result of step S15 is NO, the processor 5 determines that the key 6-105 has been pressed, executes a commuter pass issuance process (step S16), and ends the process.
If the result of step S15 is YES, a line feed process is performed (step S20), and the process ends.

【0018】[0018]

【発明が解決しようとする課題】さて、以上の説明のよ
うに、特殊キーボード6は、キーボード2に搭載された
キーを全て網羅しているため、特殊アプリケーションプ
ログラム以外の、汎用アプリケーションプログラムの実
行が可能である。しかし、汎用アプリケーションプログ
ラムを実行した場合、キーデータ6aの解析をROM4
を参照して実施されるため、例えば誤ってキー6−105
を押下した場合、改行の処理が実施されてしまい、汎用
アプリケーションプログラムの暴走や記憶データ破壊等
を招く恐れがあった。さらに、特殊アプリケーションプ
ログラムを実行する場合はキーボード6、汎用アプリケ
ーションプログラムを実行する場合はキーボード2を利
用する運用形態の場合、特殊アプリケーションプログラ
ムの実行に支障を来すことなく、汎用アプリケーション
プログラムの暴走や記憶データの破壊等を回避できる
が、2種類のキーボードを用意することによるコスト上
昇や接続変更等の手間がかかるといった問題が生じてい
た。
As described above, since the special keyboard 6 covers all the keys mounted on the keyboard 2, it is possible to execute general-purpose application programs other than the special application program. It is possible. However, when the general-purpose application program is executed, the analysis of the key data 6a is performed in the ROM 4
For example, the key 6-105
When the button is pressed, a line feed process is performed, which may cause a runaway of the general-purpose application program, destruction of stored data, and the like. Further, in an operation mode using the keyboard 6 when executing the special application program and using the keyboard 2 when executing the general-purpose application program, the run-out of the general-purpose application program can be performed without hindering the execution of the special application program. Although it is possible to avoid destruction of stored data and the like, there has been a problem that preparing two types of keyboards increases costs and takes time and effort to change connections.

【0019】本発明は以上の点に着目してなされたもの
で、特殊アプリケーションプログラムと汎用アプリケー
ションプログラムの実行を支障なく容易に実現すること
のできるキーボード制御装置を提供することを目的とす
る。
The present invention has been made in view of the above points, and has as its object to provide a keyboard control device which can easily execute a special application program and a general-purpose application program without any trouble.

【0020】[0020]

【課題を解決するための手段】本発明は上位装置に接続
され、汎用キーと特殊キーとを有し、押下されたキーの
キーデータを上位装置に出力するキーボードにおいて、
汎用モードに設定し、汎用モードに設定されている間
は、特殊キーが押下されてもそのキーデータを上位装置
に押下せず、押下された汎用キーのキーデータのみを上
位装置に出力し、上位装置から特殊キーの出力を許容す
るコマンドを入力したときに汎用モードから特殊モード
に切り替え、特殊モードに設定されている間は、押下さ
れた汎用キー、又は特殊キーのキーデータを上位装置に
出力し、上位装置から特殊キーの出力を制限するコマン
ドを入力したときに特殊モードから汎用モードに切り替
える制御部を設けたことを特徴とするものである。
SUMMARY OF THE INVENTION The present invention connects to a higher-level device.
And has a general key and a special key.
In a keyboard that outputs key data to a host device,
Set to general-purpose mode and while it is set to general-purpose mode
Indicates that even if a special key is pressed,
Key data of the pressed general key
Output to the destination device and allow the output of special keys from the host device.
From special mode to special mode
Switch and press while the special mode is set.
Key data of general keys or special keys
Command to output and restrict the output of special keys from the host device
Switch from special mode to general mode when you enter a password
A control unit is provided .

【0021】[0021]

【作用】この装置は、一般のアプリケーションプログラ
ムが認識可能な汎用情報を入力する場合に押下する汎用
キーと、特定のアプリケーションプログラムのみが認識
可能な特殊情報を入力する場合に押下する特殊キーとを
備えたキーボードを用いて、一般及び特定のアプリケー
ションプログラムの両者を支障なく動作させる。特殊キ
ー制御部は、特定のアプリケーションプログラム以外の
動作時には、特殊キーの押下に対応する入力処理を無効
にし、特殊情報の出力を規制する。即ち、一般のアプリ
ケーションプログラム動作時には、汎用キーに対応する
汎用情報のみが出力され、特定のアプリケーションプロ
グラム動作時にのみ、汎用情報及び特殊キーに対応する
特殊情報を出力し、一般のアプリケーションプログラム
による特殊情報の誤認識を回避する。
This device has a general key which is depressed when inputting general information recognizable by a general application program, and a special key which is depressed when inputting special information which only a specific application program can recognize. Using the provided keyboard, both general and specific application programs operate without any trouble. The special key control unit invalidates the input processing corresponding to the pressing of the special key and restricts the output of the special information during the operation other than the specific application program. That is, when the general application program operates, only the general information corresponding to the general key is output, and only when the specific application program operates, the general information and the special information corresponding to the special key are output. Avoid false recognition of

【0022】[0022]

【実施例】図1は、本発明のキーボードの概念図であ
る。図に示したキーボード10には、プロセッサ(CP
U)11と、プロセッサ11に接続されたROM12、
RAM13、キースイッチ群制御回路14、上位装置通
信制御回路16、そしてキースイッチ群制御回路14に
制御されるキースイッチ群15が設けられている。この
キーボード10は、先に図6において説明した汎用情報
処理装置1の特殊キーボード6に換えて利用されるもの
である。
FIG. 1 is a conceptual diagram of a keyboard according to the present invention. The keyboard 10 shown in FIG.
U) 11, a ROM 12 connected to the processor 11,
A RAM 13, a key switch group control circuit 14, a host device communication control circuit 16, and a key switch group 15 controlled by the key switch group control circuit 14 are provided. This keyboard 10 is used in place of the special keyboard 6 of the general-purpose information processing apparatus 1 described above with reference to FIG.

【0023】プロセッサ11は、キーボード10を構成
する各部の制御を行なうものである。ROM12は、プ
ロセッサ11が参照するプログラムやデータ等を記憶す
るものである。RAM13は、キースイッチ群制御回路
14の出力結果及び上位装置に向けて出力するキーデー
タ等を一時記憶するものである。キースイッチ群制御回
路14は、キースイッチ群15を監視し、押下されたキ
ーを特定する制御を行なうものである。キースイッチ群
15は、各種情報の入力を行なう為に押下するキースイ
ッチから構成されるもので、先に図5において説明した
特殊キーボード6と同様に、キー15−1〜15−105
から構成されるものである。
The processor 11 controls each part of the keyboard 10. The ROM 12 stores programs, data, and the like that are referred to by the processor 11. The RAM 13 temporarily stores an output result of the key switch group control circuit 14, key data output to a higher-level device, and the like. The key switch group control circuit 14 monitors the key switch group 15 and performs control for specifying a pressed key. The key switch group 15 is composed of key switches to be pressed to input various information. Like the special keyboard 6 described above with reference to FIG. 5, the keys 15-1 to 15-105
It is composed of

【0024】さて、プロセッサ11には、特殊キー制御
部11aが設けられている。特殊キー制御部11aは、
キースイッチ群15上のキー15−105 に対応するキー
データ2a(図6)の出力制御を行なうもので、通常
は、キースイッチ群制御回路14がキー15−105 の押
下を検出しても、対応するキーデータ6aを出力しない
制御を行なう。一方、上位装置からキースイッチ15−
105 の出力を許容するコマンドを受付けた場合は、キー
スイッチ群制御回路14によるキー15−105 の押下検
出に対応して、キーデータ6aの出力を実施する。そし
て、上位装置からキースイッチ15−105 の出力を制限
するコマンドを受付けた場合は、再び、対応するキーデ
ータ6aを出力しない制御を行なう。
The processor 11 is provided with a special key control section 11a. The special key control unit 11a
It controls the output of the key data 2a (FIG. 6) corresponding to the keys 15-105 on the key switch group 15. Normally, even if the key switch group control circuit 14 detects that the key 15-105 is pressed, Control is performed so as not to output the corresponding key data 6a. On the other hand, the key switch 15-
When a command permitting the output of the key switch 105 is received, the key data 6a is output in response to the detection of the pressing of the key 15-105 by the key switch group control circuit 14. Then, when a command for restricting the output of the key switches 15-105 is received from the higher-level device, control for not outputting the corresponding key data 6a is performed again.

【0025】特殊キー制御部11aの制御は、特殊アプ
リケーションプログラムにより実施される。特殊アプリ
ケーションプログラムの起動時、プロセッサ5(図6)
がキーボード制御部3を制御して内容“許容”のコマン
ド3bを出力し、停止時には内容“制限”のコマンド3
bを出力する。特殊キー制御部11aは、内容“許容”
のコマンド3bを受付けた場合、キースイッチ15−10
5 に対応するキーデータ6aを出力し、内容“制限”の
コマンド3bを受付けた場合、キースイッチ15−105
に対応するキーデータ6aの出力を実施しない。
The control of the special key control section 11a is performed by a special application program. When the special application program starts, the processor 5 (FIG. 6)
Controls the keyboard control unit 3 to output the command 3b with the content “permitted”, and when stopped, the command 3b with the content “restricted”
b is output. The special key control unit 11a has the content "permissible".
Command 3b, the key switch 15-10
5 is output, and when the command 3b having the content "limit" is received, the key switch 15-105 is output.
Is not executed.

【0026】ここでは、特殊キー制御部11aがキー1
5−105 に対応するキーデータ6aの出力しない場合の
キーボード10の動作モードを汎用モードと呼び、キー
15−105 に対応するキーデータ6aを出力する場合の
キーボード10の動作モードを特殊モードと呼ぶことに
する。また、キーボード10が汎用モードに設定された
場合、プロセッサ5は、ROM4に記憶された制御プロ
グラムを参照し、特殊モードに設定された場合、RAM
7に記憶された制御プログラムを参照する。
Here, the special key control unit 11a operates the key 1
The operation mode of the keyboard 10 when the key data 6a corresponding to 5-105 is not output is called a general-purpose mode, and the operation mode of the keyboard 10 when the key data 6a corresponding to the keys 15-105 is output is called a special mode. I will. When the keyboard 10 is set to the general mode, the processor 5 refers to the control program stored in the ROM 4, and when the keyboard 10 is set to the special mode,
7 is referred to.

【0027】ここで、図8及び図9を参照しながら、本
発明のキーボード10の動作を説明する。図8は、本発
明に係るフローチャートである。汎用情報処理装置1の
電源が投入され、プロセッサ11が起動すると(ステッ
プS21)、特殊キー制御部11aは、キーボード10
の動作モードを汎用モードに設定する(ステップS2
2)。
Here, the operation of the keyboard 10 of the present invention will be described with reference to FIGS. FIG. 8 is a flowchart according to the present invention. When the power of the general-purpose information processing apparatus 1 is turned on and the processor 11 is started (step S21), the special key control unit 11a
Is set to the general-purpose mode (step S2).
2).

【0028】その後、プロセッサ11は、キースイッチ
群制御回路14がキーの押下を検出したか否かを判断し
(ステップS23)、結果がNOの場合、上位装置通信
制御回路16が上位装置(キーボード制御回路3)から
のコマンドを受信したか否かを判断すプ(ステップS2
4)。ステップS24の結果がNOの場合、再びステッ
プS23に戻る。
Thereafter, the processor 11 determines whether or not the key switch group control circuit 14 has detected a key press (step S23). If the result is NO, the host device communication control circuit 16 sends the host device (keyboard). A step for determining whether a command from the control circuit 3) has been received (step S2)
4). If the result of step S24 is NO, the process returns to step S23 again.

【0029】ステップS24の結果がYESの場合、特
殊モードを設定するコマンドか否かを判断する(ステッ
プS25)。ステップS25の結果がYESの場合、特
殊キー制御部11aは、特殊モードの設定を行ない(ス
テップS26)、ステップS23に戻る。
If the result of step S24 is YES, it is determined whether the command is a command for setting a special mode (step S25). If the result of step S25 is YES, the special key control unit 11a sets a special mode (step S26), and returns to step S23.

【0030】ステップS23の結果がYESの場合、プ
ロセッサ11は、特殊キー(キー15−105 )の押下か
否かを判断する(ステップS27)。ステップS27の
結果がYESの場合、プロセッサ11は、キーボード1
0の動作モードが特殊モードに設定されているか否かを
判断する(ステップS28)。ステップS28の結果が
YESの場合、プロセッサ11は、上位装置通信制御回
路16を駆動し、キー15−105 に対応するキーデータ
6aを上位装置に向けて出力し(ステップS29)、ス
テップS24に移る。
If the result of step S23 is YES, the processor 11 determines whether or not a special key (key 15-105) has been pressed (step S27). If the result of step S27 is YES, the processor 11
It is determined whether the 0 operation mode is set to the special mode (step S28). If the result of step S28 is YES, the processor 11 drives the host device communication control circuit 16, outputs the key data 6a corresponding to the key 15-105 to the host device (step S29), and proceeds to step S24. .

【0031】ステップS27の結果がNOの場合、押下
されたキーがキー5−105 以外のキーであるため、無条
件にステップS29を実施し、対応するキーデータ6a
を出力する。また、ステップS28の結果がNOの場合
は、キーボード10の動作モードが汎用モードに設定さ
れているため、キー5-105の押下に対応するキーデータ
6aの出力を実施することなく、ステップS24に移
る。
If the result of step S27 is NO, since the pressed key is a key other than the key 5-105, step S29 is executed unconditionally and the corresponding key data 6a
Is output. If the result of step S28 is NO, since the operation mode of the keyboard 10 is set to the general-purpose mode, the key data 6a corresponding to the pressing of the key 5-105 is not output, and the process proceeds to step S24. Move on.

【0032】さて、ステップS25の結果がNOの場
合、コマンドが汎用モードの設定を指示しているか否か
を判断する(ステップS30)。ステップS30の結果
がYESの場合、特殊キー制御部11aは、キーボード
10の動作モードを汎用モードに設定し(ステップS3
1)、ステップS23に戻る。ステップS30の結果が
NOの場合、コマンドの内容がパイロットランプのON
/OFF制御の指示であるため、この制御を実施し(ス
テップS32)、ステップS23に戻る。
If the result of step S25 is NO, it is determined whether or not the command instructs the setting of the general-purpose mode (step S30). If the result of step S30 is YES, the special key control unit 11a sets the operation mode of the keyboard 10 to the general-purpose mode (step S3).
1) Return to step S23. If the result of step S30 is NO, the content of the command is ON of the pilot lamp.
Since this is an instruction for / OFF control, this control is performed (step S32), and the process returns to step S23.

【0033】次に、図9は、本発明に係るシーケンスチ
ャートである。図中左側は、上位装置(プロセッサ5,
キーボード制御部3)の動作を示す、右側は、キーボー
ド10の動作を示す。まず、電源が投入されると、プロ
セッサ5は、ROM4を参照する動作環境を設定し(ス
テップS31)、キーボード10は、汎用モードの設定
を行なう(ステップS32) キーボード10は、キー15−105 以外のキーデータ
(汎用キーデータ)のみを上位装置に向けて出力するこ
とになる(ステップS33)。
FIG. 9 is a sequence chart according to the present invention. The left side of the figure shows the host device (processor 5, processor 5,
The right side showing the operation of the keyboard control unit 3) shows the operation of the keyboard 10. First, when the power is turned on, the processor 5 sets an operating environment referring to the ROM 4 (step S31), and the keyboard 10 sets a general-purpose mode (step S32). Only the key data (general-purpose key data) is output to the host device (step S33).

【0034】上位装置において、特殊業務用の特殊アプ
リケーションプログラムが起動すると(ステップS3
4)、キーボード10に対して特殊モードの設定を指示
するコマンドを発行する(ステップS35)。この際プ
ロセッサ5は、ROM4の参照を中止し、RAM7を参
照する動作環境を設定する。キーボード10は、特殊モ
ードの設定を行ない、汎用キーデータの他に、キーデー
タ15−105 のキーデータ(特殊キーデータ)の出力も
合わせて実施する(ステップS36)。
When a special application program for a special service is started in the host device (step S3).
4) A command for instructing the setting of the special mode is issued to the keyboard 10 (step S35). At this time, the processor 5 stops referring to the ROM 4 and sets an operating environment for referring to the RAM 7. The keyboard 10 sets the special mode and outputs the key data (special key data) of the key data 15 to 105 in addition to the general-purpose key data (step S36).

【0035】その後、上位装置が特殊アプリケーション
プログラムを終了させる場合(ステップS37)、キー
ボード10に対して汎用モードの設定を指示するコマン
ドを発行する(ステップS38)。この際プロセッサ5
は、RAM7の参照を中止し、ROM4を参照する動作
環境を設定する。キーボード10は、汎用モードの設定
を行ない、再び、汎用キーデータのみを上位装置に向け
て出力することになる(ステップS39)。
Thereafter, when the host device terminates the special application program (step S37), it issues a command for setting the general-purpose mode to the keyboard 10 (step S38). At this time, the processor 5
Stops the reference to the RAM 7 and sets an operating environment for referring to the ROM 4. The keyboard 10 sets the general-purpose mode, and outputs only the general-purpose key data again to the host device (step S39).

【0036】以上の説明のように、上位装置上で起動し
たアプリケーションプログラムの内容に応じて、キーボ
ード10側で、キーデータ6aの出力を制限し、アプリ
ケーションプログラムが誤認識するキーデータ6aを出
力する事態を回避する。
As described above, the keyboard 10 limits the output of the key data 6a in accordance with the contents of the application program started on the host device, and outputs the key data 6a that the application program recognizes incorrectly. Avoid the situation.

【0037】[0037]

【発明の効果】以上説明したように、本発明のキーボー
ドによると、動作するアプリケーションプログラムに応
じて、キーボードから出力するキーデータを制限するた
め、アプリケーションプログラムによるキーデータの誤
認識を防止することができ、特定のアプリケーションプ
ログラムのみが認識可能なキーをキーボードに搭載した
状態で、汎用的なキーボードの基で動作させることを想
定した一般のアプリケーションプログラムを支障なく動
作させることができる。
As described above, according to the keyboard of the present invention, the key data output from the keyboard is restricted according to the operating application program, so that erroneous recognition of the key data by the application program can be prevented. It is possible to operate a general application program supposed to operate on a general-purpose keyboard in a state where keys that can be recognized only by a specific application program are mounted on the keyboard.

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

【図1】本発明のキーボード制御装置の概念図である。FIG. 1 is a conceptual diagram of a keyboard control device of the present invention.

【図2】汎用情報処理装置の概念図である。FIG. 2 is a conceptual diagram of a general-purpose information processing device.

【図3】キーボードのキー配置図である。FIG. 3 is a key layout diagram of a keyboard.

【図4】従来のキー入力処理のフローチャートである。FIG. 4 is a flowchart of a conventional key input process.

【図5】特殊キーボードのキー配置図である。FIG. 5 is a key layout diagram of a special keyboard.

【図6】特殊業務に対応する汎用情報処理装置の概念図
である。
FIG. 6 is a conceptual diagram of a general-purpose information processing apparatus corresponding to a special task.

【図7】特殊業務に対応する従来のキー入力処理のフロ
ーチャートである。
FIG. 7 is a flowchart of a conventional key input process corresponding to a special task.

【図8】本発明に係るフローチャートである。FIG. 8 is a flowchart according to the present invention.

【図9】本発明に係るシーケンスチャートである。FIG. 9 is a sequence chart according to the present invention.

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

11 プロセッサ(CPU) 11a 特殊キー制御部 12 ROM 13 RAM 14 キースイッチ群制御回路 15 キースイッチ群 16 上位装置通信制御回路 Reference Signs List 11 processor (CPU) 11a special key control unit 12 ROM 13 RAM 14 key switch group control circuit 15 key switch group 16 host device communication control circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位装置に接続され、汎用キーと特殊キ
ーとを有し、押下されたキーのキーデータを上位装置に
出力するキーボードにおいて、 汎用モードに設定し、汎用モードに設定されている間
は、特殊キーが押下されてもそのキーデータを上位装置
に押下せず、押下された汎用キーのキーデータのみを上
位装置に出力し、 上位装置から特殊キーの出力を許容するコマンドを入力
したときに汎用モードから特殊モードに切り替え、特殊
モードに設定されている間は、押下された汎用キー、又
は特殊キーのキーデータを上位装置に出力し、 上位装置から特殊キーの出力を制限するコマンドを入力
したときに特殊モードから汎用モードに切り替える制御
部を設けたことを特徴とするキーボード。
A general key and a special key connected to a host device.
Key data of the pressed key is sent to the host device.
Set the general-purpose mode on the output keyboard, and while the general-purpose mode is set
Indicates that even if a special key is pressed,
Key data of the pressed general key
Command to allow output of special keys from the host device
Switch from general mode to special mode when
While the mode is set, the general-purpose key pressed or
Outputs the key data of the special key to the host device and inputs a command to restrict the output of the special key from the host device
Control to switch from special mode to general mode when
Keyboard provided with a part.
JP4121442A 1992-04-15 1992-04-15 keyboard Expired - Fee Related JP2787523B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4121442A JP2787523B2 (en) 1992-04-15 1992-04-15 keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4121442A JP2787523B2 (en) 1992-04-15 1992-04-15 keyboard

Publications (2)

Publication Number Publication Date
JPH05298002A JPH05298002A (en) 1993-11-12
JP2787523B2 true JP2787523B2 (en) 1998-08-20

Family

ID=14811246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4121442A Expired - Fee Related JP2787523B2 (en) 1992-04-15 1992-04-15 keyboard

Country Status (1)

Country Link
JP (1) JP2787523B2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990079913A (en) * 1998-04-10 1999-11-05 구자홍 Shortcut function device of computer and its control method
US20080168478A1 (en) 2007-01-07 2008-07-10 Andrew Platzer Application Programming Interfaces for Scrolling
US20080168402A1 (en) 2007-01-07 2008-07-10 Christopher Blumenberg Application Programming Interfaces for Gesture Operations
US7844915B2 (en) 2007-01-07 2010-11-30 Apple Inc. Application programming interfaces for scrolling operations
US8717305B2 (en) 2008-03-04 2014-05-06 Apple Inc. Touch event model for web pages
US8645827B2 (en) 2008-03-04 2014-02-04 Apple Inc. Touch event model
US8416196B2 (en) 2008-03-04 2013-04-09 Apple Inc. Touch event model programming interface
US9311112B2 (en) 2009-03-16 2016-04-12 Apple Inc. Event recognition
US8566045B2 (en) 2009-03-16 2013-10-22 Apple Inc. Event recognition
US9684521B2 (en) 2010-01-26 2017-06-20 Apple Inc. Systems having discrete and continuous gesture recognizers
US8285499B2 (en) 2009-03-16 2012-10-09 Apple Inc. Event recognition
US8552999B2 (en) 2010-06-14 2013-10-08 Apple Inc. Control selection approximation
US9298363B2 (en) 2011-04-11 2016-03-29 Apple Inc. Region activation for touch sensitive surface
US9733716B2 (en) 2013-06-09 2017-08-15 Apple Inc. Proxy gesture recognizer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03198118A (en) * 1989-12-27 1991-08-29 Toshiba Corp Keyboard device

Also Published As

Publication number Publication date
JPH05298002A (en) 1993-11-12

Similar Documents

Publication Publication Date Title
JP2787523B2 (en) keyboard
JP3814535B2 (en) Input device
KR100342021B1 (en) Remote controlled computer system and method of operating the same
US5412761A (en) Architecture and method for supporting enable/disable of printer panel switching by a host computer
JPH04367924A (en) Keyboard controller
JPH05173524A (en) Lcd/crt switching system
KR100418344B1 (en) Operation Control Method in Exchange System
JP2543256B2 (en) Input panel surface switching processing method
JPH08249277A (en) Computer system of input/output device sharing type
JPH06161624A (en) Interruption controlling method
KR100443980B1 (en) Computer system and ps/2 line using method thereof
KR940020205A (en) Monitor that can communicate with personal computer and its control method
JP2937641B2 (en) Communication method between application programs
JPH05224894A (en) Switching system for os
KR20000015017A (en) Apparatus and method of a special function operating for a keyboard
JPH09258869A (en) Keyboard device
JPH02178864A (en) Ipl processing system
KR20080105340A (en) A terminal of touch input type and method for treating a touch input
JPH01241616A (en) Printing device
JPH06149499A (en) Device and method for printing
JPH0561811A (en) Interruption control system and information processing system
JPH04260970A (en) Method for inputting japanese language in application program
JPS62113224A (en) Keyboard data input device
JPH0417540B2 (en)
JP2000056909A (en) Keyboard for personal computer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees