JPH07160392A - Key code variable keyboard - Google Patents

Key code variable keyboard

Info

Publication number
JPH07160392A
JPH07160392A JP5302478A JP30247893A JPH07160392A JP H07160392 A JPH07160392 A JP H07160392A JP 5302478 A JP5302478 A JP 5302478A JP 30247893 A JP30247893 A JP 30247893A JP H07160392 A JPH07160392 A JP H07160392A
Authority
JP
Japan
Prior art keywords
key
key code
keyboard
matrix
nonvolatile memory
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
JP5302478A
Other languages
Japanese (ja)
Inventor
Hisaharu Sakamoto
久治 坂本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5302478A priority Critical patent/JPH07160392A/en
Publication of JPH07160392A publication Critical patent/JPH07160392A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the labor needed for changing the key codes by providing a nonvolatile memory which reeds and writes the key codes corresponding to each key matrix switch of a key matrix and a keyboard controller which controls the nonvolatile memory, etc., and receives the key code changing commands from a host device to rewrite the key codes stored in the nonvolatile memory. CONSTITUTION:A keyboard includes a key matrix 1, a nonvolatile memory 2 which reads and writes the key codes, a host device 5, an interface 3 which transfers the key codes and various commends to the device 5, and a keyboard controller 4 which controls those preceding component parts and performs the transmission/reception of key codes. The initial value of the key code showing the function of each key is previously registered in the memory 2. Then the key codes are sent to the device 5 based on the registered initial value as long as no key code changing command is received from the device 5. Therefore the key codes corresponding to the matrix 1 can be freely changed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は端末機に接続されるキー
ボードに関し、特にキーコードを可変できるキーボード
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard connected to a terminal, and more particularly to a keyboard whose key code can be changed.

【0002】[0002]

【従来の技術】従来、この種のキーボードは、キーの機
能に一対一に対応したキーコードを出力するものであ
る。また、キーコードを可変できるものでも、キーボー
ドのキーの操作によりキーボード内部の不揮発性メモリ
の内容を書換えキーコードを変換できるものである。
2. Description of the Related Art Conventionally, this type of keyboard outputs a key code corresponding to the function of a key one-to-one. Even if the key code can be changed, the contents of the non-volatile memory inside the keyboard can be rewritten by operating the keys of the keyboard to convert the key code.

【0003】たとえば、特開平1−123314号公報
に記載された出力コード可変型キーボードは、情報処理
装置にシリアルインタフェースで接続されるマイクロコ
ンピュータを内蔵し、書き換え可能な不揮発性メモリを
有し、この不揮発性メモリの内容をキーボード上のキー
操作により変更することで情報処理装置への出力コード
すなわちキーコードを変更するものである。
For example, the variable output code type keyboard disclosed in Japanese Patent Laid-Open No. 1-123314 has a built-in microcomputer connected to an information processing device by a serial interface and has a rewritable nonvolatile memory. By changing the contents of the non-volatile memory by operating the keys on the keyboard, the output code to the information processing device, that is, the key code is changed.

【0004】[0004]

【発明が解決しようとする課題】この従来のキーボード
では、キーコードを変更する必要が発生すると、キーボ
ード上のキー操作によってキーボード内の不揮発性メモ
リの内容を書き換える必要があるため、変更コード数が
多い場合は時間がかかり、人間の労力を多く必要とする
といった問題点があった。
In this conventional keyboard, when it is necessary to change the key code, it is necessary to rewrite the contents of the non-volatile memory in the keyboard by operating the keys on the keyboard. When there are many, there is a problem that it takes time and requires a lot of human labor.

【0005】本発明の目的は、キーコードの変更に労力
を必要としないキーボードを提供することにある。
An object of the present invention is to provide a keyboard which does not require labor for changing the key code.

【0006】[0006]

【課題を解決するための手段】本発明のキーコード可変
キーボードは、キー入力を行うキーマトリックスと、キ
ーマトリックスの各キーマトリックススイッチに対応す
るキーコードをリードライトする不揮発性メモリと、こ
れらを制御し、上位装置からのキーコード変更コマンド
を受けて不揮発性メモリ内のキーコードを書換えるキー
ボードコントローラとを含む。
A variable key code keyboard according to the present invention controls a key matrix for key input, a non-volatile memory for reading and writing a key code corresponding to each key matrix switch of the key matrix, and a non-volatile memory. The keyboard controller rewrites the key code in the non-volatile memory in response to the key code change command from the host device.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図であ
る。図において、本発明の実施例のキーボードは、キー
マトリックス1と、キーコードが書込まれ読出される不
揮発性メモリ2と、上位装置5とキーコード及び各種コ
マンドのやり取りを行うインタフェース3と、これらを
制御しキーコードとの送受信を行うキーボードコントロ
ーラ4とからなる。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, a keyboard of an embodiment of the present invention includes a key matrix 1, a nonvolatile memory 2 in which a key code is written and read, an interface 3 for exchanging key codes and various commands with a host device 5, and these. And a keyboard controller 4 for controlling the transmission and reception of key codes.

