JP2000056909A - Keyboard for personal computer - Google Patents

Keyboard for personal computer

Info

Publication number
JP2000056909A
JP2000056909A JP10227329A JP22732998A JP2000056909A JP 2000056909 A JP2000056909 A JP 2000056909A JP 10227329 A JP10227329 A JP 10227329A JP 22732998 A JP22732998 A JP 22732998A JP 2000056909 A JP2000056909 A JP 2000056909A
Authority
JP
Japan
Prior art keywords
key
keyboard
input
mode
indicator
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.)
Granted
Application number
JP10227329A
Other languages
Japanese (ja)
Other versions
JP3526759B2 (en
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 JP22732998A priority Critical patent/JP3526759B2/en
Publication of JP2000056909A publication Critical patent/JP2000056909A/en
Application granted granted Critical
Publication of JP3526759B2 publication Critical patent/JP3526759B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable the keyboard to be used by initializing its key input mode at power-on time into a desired state by sending out a signal indicating specific key input to a PC(personal computer) when the specific key input is not detected and a specific display command is received from the PC. SOLUTION: When the specific key input is not detected, it is decided whether or not an indicator display command from the PC is effective (S41). When so, it is decided whether or not it is the turn-on command of a NumLock indicator (S43) and when so, it is decided whether or not a NumLock depression flag is already set (S46) while an LED is turned on (S45). Thus, a NumLock key code is stored in a key data sending buffer (S47) so that NumLock key depression data are sent out to the PC when the NumLock indicator turn-on command is received while the NumLock key is not pressed yet after the power source is turned on.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はキーボード、特に、
パーソナルコンピュータに用いられるキーボードに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard,
The present invention relates to a keyboard used for a personal computer.

【0002】[0002]

【従来の技術】一般に、パーソナルコンピュータ(以
下、PCと称する)等に使用されるキーボード(KB)
は、ANK(アルファベット、数字、カナ)キー、ファ
ンクション(Fn)キー、更に『SHIFT』キーや
『CTRL』キーなどの併用キー(そのキー自身はキー
入力に関与しないが他のキーに影響を及ぼすキー)がそ
の用途に応じて配列されている。標準的なPCの分野で
は、101キーボード(以下、101KBと称する)や
106キーボード(以下、106KBと称する)など、
いわゆるフルキーボードと呼ばれるキーボードが用いら
れている。
2. Description of the Related Art Generally, a keyboard (KB) used for a personal computer (hereinafter, referred to as a PC) or the like.
Is a combination key such as an ANK (alphabet, numeral, kana) key, function (Fn) key, and a "SHIFT" key or a "CTRL" key (the key itself does not affect key input but affects other keys) Keys) are arranged according to the application. In the field of standard PCs, there are 101 keyboards (hereinafter, referred to as 101 KB), 106 keyboards (hereinafter, referred to as 106 KB), and the like.
A keyboard called a so-called full keyboard is used.

【0003】図1は、106KBのキー配列を示してお
り、2はANK部、4はSHIFTキー、5はCTRL
キー、6はファンクションキーである。一般に、フルキ
ーボードにおいては上記キー群に加え、更にテンキーパ
ッド部8が独立した形で形成されている。図2は、10
6KBにおけるテンキーパッド部の配列を示している。
図に示されているように、テンキーパッド部のキーには
1つのキーに対し2種類の刻印が施されている。一つは
数字であり、もう一つは数字の下の矢印など(以下、カ
ーソルと称する)の刻印である。これら2種類の刻印
は、各キーが2種類の機能を有していることを示してい
る。すなわち、Num Lockキー9など所定のキーの押下/
開放動作(以下、単にキーの押下げと称する)によるキ
ー入力に応じて、入力モードの設定及び解除を交互に行
い、関連するキーの機能を切替えるようになっている。
具体的には、数字固定入力モードの状態を表示するNum
Lockインジケータが点灯中(オン状態)に該キーを押下
げると数字キーとして機能し、Num Lockインジケータが
消灯中(オフ状態)に押下げるとカーソルキーとして機
能するようになっている。Num Lockインジケータの点灯
/消灯の切替えは、Num Lockキーの押下げをトリガとし
て上位装置(PC)からのインジケータ点灯/消灯コマ
ンドを受信して行われる。
FIG. 1 shows a key arrangement of 106 KB, 2 is an ANK part, 4 is a SHIFT key, and 5 is a CTRL key.
The key 6 is a function key. Generally, in a full keyboard, in addition to the above key group, a ten-key pad portion 8 is formed in an independent form. FIG.
6 shows an arrangement of a numeric keypad portion in 6 KB.
As shown in the drawing, the keys of the numeric keypad are provided with two types of inscriptions for one key. One is a numeral, and the other is an engraved mark such as an arrow below the numeral (hereinafter referred to as a cursor). These two types of markings indicate that each key has two types of functions. That is, pressing a predetermined key such as the Num Lock key 9 /
In response to a key input by an opening operation (hereinafter simply referred to as key depression), an input mode is alternately set and released, and the function of a related key is switched.
Specifically, Num displays the status of the fixed number input mode.
When the key is pressed while the Lock indicator is on (on), the key functions as a numeric key, and when the Num Lock indicator is pressed off (off), it functions as a cursor key. Switching of the ON / OFF state of the Num Lock indicator is performed by receiving an indicator ON / OFF command from a higher-level device (PC) using a depression of the Num Lock key as a trigger.

【0004】図3は、入力モードの切替え、及びNum Lo
ckインジケータの点灯/消灯についての動作を示してい
る。まず、数字固定入力モードが設定されている状態、
すなわちPCの数字固定入力モードがオン(ON)、キ
ーボードのNum Lockインジケータが点灯している状態に
おいて、Num Lockキーが押下げられると()、キーボ
ードはNum Lockキー押下げデータをPCに送出する
()。PCはこの押下げデータを受信すると、Num Lo
ckインジケータの消灯コマンドをキーボードに対し送信
する()。キーボードはこのコマンドを受信すると正
常に受信(処理)したことを示すACK(Acknowledg
e)を返信する()と共に、そのコマンドに従いイン
ジケータを消灯させる。一方、ACK信号を受信したP
Cは数字固定入力モードが解除されている状態(オフ状
態)としてキーボードから送信された信号を認識する。
FIG. 3 shows switching of input mode and Num Lo.
The operation for turning on / off the ck indicator is shown. First, the state where the fixed number input mode is set,
That is, when the Num Lock key is pressed in a state where the PC fixed number input mode is ON (ON) and the Num Lock indicator of the keyboard is lit (), the keyboard sends the Num Lock key pressed data to the PC. (). When the PC receives this push-down data, the PC receives Num Lo
A command to turn off the ck indicator is sent to the keyboard (). Upon receiving this command, the keyboard receives an ACK (Acknowledg) indicating that the command has been normally received (processed).
e) Return (), and turn off the indicator according to the command. On the other hand, P
C recognizes a signal transmitted from the keyboard as a state in which the fixed number input mode is released (off state).

【0005】この状態において、更にNum Lockキーが押
下げられた場合()は、同様にキーボードは押下げデ
ータをPCに送出し()、PCは前回のインジケータ
表示コマンドと反対のコマンド、すなわちインジケータ
点灯コマンドをキーボードに対し送信する()。キー
ボードは、このコマンドを正常に受信(処理)したこと
を示すACK信号を返信する()と共にインジケータ
を点灯させる。
In this state, if the Num Lock key is further depressed (), the keyboard similarly sends depressed data to the PC (), and the PC issues a command opposite to the previous indicator display command, that is, the indicator. Send a lighting command to the keyboard (). The keyboard returns an ACK signal indicating that the command has been normally received (processed) (), and turns on the indicator.

【0006】以上のように、Num Lockキーの押下げに対
して、PCは設定状態及び解除状態、キーボードのイン
ジケータは点灯状態及び消灯状態を交互に繰り返す。ま
た、入力モードによってその機能が切替わる関連キーの
入力においては、キーボードからPCに送出される信号
は入力モードによって変化せず、PC側でキー認識を切
替えることによって行っている。
As described above, when the Num Lock key is pressed, the PC alternately repeats the setting state and the releasing state, and the indicator of the keyboard alternately turns on and off. Further, in inputting a related key whose function is switched according to the input mode, a signal transmitted from the keyboard to the PC does not change depending on the input mode, and the key recognition is switched on the PC side.

【0007】上述においては、Num Lockモードについて
説明したが、他の入力モード切替え、例えばスクロール
モード等の切替えについても同様である。上記した10
6KBなどのフルキーボードに対して、近年は省スペー
ス性などを利点とするキー数を削減した、いわゆるスペ
ースセービングキーボードが増加している。これらスペ
ースセービングキーボードの多くはフルキーボードとの
互換性を保つために、削除したキーの機能を別のキーに
割当てて、『SHIFT』キーや『Fn』キーなどの併
押下キーとの同時押下げ(併押下げ)や動作モードの切
替えによってキーの機能を使い分けられる仕様になって
いる。
In the above description, the Num Lock mode has been described, but the same applies to other input mode switching, for example, scroll mode switching. 10 mentioned above
In recent years, so-called space-saving keyboards, which have a reduced number of keys that take advantage of space saving and the like as compared to full keyboards such as 6 KB, have been increasing. Many of these space-saving keyboards assign the function of the deleted key to another key in order to maintain compatibility with the full keyboard, and simultaneously depress the same key as the "SHIFT" key or "Fn" key. It is designed so that the function of the key can be used properly by switching (both pressing down) and the operation mode.

【0008】図4に、スペースセービングキーボード1
1の配列の一例を示す。このキーボードの場合、106
KBのテンキーパッド部のうち、数字機能をANK部1
3のキーに割当ててキーの削減を図っている。例えば、
「J(1)」,「K(2)」,「L(3)」等であり、
前記Num Lockインジケータ点灯/消灯コマンドの切替え
によりアルファベット及び数字の機能を切替えるように
なっている。従って、キーの種類としては106KBと
同数を有し、互換性を保つ構成としている。
FIG. 4 shows a space saving keyboard 1.
1 shows an example of the array of 1. For this keyboard, 106
In the numeric keypad section of the KB, the ANK section 1
Key 3 is assigned to reduce the number of keys. For example,
"J (1)", "K (2)", "L (3)", etc.
By switching the Num Lock indicator ON / OFF command, the function of alphabets and numerals is switched. Therefore, the number of types of keys is the same as 106 KB, and compatibility is maintained.