【0009】不揮発性メモリ2には予め各キーの機能を
表わすキーコードの初期値が登録されており、上位装置
5からのキーコード変換コマンドが送られてこない場合
は、この初期値に従ったキーコードが上位装置5に送信
される。たとえば初期値のキーコードが図1のキーマト
リックス1のキーマトリックススイッチの配列と同一と
する。キー「Q」を押すと、ラインX2,Y1を介して
キーボードコントローラ4はラインX2,Y1上のキー
の押下を認識し、ラインX2,Y1上のキーに対応する
アドレスを発生して不揮発性メモリ2を読み出す。この
とき、不揮発性メモリ2にはラインX2,Y1上のキー
のキーコードとして文字「Q」を表わすキーコードが書
込まれているので、キーボードコントローラ4は文字
「Q」のキーコードを読出し、それをインタフェース3
を介して上位装置5へ送出する。同様にして、キーマト
リックス1の「TAB」キーを押下すると、キーボード
コントローラ4はラインX1,Y1からの信号によって
「TAB」の指令を表わすキーコードを不揮発性メモリ
2から読出して上位装置5へ送出する。なお、図1では
キーマトリックスが16個のキーしか記載されていない
が、実際にはもっと多くのキーがある。
An initial value of a key code representing the function of each key is registered in advance in the non-volatile memory 2, and when the key code conversion command is not sent from the host device 5, the initial value is followed. The key code is transmitted to the host device 5. For example, the key code of the initial value is the same as the arrangement of the key matrix switch of the key matrix 1 of FIG. When the key "Q" is pressed, the keyboard controller 4 recognizes through the lines X2 and Y1 that the keys on the lines X2 and Y1 have been pressed, and generates addresses corresponding to the keys on the lines X2 and Y1 to generate the nonvolatile memory. Read 2. At this time, since the key code representing the character "Q" is written in the nonvolatile memory 2 as the key code of the key on the lines X2 and Y1, the keyboard controller 4 reads the key code of the character "Q", Interface it 3
To the higher-level device 5 via. Similarly, when the "TAB" key of the key matrix 1 is pressed, the keyboard controller 4 reads the key code representing the "TAB" command from the non-volatile memory 2 by the signal from the lines X1 and Y1 and sends it to the host device 5. To do. Although only 16 keys are shown in the key matrix in FIG. 1, there are actually more keys.

【0010】次に配置場所、ユーザの好みなどによりキ
ー配列に変更があった場合、上位装置5からキーコード
変更コマンドをインタフェース3を介してキーボードコ
ントローラ4に送信する。キーボードコントローラ4は
メモリ2をクリアしてから上位装置5からの変更内容を
不揮発性メモリ2に書込む。以後、キー入力があった場
合は変更された新しいキーコードが上位装置4によって
メモリ2から読出され、上位装置5へ送出される。
Next, when there is a change in the key layout due to the arrangement location, user preference, etc., the host device 5 sends a key code change command to the keyboard controller 4 via the interface 3. The keyboard controller 4 clears the memory 2 and then writes the changed contents from the higher-level device 5 into the nonvolatile memory 2. After that, when there is a key input, the changed new key code is read from the memory 2 by the host device 4 and sent to the host device 5.

【0011】また、初期状態にもどす場合は、上位装置
5がキーボードコントローラ4に対してリセットコマン
ドを送信し、不揮発性メモリ2をリセットしてから初期
キーボードコードにもどす。
When returning to the initial state, the host device 5 sends a reset command to the keyboard controller 4, resets the nonvolatile memory 2, and then returns to the initial keyboard code.

【0012】なお、不揮発性メモリ2にはバッテリでバ
ックアップされたメモリ,フラッシュ,EEPROMな
ど、電源を切断しても記憶内容を保持し、なおかつ書換
えが可能なメモリを使用する。
As the non-volatile memory 2, a memory backed up by a battery, a flash, an EEPROM, or the like that retains stored contents even when the power is turned off and is rewritable is used.

【0013】[0013]

【発明の効果】以上説明したように本発明は、キーマト
リックスに対応するキーコードを自由に変更することが
可能となるため、ユーザ毎にキー配列が異なる場合でも
専用のキーボードを作成する必要がなく、容易に同じハ
ードウェアで幅広い対応が可能となる。
As described above, according to the present invention, since the key code corresponding to the key matrix can be freely changed, it is necessary to create a dedicated keyboard even if the key layout is different for each user. It is possible to easily support a wide range with the same hardware.

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

【図1】本発明の一実施例のブロック図FIG. 1 is a block diagram of an embodiment of the present invention.