【0009】前述したように、106KBにおけるテン
キーパッド部は数字キーとカーソルキーの2種類の機能
を有し、この入力モード切替えは、使用者による所定の
切替えキー入力をトリガとして、上位装置(PC)にお
ける入力モードの設定状態とキーボードの表示状態を一
致させるようになされるが、本スペースセービングキー
ボードにおいてはテンキーパッド部とANK部の切替え
に使用される。すなわち、Num Lockインジケータ点灯中
はテンキーパッド、消灯中はANK部として機能する。
PCの電源投入時において、Num Lockモードを設定状態
とするか解除状態とするかの初期化(イニシャライズ)
はPCの機種等により異なっているが、数字キー機能を
優先してNum Lockモードを設定状態とするPCも多い。
As described above, the numeric keypad section of the 106 KB has two kinds of functions of a numeric key and a cursor key, and the input mode is switched by a predetermined switch key input by the user as a trigger. The input mode setting state and the display state of the keyboard in (1) are made to coincide with each other. However, this space saving keyboard is used for switching between the numeric keypad section and the ANK section. That is, it functions as a numeric keypad when the Num Lock indicator is on, and as an ANK section when it is off.
Initialization of whether the Num Lock mode is set or released when the PC is powered on (initialization)
Although it differs depending on the type of PC, etc., there are many PCs in which the Num Lock mode is set with priority on the numeric key function.

【0010】一方、スペースセービングキーボードの場
合では、PCの電源投入時にNum Lockモードが設定状態
(インジケータは点灯状態)であると、数字機能を割当
てられたキーが数字キーとして機能してしまい非常に操
作性が悪い。つまり、数字機能がANK部のキーに割当
てられているため、電源投入後の操作を開始する時点で
ANK部にアルファベットと数字を表すキーが混在して
いるからである。これを避けるには、電源投入後にNum
Lockキー入力を行い、Num Lockモードを解除(インジケ
ータを消灯)する必要があるが、図4に示したキーボー
ドの場合ではNum Lockキーはファンクションキー(Fn
キー)との併押下処理が必要であり面倒であった。
On the other hand, in the case of the space saving keyboard, if the Num Lock mode is set (the indicator is lit) when the PC is turned on, the keys assigned with the numeric functions function as numeric keys. Poor operability. That is, since the numeric function is assigned to the key of the ANK section, the keys indicating the alphabet and the number are mixed in the ANK section at the time of starting the operation after the power is turned on. To avoid this, Num
It is necessary to input the Lock key to release the Num Lock mode (turn off the indicator). In the case of the keyboard shown in FIG. 4, the Num Lock key is a function key (Fn
Key) and the pressing process is necessary, which is troublesome.

【0011】また、Num Lockモードの電源投入時の設定
は一般的にPC側のBIOS(Basic Input/Output Sys
tem:OSとソフトの間でデータの受け渡しを制御する
基本ソフト)により制御が可能である。しかしながら、
BIOSの設定はその操作を誤るとPCの動作そのもの
に影響を及ぼしてしまい、最悪の場合PCが動作不能に
なるなど、PCに不慣れな使用者にとっては非常に困難
である。
In general, the setting at power-on of the Num Lock mode is generally performed by a basic input / output system (BIOS) on the PC side.
tem: basic software for controlling the transfer of data between the OS and the software). However,
If the BIOS setting is incorrectly operated, it affects the operation of the PC itself, and in the worst case, the PC becomes inoperable. For example, it is very difficult for a user unfamiliar with the PC.

【0012】従って、電源投入時のキー入力モードの設
定、又は解除はPC側のイニシャライズによって決めら
れており、キーボード側で決定、選択することはできな
かった。
Therefore, the setting or canceling of the key input mode at the time of turning on the power is determined by the initialization on the PC side, and cannot be determined and selected on the keyboard side.

【0013】[0013]

【発明が解決しようとする課題】本発明はかかる点に鑑
みてなされたものであり、その目的とするところは、電
源投入時のキーの入力モードを設定状態とするか解除状
態とするかについてのパーソナルコンピュータ(PC)
のイニシャライズに拘わらず、電源投入時のキーの入力
モードを所望の状態にイニシャライズして用いることが
可能なキーボードを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the foregoing, and an object of the present invention is to determine whether a key input mode at power-on is set or released. Personal computer (PC)
It is an object of the present invention to provide a keyboard which can be used by initializing a key input mode at power-on to a desired state regardless of the initialization.

【0014】[0014]

【課題を解決するための手段】入力モードの表示コマン
ドをキーボードに対して送信し、所定のキー入力に応じ
てキーに関する入力モードの設定及び解除を交互に行う
パーソナルコンピュータ(PC)に用いられるキーボー
ドであって、所定のキー入力を検知する検知手段と、検
知手段において所定のキー入力が検知されず、かつPC
から所定の表示コマンドを受信した場合に、所定のキー
入力を表す信号をPCに送出する手段と、を有すること
を特徴としている。
A keyboard used in a personal computer (PC) that transmits a display command of an input mode to a keyboard and alternately sets and releases an input mode related to a key in response to a predetermined key input. Detecting means for detecting a predetermined key input, and detecting means for detecting the predetermined key input, and
Means for transmitting a signal indicating a predetermined key input to the PC when a predetermined display command is received from the PC.

【0015】[0015]

【実施の形態】以下に、本発明の実施の形態を図面を参
照しつつ説明する。図5は、本発明の実施例であるキー
ボードの構成の一例を示している。この実施例において
は、キーボード11は、入力操作のためのキーマトリク
ス21、キーボードの制御を行う制御装置23、メモリ
24、キーマトリクススキャンを行うキースキャン処理
装置26、PC27へのキー信号送出及びPC27との
通信を行う通信装置28、送受信するデータを一時格納
するバッファ29を有している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 5 shows an example of the configuration of a keyboard according to an embodiment of the present invention. In this embodiment, the keyboard 11 includes a key matrix 21 for input operation, a control device 23 for controlling the keyboard, a memory 24, a key scan processing device 26 for performing key matrix scan, a key signal transmission to the PC 27, and a PC 27. And a buffer 29 for temporarily storing data to be transmitted and received.

【0016】図6は、本発明の第1の実施例であるキー
ボード11とPC27の動作のシーケンスを説明する図
である。以下では、電源投入時のBIOS設定がNum Lo
ckモード設定(オン状態)となっているPCの場合を例
に説明する。まず電源投入後、PC27とキーボードは
互いに認識すべくイニシャル処理を行う。次に、PC2
7はBIOS設定に基づき、Num Lockインジケータ点灯
コマンドをキーボードに対して発行する。これに対し
て、キーボード11はACK信号をPCに送出し、同時
にインジケータ17を点灯させる。本実施例では、この
後、Num Lockキー押下げ信号をPCに対して発行し、P
CのNum Lockを設定状態とし、同時にインジケータ17
を消灯させ、Num Lock解除状態にしている。制御部23
は、電源投入時のNum Lockモードを解除するためにのみ
上記の処理を実行する。図7は、Num Lockキー押下げ、
Num Lockモード、及び押下げフラグの関係を説明する図
である。電源投入後Num Lockキーが押下げされない限り
Num押下げフラグはクリア状態であり、Num Lockキーの
押下げが一度検出されるとセットされその状態はNum Lo
ckキーが開放されても保持される。
FIG. 6 is a diagram for explaining the operation sequence of the keyboard 11 and the PC 27 according to the first embodiment of the present invention. In the following, the BIOS setting at power-on is Num Lo
A case where the PC is in the ck mode setting (on state) will be described as an example. First, after the power is turned on, the PC 27 and the keyboard perform initial processing to recognize each other. Next, PC2
7 issues a Num Lock indicator lighting command to the keyboard based on the BIOS setting. On the other hand, the keyboard 11 sends an ACK signal to the PC, and simultaneously turns on the indicator 17. In the present embodiment, thereafter, a Num Lock key press signal is issued to the PC, and P
Set Num Lock of C to the set state, and
Is turned off and Num Lock is released. Control unit 23
Executes the above processing only to release the Num Lock mode at power-on. Figure 7 shows the Num Lock key pressed,
FIG. 4 is a diagram illustrating a relationship between a Num Lock mode and a push-down flag. Unless the Num Lock key is depressed after power on
The Num push-down flag is in the clear state.
The ck key is maintained even if released.

【0017】以下に、図8−10のフローチャートを参
照しつつ、制御部23の実行する電源投入時におけるNu
m Lockモード解除の制御ルーチンについて詳細に説明す
る。なお、上記においてはハードウエアの構成として説
明したが、実際はワンチップにIC化されたマイクロコ
ンピュータとして、あるいはマイクロコンピュータのソ
フトウエア等として実現するのが容易である。
Hereinafter, referring to the flowcharts of FIGS. 8-10, Nu at the time of power-on executed by the control unit 23 will be described.
The control routine for releasing the m Lock mode will be described in detail. Although the above description has been given as a hardware configuration, in actuality, it is easy to realize as a microcomputer integrated into one chip or as software of the microcomputer.

【0018】図8において、まず、電源投入後におい
て、キーボードとPCは正常に接続されていることをお
互いに認識すべくイニシャル処理を行う(ステップS
1)。一般に、イニシャル処理にはキーボードに対する
リセットコマンドやキーボードのIDを確認するリード
IDコマンドなどが含まれている。そして各種イニシャ
ル処理が正常に終了すると、制御部23は、PCから送
信されたNum Lockインジケータ表示コマンドが点灯コマ
ンドか否か判別する(ステップS2)。点灯コマンドで
ない場合は、このNum Lockモード解除ルーチンを終了し
通常の制御に戻る。他方、受信コマンドが点灯コマンド
であった場合は、制御部23はNum Lockキーの押下げを
示すフラグがセットされているか否かを判別する(ステ
ップS3)。既にフラグがセットされていた場合は、こ
の制御ルーチンを終了する。他方、まだフラグがセット
されていない場合は、制御部23は押下げ検知(キース
キャン)ルーチンを呼び、Num Lockキーが押下げられて
いないか検知する(ステップS4)。この押下げ検知
(キースキャン)ルーチンのフローについては後に詳述
する。
In FIG. 8, after the power is turned on, initial processing is performed to recognize that the keyboard and the PC are normally connected to each other (step S).
1). Generally, the initial processing includes a reset command for the keyboard, a read ID command for confirming the ID of the keyboard, and the like. When the various initial processes are completed normally, the control unit 23 determines whether the Num Lock indicator display command transmitted from the PC is a lighting command (step S2). If it is not a lighting command, the Num Lock mode release routine is terminated and the control returns to normal control. On the other hand, if the received command is a lighting command, the control unit 23 determines whether a flag indicating that the Num Lock key has been pressed is set (step S3). If the flag has already been set, this control routine ends. On the other hand, if the flag has not been set, the control unit 23 calls a press-down detection (key scan) routine, and detects whether the Num Lock key has been pressed (step S4). The flow of the depression detection (key scan) routine will be described later in detail.