【符号の説明】 1 不揮発性メモリ 2 キーボードコントローラ 3 キーマトリックス 4 上位装置[Explanation of reference symbols] 1 non-volatile memory 2 keyboard controller 3 key matrix 4 host device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のキーマトリックススイッチを有す
るキーマトリックスと、前記キーマトリックスの各キー
マトリックススイッチ位置に対応するキーコードの書込
みと読出しを行う不揮発性メモリと、これらを制御し上
位からのキーコード変更コマンドを受けて前記不揮発性
メモリ内のキーコードテーブルを書換えるキーボードコ
ントローラとを含み、上位装置からのコマンドによって
前記キーコードが変更されることを特徴とするキーコー
ド可変キーボード。
1. A key matrix having a plurality of key matrix switches, a non-volatile memory for writing and reading a key code corresponding to each key matrix switch position of the key matrix, and a key code from a host for controlling them. A key code variable keyboard comprising: a keyboard controller that rewrites a key code table in the non-volatile memory in response to a change command, wherein the key code is changed by a command from a host device.
【請求項2】 前記キーボードコントローラは前記不揮
発性メモリへのキーコードを書換える前にリセットする
ことを特徴とする請求項1に記載されたキーコード可変
キーボード。
2. The key code variable keyboard according to claim 1, wherein the keyboard controller resets the key code to the non-volatile memory before rewriting.
JP5302478A 1993-12-02 1993-12-02 Key code variable keyboard Pending JPH07160392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5302478A JPH07160392A (en) 1993-12-02 1993-12-02 Key code variable keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5302478A JPH07160392A (en) 1993-12-02 1993-12-02 Key code variable keyboard

Publications (1)

Publication Number Publication Date
JPH07160392A true JPH07160392A (en) 1995-06-23

Family

ID=17909438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5302478A Pending JPH07160392A (en) 1993-12-02 1993-12-02 Key code variable keyboard

Country Status (1)

Country Link
JP (1) JPH07160392A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002318656A (en) * 2001-04-20 2002-10-31 Sato Corp Printing device
KR20020084331A (en) * 2001-04-27 2002-11-07 오재영 Keyboard With Multifunction
KR20030008461A (en) * 2001-07-18 2003-01-29 삼성전자 주식회사 computer and control method thereof
KR100444630B1 (en) * 2002-01-28 2004-08-21 엘지전자 주식회사 Micro-Computer With Keyboard Controller
US7782306B2 (en) 2003-05-09 2010-08-24 Microsoft Corporation Input device and method of configuring the input device
JP6080934B1 (en) * 2015-10-30 2017-02-15 レノボ・シンガポール・プライベート・リミテッド Keyboard key layout changing method and information processing apparatus using this method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01103719A (en) * 1987-10-16 1989-04-20 Nec Home Electron Ltd Key input device
JPH01103720A (en) * 1987-10-16 1989-04-20 Nec Home Electron Ltd Key input device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01103719A (en) * 1987-10-16 1989-04-20 Nec Home Electron Ltd Key input device
JPH01103720A (en) * 1987-10-16 1989-04-20 Nec Home Electron Ltd Key input device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002318656A (en) * 2001-04-20 2002-10-31 Sato Corp Printing device
KR20020084331A (en) * 2001-04-27 2002-11-07 오재영 Keyboard With Multifunction
KR20030008461A (en) * 2001-07-18 2003-01-29 삼성전자 주식회사 computer and control method thereof
KR100444630B1 (en) * 2002-01-28 2004-08-21 엘지전자 주식회사 Micro-Computer With Keyboard Controller
US7782306B2 (en) 2003-05-09 2010-08-24 Microsoft Corporation Input device and method of configuring the input device
JP6080934B1 (en) * 2015-10-30 2017-02-15 レノボ・シンガポール・プライベート・リミテッド Keyboard key layout changing method and information processing apparatus using this method

Similar Documents

Publication Publication Date Title
US6469651B1 (en) Multi-function type absolute converter
JPS6160443B2 (en)
JPH07160392A (en) Key code variable keyboard
JP3613933B2 (en) Programmable controller
JP4042940B2 (en) Microcontroller with on-chip programming function
JPH09231065A (en) Program changeable electronic controller
JPS6235958A (en) Microcomputer
JPH11340816A (en) Electronic counter
JP2001203579A (en) Analog module
KR920001331A (en) Processor
JPH04195513A (en) Keyboard
KR910000646B1 (en) Processing circuit and method of digital sound effect
JP3912447B2 (en) Memory system and method of using external nonvolatile memory
KR100434134B1 (en) Programmable logic controller, in which a program is changed during its operation
JPH01103720A (en) Key input device
JPS6047664B2 (en) information processing equipment
JPH0736154B2 (en) Data storage
JPH05241815A (en) Signal processor for microprocessor control
JPH02177095A (en) Semiconductor nonvolatile memory
JPH01234918A (en) Keyboard device
JPH0739197A (en) Motor controller
JPS62264394A (en) Condition memory device
JPS6217782B2 (en)
JPH04306021A (en) Two-wire system transmitter
JPH057933B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960827