【0019】押下げ検知(キースキャン)ルーチンの処
理の結果、モードインジケータ処理ルーチンを呼び(ス
テップS5)、PCからのモード表示コマンドの処理を
実行する。このモードインジケータ処理ルーチンのフロ
ーについては後に詳述する。モードインジケータ処理ル
ーチン処理が終了の後、制御部23はACK信号をPC
に返信する(ステップS6)。
As a result of the processing of the depression detection (key scan) routine, the mode indicator processing routine is called (step S5), and the processing of the mode display command from the PC is executed. The flow of this mode indicator processing routine will be described later in detail. After the mode indicator processing routine is completed, the control unit 23 outputs the ACK signal to the PC.
(Step S6).

【0020】次に、制御部23は、Num Lockモードを解
除するための処理を実行する。つまり、まずNum Lockキ
ーが押下げられた場合と同じ信号(Num Lockキー押下げ
信号)をPCに送信する指令を行う(ステップS7)。
制御部23は、この送信した信号に応答したPCが送信
するNum Lockインジケータ消灯コマンドを取り込む(ス
テップS8)。制御部23は、インジケータ消灯コマン
ドを受信すると、モードインジケータ処理ルーチンを呼
び(ステップS9)、インジケータを消灯させる。モー
ドインジケータ処理ルーチン処理が終了の後、制御部2
3はACK信号をPCに返信し(ステップS10)、こ
の制御ルーチンを終了する。
Next, the control unit 23 executes a process for releasing the Num Lock mode. That is, first, a command to transmit the same signal as when the Num Lock key is pressed (Num Lock key pressing signal) to the PC is issued (step S7).
The control unit 23 receives a Num Lock indicator extinguish command transmitted by the PC in response to the transmitted signal (step S8). When receiving the indicator extinguishing command, the control unit 23 calls a mode indicator processing routine (step S9), and extinguishes the indicator. After the mode indicator processing routine is completed, the control unit 2
3 returns an ACK signal to the PC (step S10), and terminates this control routine.

【0021】以下に、図9を参照しつつ、押下げ検知
(キースキャン)ルーチンのフローについて詳細に説明
する。まず、スキャンをしつつ各キーをドライブして
(ステップS21)、各キーの状態を読み取る(ステッ
プS22)。読み取り後、ステータスを更新する(ステ
ップS23)。なお、このキーマトリクスのスキャン
は、一度に全キーについて行ってもよいし、一部のキー
について行い次のステップS24〜29を実行後、更に
残りのキーについて同じステップを繰り返し実行して、
全キーについてのスキャンを行う手順としてもよい。
Hereinafter, the flow of the press-down detection (key scan) routine will be described in detail with reference to FIG. First, each key is driven while scanning (step S21), and the state of each key is read (step S22). After the reading, the status is updated (step S23). Note that this key matrix scan may be performed for all keys at once, or for some keys, and after performing the following steps S24 to S29, the same steps are repeatedly performed for the remaining keys.
A procedure for scanning all keys may be used.

【0022】次に、以上のステップで読み取ったキーに
ついて有効キーが有るか否かを判別する(ステップS2
4)。有効キーが無い場合はステップS29に進み、有
効キーが有る場合は、それがNum Lockキーか否かを判別
する(ステップS25)。有効キーがNum Lockキーなら
ば、既に押下げフラグがセットされているか否かを判別
し(ステップS26)、セットされていない場合はNum
Lock押下げフラグをセットする(ステップS27)。次
に、PCへの送信のためそのキーコードを格納する(ス
テップS28)。
Next, it is determined whether or not there is a valid key among the keys read in the above steps (step S2).
4). If there is no valid key, the process proceeds to step S29. If there is a valid key, it is determined whether or not it is a Num Lock key (step S25). If the valid key is the Num Lock key, it is determined whether or not the press-down flag has already been set (step S26).
A Lock depression flag is set (step S27). Next, the key code is stored for transmission to the PC (step S28).

【0023】他方、ステップS25においてNum Lockキ
ーでない場合、又はステップS26においてNum Lockキ
ーフラグがセットされていない場合はステップS28に
進み、そのキーコードを格納する。次に、ドライブレジ
スタを更新し(ステップS29)、全てのキーについて
スキャンが終了したか否かを判別する(ステップS3
0)。スキャンが終了していなければ、ステップS21
に戻り、残りのキーについてスキャンを実行し、スキャ
ンが終了していればこの押下げ検知(キースキャン)ル
ーチンを終了する。
On the other hand, if the key is not the Num Lock key in step S25, or if the Num Lock key flag is not set in step S26, the flow advances to step S28 to store the key code. Next, the drive register is updated (step S29), and it is determined whether or not scanning has been completed for all keys (step S3).
0). If the scan has not been completed, step S21
Then, the scan is executed for the remaining keys, and if the scan has been completed, the depression detection (key scan) routine is terminated.

【0024】次に、図10を参照しつつ、モードインジ
ケータ処理ルーチンのフローについて詳細に説明する。
まず、PCからのインジケータ表示コマンドが有効か否
かを判別する(ステップS41)。有効でなければエラ
ーとして、エラー処理ルーチンに制御を渡す(ステップ
S42)。有効であれば、Num Lockインジケータの点灯
コマンドであるか否かを判別する(ステップS43)。
点灯コマンドでなければ表示LED(発行ダイオード)
を消灯させる(ステップS44)。点灯コマンドの場合
は、LEDを点灯させ(ステップS45)、既にNum Lo
ck押下げフラグがセットされているか否かを判別する
(ステップS46)。フラグがセットされていない、す
なわちNum Lockキーが電源投入後未だ押下げられていな
い状態でNum Lockインジケータ点灯コマンドを受信した
場合は、Num Lockキー押下データをPCに送出すべくNu
m Lockキーコードをキーデータ送出用バッファに格納す
る(ステップS47)。以上のステップにより、モード
インジケータルーチンの処理を終了する。
Next, the flow of the mode indicator processing routine will be described in detail with reference to FIG.
First, it is determined whether or not the indicator display command from the PC is valid (step S41). If it is not valid, the control is passed to the error processing routine as an error (step S42). If it is valid, it is determined whether it is a lighting command of the Num Lock indicator (step S43).
Display LED (Issue diode) if not lighting command
Is turned off (step S44). In the case of the lighting command, the LED is turned on (step S45), and the Num Lo
It is determined whether or not the ck depression flag is set (step S46). If the flag is not set, that is, if the Num Lock key is not yet pressed down after power-on, and the Num Lock indicator lighting command is received, the Num Lock key pressing data is sent to the PC to send Num Lock key data.
The m Lock key code is stored in the key data transmission buffer (step S47). With the above steps, the processing of the mode indicator routine ends.

【0025】以上では、電源投入時のイニシャライズ
(BIOS設定)がNum Lockモード設定(オン状態)と
なっているPCの場合を例に説明したが、イニシャライ
ズがNum Lockモード解除(オフ状態)となっているPC
の場合は、図8のフローチャートで示したように、Num
Lockモード解除ルーチンではNum Lockキー押下データの
送信は行われず、解除モードでキーボードの操作が行え
る。
In the above description, a case has been described as an example of a PC in which the initialization (BIOS setting) at power-on is in the Num Lock mode setting (on state). However, the initialization is in the Num Lock mode release (off state). PC
In the case of, as shown in the flowchart of FIG.
In the Lock mode release routine, the Num Lock key press data is not transmitted, and the keyboard can be operated in the release mode.

【0026】また、上記した実施例では、PCのイニシ
ャライズに拘わらずキーの初期入力モードを解除状態と
する場合を例に説明したが、適宜、上記において「設
定」と「解除」とを、及び「点灯」と「消灯」とを読み
替えることにより、容易に初期入力モードを設定状態と
するキーボードを実現することも可能である。以上、詳
細に説明したように、本発明によれば電源投入時のキー
の入力モードを設定状態とするか解除状態とするかにつ
いてのPCのイニシャライズに拘わらず、電源投入時の
キーの入力モードを所望の状態にイニシャライズして用
いることが可能なキーボードを実現できる。
Further, in the above-described embodiment, the case where the initial input mode of the key is released regardless of the initialization of the PC has been described as an example. However, the "setting" and "release" are appropriately described above. By reading "lighting" and "lighting out", it is also possible to easily realize a keyboard in which the initial input mode is set. As described in detail above, according to the present invention, the key input mode at power-on regardless of the initialization of the PC as to whether the key input mode at power-on is set or released. Can be realized by initializing to a desired state.

【0027】図11は、本発明の第2の実施例であるキ
ーボード11とPC27の動作のシーケンスを示してい
る。本実施例が第1の実施例と異なるのは、本実施例に
おいては、Num Lockモードを解除するのは、Num Lockに
よって入力モードが切替わるキー(以下、関連キーと称
する)を電源投入後初めて押下げたときとしている点で
ある。また、以下では、電源投入時のBIOS設定がNu
m Lockモード設定(オン状態)となっているPCの場合
を例に説明する。
FIG. 11 shows an operation sequence of the keyboard 11 and the PC 27 according to the second embodiment of the present invention. The difference between the present embodiment and the first embodiment is that, in the present embodiment, the Num Lock mode is released after turning on a key (hereinafter referred to as a related key) whose input mode is switched by Num Lock. This is the point when it is depressed for the first time. In the following, the BIOS setting at power-on is Nu
An example in which the PC is in the m Lock mode setting (on state) will be described.

【0028】まず電源投入後、PC27とキーボードは
互いに認識すべくイニシャル処理を行う。次に、PC2
7はBIOS設定に基づき、Num Lockインジケータ点灯
コマンドをキーボードに対して発行する。これに対し
て、キーボード11はACK信号をPCに送出するが、
本実施例ではインジケータ17を消灯させている。すな
わち、PC27内部のNum Lockモードは設定状態(オン
状態)となっているのに対し、キーボード側(インジケ
ータ17)は見かけ上、解除状態としている。
First, after the power is turned on, the PC 27 and the keyboard perform initial processing to recognize each other. Next, PC2
7 issues a Num Lock indicator lighting command to the keyboard based on the BIOS setting. On the other hand, the keyboard 11 sends an ACK signal to the PC,
In this embodiment, the indicator 17 is turned off. That is, the Num Lock mode inside the PC 27 is in the set state (ON state), whereas the keyboard side (indicator 17) is in the apparently released state.

【0029】次に、前述のNum Lock関連キーのうちの1
つが押下げられた時点でNum Lockキーが押下げられた
(検知された)ものとみなして、Num Lockキー押下げフ
ラグを立て、Num Lockキー押下データをPCに送出す
る。PC27はこの信号に対してインジケータ消灯コマ
ンドを発行する。キーボードから返信されるACK信号
によりPC27内部のNum Lockモードは解除状態(オフ
状態)となり、この時点でキーボード11の表示とPC
27の内部状態とのずれは解消する。次に、キーボード
11は、前述の押下げられた関連キーの実際のキーコー
ド(Num Lockモードが解除状態でのキーデータ)を送信
する。Num Lockキー押下げフラグは既にセットされたの
で、これ以降キーボードは通常の操作法により使用でき
ることになる。
Next, one of the Num Lock related keys described above is used.
It is considered that the Num Lock key is depressed (detected) at the time when one is depressed, a Num Lock key depress flag is set, and the Num Lock key depressed data is transmitted to the PC. The PC 27 issues an indicator extinguish command in response to this signal. The Num Lock mode inside the PC 27 is released (off state) by the ACK signal returned from the keyboard, and the display of the keyboard 11 and the PC
The deviation from the internal state of 27 is eliminated. Next, the keyboard 11 transmits the actual key code (key data in a state where the Num Lock mode is released) of the related key that has been depressed. The Num Lock key down flag has already been set, so the keyboard can now be used in the normal way.

【0030】また、本実施例の場合においても、第1の
実施例と同様にイニシャライズがNum Lockモード解除
(オフ状態)となっているPCの場合においても、容易
に解除モードでキーボードの操作を行えるようにするこ
とが可能である。また、上記した実施例では、PCのイ
ニシャライズに拘わらずキーの初期入力モードを解除状
態とする場合を例に説明したが、第1の実施例の場合と
同様に、容易に初期入力モードを設定状態とするキーボ
ードを実現することも可能である。上記した本実施例に
おいては、スペースセービングキーボードでの電源投入
時の Num Lock の設定及び解除の場合について説明した
が、例えばフルキーボードにおいても適用可能である。
また、Num Lockキーに限らず、その他の入力モード設定
についても適用が可能である。
Also in the case of this embodiment, even in the case of a PC whose initialization has been released from the Num Lock mode (off state) as in the first embodiment, it is easy to operate the keyboard in the release mode. It is possible to do it. Further, in the above-described embodiment, the case where the initial input mode of the key is released regardless of the initialization of the PC has been described as an example. However, as in the first embodiment, the initial input mode can be easily set. It is also possible to realize a keyboard that sets a state. In the above-described embodiment, the case where the Num Lock is set and released when the power is turned on with the space saving keyboard has been described. However, the present invention can be applied to, for example, a full keyboard.
Further, the present invention is not limited to the Num Lock key, and can be applied to other input mode settings.

【0031】[0031]

【発明の効果】従って上記したように、本発明によれ
ば、電源投入時のキーの入力モードを設定状態とするか
解除状態とするかについてのパーソナルコンピュータ
(PC)のイニシャライズに拘わらず、電源投入時のキ
ーの入力モードを所望の状態にイニシャライズして用い
ることが可能なキーボードを提供する。
As described above, according to the present invention, regardless of whether the personal computer (PC) is initialized or not, whether the key input mode at power-on is set or released. Provided is a keyboard that can be used by initializing a key input mode at the time of input to a desired state.

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

【図1】106KBのキー配列を示す図である。FIG. 1 is a diagram showing a key arrangement of 106 KB.

【図2】106KBのテンキーパッド部の配列を示す図
である。
FIG. 2 is a diagram showing an arrangement of a 106-KB numeric keypad unit.

【図3】入力モードの切替え、Num Lockインジケータの
点灯/消灯の動作を説明する図である。
FIG. 3 is a diagram illustrating an operation of switching input modes and turning on / off a Num Lock indicator.

【図4】スペースセービングキーボード11の配列の一
例を示す図である。
FIG. 4 is a diagram showing an example of an arrangement of a space saving keyboard 11;

【図5】本発明の実施例であるキーボードの構成の一例
を示す図である。
FIG. 5 is a diagram illustrating an example of a configuration of a keyboard according to an embodiment of the present invention.

【図6】本発明の第1の実施例であるキーボードの動作
のシーケンスを説明する図である。
FIG. 6 is a diagram illustrating a sequence of an operation of the keyboard according to the first embodiment of the present invention.

【図7】Num Lockキー押下げ、Num Lockモード、及び押
下げフラグの関係を説明する図である。
FIG. 7 is a diagram illustrating a relationship between a Num Lock key press, a Num Lock mode, and a press flag.

【図8】本発明において、制御部23の実行するNum Lo
ckモード解除ルーチンのフローチャートである。
FIG. 8 is a diagram illustrating the operation of Num Lo executed by the control unit 23 according to the present invention.
It is a flowchart of a ck mode release routine.

【図9】押下げ検知(キースキャン)ルーチンのフロー
チャートである。
FIG. 9 is a flowchart of a depression detection (key scan) routine.

【図10】モードインジケータ処理ルーチンのフローチ
ャートである。
FIG. 10 is a flowchart of a mode indicator processing routine.

【図11】本発明の第2の実施例であるキーボードの動
作のシーケンスを説明する図である。
FIG. 11 is a diagram illustrating a sequence of operation of the keyboard according to the second embodiment of the present invention.

【主要部分の符号の説明】[Explanation of Signs of Main Parts]

11 キーボード 21 キーマトリクス 23 制御装置 24 メモリ 26 キースキャン処理装置 27 PC 28 通信装置 29 バッファ Reference Signs List 11 keyboard 21 key matrix 23 control device 24 memory 26 key scan processing device 27 PC 28 communication device 29 buffer

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力モードの表示コマンドをキーボード
に対して送信し、所定のキー入力に応じてキーに関する
入力モードの設定及び解除を交互に行うパーソナルコン
ピュータ(PC)に用いられるキーボードであって、 前記所定のキー入力を検知する検知手段と、 前記検知手段において前記所定のキー入力が検知され
ず、かつ前記PCから所定の表示コマンドを受信した場
合に、前記所定のキー入力を表す信号を前記PCに送出
する手段と、を有することを特徴とするキーボード。
1. A keyboard used in a personal computer (PC) that transmits a display command of an input mode to a keyboard and alternately sets and releases an input mode related to a key in response to a predetermined key input. Detecting means for detecting the predetermined key input; and detecting the signal indicating the predetermined key input when the predetermined key input is not detected by the detection means and a predetermined display command is received from the PC. Means for sending to a PC.
【請求項2】 入力モードの表示コマンドをキーボー
ドに対して送信し、所定のキー入力に応じてキーに関す
る入力モードの設定及び解除を交互に行うパーソナルコ
ンピュータ(PC)に用いられるキーボードであって、 前記所定のキー入力を検知する第1の検知手段と、 前記入力モードに関する関連キーの1つの入力を検知す
る第2の検知手段と、 前記入力モードの設定又は解除を表示するインジケータ
と、 前記第1の検知手段において前記所定のキー入力が検知
されず、かつ前記PCから所定の表示コマンドを初めて
受信した場合にのみ、前記所定の表示コマンドと反対の
表示を行わせる手段と、 前記第1の検知手段において前記所定のキー入力が検知
されず、かつ前記第2の検知手段において前記関連キー
の1つの入力が初めて検知された場合にのみ、前記関連
キーの1つの入力が表す信号に先立ち前記所定のキー入
力を表す信号を前記PCに送出する手段と、を有するこ
とを特徴とするキーボード。
2. A keyboard used in a personal computer (PC) that transmits a display command of an input mode to a keyboard and alternately sets and releases an input mode related to a key according to a predetermined key input. A first detection unit that detects the predetermined key input; a second detection unit that detects one input of a related key related to the input mode; an indicator that displays setting or cancellation of the input mode; A means for causing a display opposite to the predetermined display command to be performed only when the predetermined key input is not detected by the first detection means and a predetermined display command is received from the PC for the first time; The predetermined key input is not detected by the detecting means, and one input of the related key is detected for the first time by the second detecting means. Only when a keyboard and having a means for delivering to the PC a signal representative of said predetermined key input prior to one input representative signal of the associated key.
【請求項3】 前記所定のキー入力は、複数のキーの同
時入力であることを特徴とする請求項1又は2記載のキ
ーボード。
3. The keyboard according to claim 1, wherein the predetermined key input is a simultaneous input of a plurality of keys.
【請求項4】 前記所定の表示コマンドは、前記入力モ
ードの解除を示すコマンドであることを特徴とする請求
項1ないし3記載のキーボード。
4. The keyboard according to claim 1, wherein the predetermined display command is a command indicating cancellation of the input mode.
【請求項5】 前記入力モードは、数字固定モードであ
ることを特徴とする請求項1ないし4記載のキーボー
ド。
5. The keyboard according to claim 1, wherein the input mode is a fixed number mode.
JP22732998A 1998-08-11 1998-08-11 Keyboard for personal computer Expired - Fee Related JP3526759B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22732998A JP3526759B2 (en) 1998-08-11 1998-08-11 Keyboard for personal computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22732998A JP3526759B2 (en) 1998-08-11 1998-08-11 Keyboard for personal computer

Publications (2)

Publication Number Publication Date
JP2000056909A true JP2000056909A (en) 2000-02-25
JP3526759B2 JP3526759B2 (en) 2004-05-17

Family

ID=16859111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22732998A Expired - Fee Related JP3526759B2 (en) 1998-08-11 1998-08-11 Keyboard for personal computer

Country Status (1)

Country Link
JP (1) JP3526759B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006195778A (en) * 2005-01-14 2006-07-27 Alps Electric Co Ltd Computer peripheral apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006195778A (en) * 2005-01-14 2006-07-27 Alps Electric Co Ltd Computer peripheral apparatus

Also Published As

Publication number Publication date
JP3526759B2 (en) 2004-05-17

Similar Documents

Publication Publication Date Title
US5850546A (en) Central processing unit reset device and a reset method for a central processing unit
KR100711660B1 (en) Universal keyboard
US7420544B2 (en) Information processing apparatus and information processing method
US20020190957A1 (en) Portable keyboard for use with hand-held computer
KR20020097024A (en) Hand grippable combined keyboard and game controller system
JP2007095094A (en) Handheld electronic device with keyboard
US7333093B2 (en) Information processing apparatus and information processing method
US6310608B1 (en) System and method of keyboard configuration for disabled user access
US5486846A (en) Intelligent keypad overlay for portable personal computers
KR100322467B1 (en) multiuser computer system and remote control method thereof
US6909423B2 (en) Method for inputting commands in a keypad
US6786823B2 (en) Game keyboard device
US6831630B2 (en) Key input device having Braille input function
US5241646A (en) Systems for changing hardware parameters using sub-CPU for sensing specialized key inputs and main CPU for changes
JPH04367924A (en) Keyboard controller
JP3526759B2 (en) Keyboard for personal computer
US5412586A (en) Method and system for interfacing a computer processor with a calculator keyboard and calculator
US6910055B2 (en) Calculator device for enabling a keypad to function as both a keypad and a calculator
JP4685720B2 (en) Character input device and character input method
JP2000214990A (en) Keyboard device
JP2000250690A (en) Virtual keyboard system
US9035805B2 (en) System and method for providing a single and dual key press keypad
JP2002189553A (en) Portable terminal and character input method therefor
JP2001142612A (en) Auxiliary keyboard, keyboard and control method
TWI307852B (en)

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040216

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040217

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees