JPH05257588A - Keyboard - Google Patents

Keyboard

Info

Publication number
JPH05257588A
JPH05257588A JP4053269A JP5326992A JPH05257588A JP H05257588 A JPH05257588 A JP H05257588A JP 4053269 A JP4053269 A JP 4053269A JP 5326992 A JP5326992 A JP 5326992A JP H05257588 A JPH05257588 A JP H05257588A
Authority
JP
Japan
Prior art keywords
keyboard
key
storage device
external storage
key switches
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
JP4053269A
Other languages
Japanese (ja)
Inventor
Mamoru Katayose
守 片寄
Hideki Sasaki
佐々木  秀樹
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4053269A priority Critical patent/JPH05257588A/en
Publication of JPH05257588A publication Critical patent/JPH05257588A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To readily change specific codes of key switches on the keyboard and to improve the operability by means of detachable external storage device. CONSTITUTION:A one-chip microcomputer 10 which controls the keyboard, incorporates program ROM and RAM. In a key switch group 20, a plurarity of key switches are arranged on the matrix. A memory card 30 being an external storage device stores a code conversion table and a shift lock ON-OFF information. The codes of key switches can be changed according to the content. The initializing state is set, too.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置の一種であ
るワードプロセッサやパソコンなどのキーボード装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard device such as a word processor or a personal computer which is a kind of information processing device.

【0002】[0002]

【従来の技術】従来技術は、例えば、キーボード装置に
内蔵されている制御用ワンチップマイコンにより、マト
リクス状に配列されているキースイッチ群をスキャンニ
ングし、入力されたキースイッチを検知し、そのキース
イッチ固有のコードを生成していた。
2. Description of the Related Art In the prior art, for example, a control one-chip microcomputer incorporated in a keyboard device scans a group of key switches arranged in a matrix to detect input key switches, A code specific to the key switch was being generated.

【0003】しかし、ワンチップマイコンのプログラム
はワンチップマイコン内のROMにマスク化されている
ためキースイッチのコードは個々に固定化されている。
However, since the program of the one-chip microcomputer is masked in the ROM in the one-chip microcomputer, the code of the key switch is individually fixed.

【0004】そのため、キースイッチ固有のコードを変
更する場合はキースイッチ群の中のキースイッチの位置
を変更するか、変更したいコードになるようプログラム
を変更し新規にワンチップマイコンを作らなければなら
ないという欠点があった。
Therefore, when changing the code unique to the key switch, the position of the key switch in the key switch group must be changed, or the program must be changed to obtain the code to be changed and a new one-chip microcomputer must be created. There was a drawback.

【0005】また、操作する人によりキーボード装置の
入力方法が事なる場合が多々ある。例えばキャプスロッ
クをONするか否か、シフトロックをONするか否か等
がある。この場合、次にキーボード装置を使用する人は
自分の入力方法に設定してから入力を行わなければなら
ない。
In addition, there are many cases in which the input method of the keyboard device varies depending on the operator. For example, whether the caps lock is turned on, the shift lock is turned on, or the like. In this case, the person who next uses the keyboard device must set his own input method before inputting.

【0006】[0006]

【発明が解決しようとする課題】本発明では上記欠点を
鑑み、キーボード装置のキースイッチ固有のコードを容
易に変更可能にすると共に操作性を良くすることにあ
る。
SUMMARY OF THE INVENTION In view of the above-mentioned drawbacks, the present invention is to make it possible to easily change the code unique to the key switch of the keyboard device and to improve the operability.

【0007】[0007]

【課題を解決するための手段】本発明ではICカードや
メモリカード等の着脱可能な外部記憶装置を備え、その
内容を読み込み、その内容により入力されたキースイッ
チ固有のコードを任意に変更することにある。
According to the present invention, a detachable external storage device such as an IC card or a memory card is provided, the contents of which are read, and the code specific to the key switch inputted by the contents is arbitrarily changed. It is in.

【0008】また、前記記憶内容によりキーボード装置
の初期状態を設定することにある。
Further, an initial state of the keyboard device is set according to the stored contents.

【0009】[0009]

【作用】本発明ではキーボード装置を制御するワンチッ
プマイコンが、電源ON時またはリセット状態の時に外
部記憶装置の内容を読み込み、その内容によりコード変
換用テーブルの設定,初期状態の設定を行う。
In the present invention, the one-chip microcomputer controlling the keyboard device reads the contents of the external storage device when the power is turned on or in the reset state, and the code conversion table and the initial state are set according to the contents.

【0010】前記外部記憶装置が接続されていなけれ
ば、ワンチップマイコン内のROMの内容により設定さ
れる。外部記憶装置の接続の可否は、外部記憶装置のあ
る任意のエリアの内容が目的のデータになっているか否
かで容易に確認できる。
If the external storage device is not connected, it is set by the contents of the ROM in the one-chip microcomputer. Whether or not the external storage device can be connected can be easily confirmed by checking whether or not the content of an arbitrary area in the external storage device is the target data.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0012】本発明をシフトロックキー付きキーボード
に用いた例を図1にブロックダイヤグラムで示す。
An example in which the present invention is applied to a keyboard with a shift lock key is shown in a block diagram in FIG.

【0013】2はキーボード装置1の入力データにより
情報を処理する情報処理装置。
Reference numeral 2 is an information processing device for processing information according to input data of the keyboard device 1.

【0014】10はキーボードを制御するワンチップマ
イコンでプログラムROMやRAMが内蔵されている。
20はキースイッチ群で複数のキースイッチがマトリク
ス上に配列されている。30は着脱可能な外部記憶装置
の一種であるメモリカードを示す。メモリカード30に
はコード変換用テーブル,シフトロックのON/OFF情
報等が格納されている。40はシフトロック状態を表示
するためのLEDでシフトロック状態時に点灯する。
Reference numeral 10 is a one-chip microcomputer for controlling the keyboard, which has a built-in program ROM or RAM.
A key switch group 20 has a plurality of key switches arranged in a matrix. Reference numeral 30 denotes a memory card which is a type of removable external storage device. The memory card 30 stores a code conversion table, shift lock ON / OFF information, and the like. Reference numeral 40 denotes an LED for displaying the shift lock state, which lights up in the shift lock state.

【0015】次に動作について説明する。Next, the operation will be described.

【0016】先ず、ワンチップマイコン10は内蔵され
ているROMのプログラムにより、メモリカード30に
記憶されているコード変換用テーブル,シフトロックの
ON/OFF情報をワンチップマイコン10に内蔵され
ているRAMに読み込む。RAMに読み込んだコード変
換用テーブルによりキーコードを生成する変換テーブル
を設定する。また、シフトロックのON/OFF情報に
よりONであれば、入力されたキーをシフト状態でキー
コードを生成し、操作者にシフトロック状態を知らせる
ためにLED40を点灯する。OFFであればシフト処
理を行わず、LED40を消灯する。
First, the one-chip microcomputer 10 stores a code conversion table and shift lock ON / OFF information stored in the memory card 30 according to a program in a ROM incorporated in the one-chip microcomputer 10. Read into. A conversion table for generating a key code is set by the code conversion table read in the RAM. If the shift lock is ON according to the ON / OFF information, the key code is generated while the input key is in the shift state, and the LED 40 is turned on to notify the operator of the shift lock state. If it is OFF, the shift process is not performed and the LED 40 is turned off.

【0017】メモリカード30の任意のエリアが目的の
データでなければ、メモリカード30がメモリカードが
実装されていないか、目的外のメモリカードが実装され
ているので、その時はワンチップマイコン10内のRO
Mの内容により、初期値を設定する。
If any area of the memory card 30 is not the target data, either the memory card 30 is not mounted or a memory card other than the target is mounted. RO
The initial value is set according to the contents of M.

【0018】次に、キーマトリクス20をl1,l2・・
・の順にスキャンニングし、キー入力を検知する。キー
が入力されるとm1,m2・・・のレベルが変化するの
で、変化した場所とスキャンニングした場所より変換テ
ーブルを用いてキーコードを生成する。生成したコード
は情報処理装置2に出力される。
Next, the key matrix 20 is set to l 1 , l 2 ...
・ Scan in order of and detect key input. When a key is input, the levels of m 1 , m 2 ... Change, so a key code is generated using a conversion table from the changed position and the scanned position. The generated code is output to the information processing device 2.

【0019】以降、情報処理装置2からの電源投入等に
よるリセット信号が行われるまで、キー入力検知,コー
ド出力等の動作が繰り返される。
Thereafter, operations such as key input detection and code output are repeated until a reset signal is input from the information processing device 2 by turning on the power.

【0020】次に本発明の処理フローを図2を用い説明
する。
Next, the processing flow of the present invention will be described with reference to FIG.

【0021】S10はキーボード装置1にメモリカード
40が実装されているかどうかチェックし、実装されて
いれば、S20でその内容を読み込む。S30,S40
でキーボード装置1の初期設定,コード変換テーブルの
設定,LEDのON/OFFを行う。
In S10, it is checked whether or not the memory card 40 is mounted on the keyboard device 1, and if it is mounted, the contents are read in S20. S30, S40
The keyboard device 1 is initialized, the code conversion table is set, and the LED is turned on / off.

【0022】次にS50,60,70でキースイッチ群
をスキャンニングしながらキー入力を検知する。キー入
力が無ければスキャンアドレスを更新し、この動作を繰
り返す。
Next, in S50, 60 and 70, a key input is detected while scanning the key switch group. If there is no key input, the scan address is updated and this operation is repeated.

【0023】キー入力があればS80で変換テーブルよ
りキーコードを生成し、S90で情報処理装置2に出力
する。
If there is a key input, a key code is generated from the conversion table in S80 and output to the information processing device 2 in S90.

【0024】S10でメモリカード30が実装されてい
なければS100,S110でワンチップマイコン10
に内蔵されているROMの内容により初期値を設定す
る。
If the memory card 30 is not mounted in S10, the one-chip microcomputer 10 is processed in S100 and S110.
The initial value is set according to the contents of the ROM incorporated in the.

【0025】本実施例では着脱可能な外部記憶装置の例
としてメモリカードの場合について説明したが、ICカ
ード,バブルメモリ等形態に関係無く本発明の効果を得
ることが出来る。
In the present embodiment, the case of a memory card has been described as an example of a removable external storage device, but the effects of the present invention can be obtained regardless of the type of IC card, bubble memory, or the like.

【0026】また、ワンチップマイコンの性能によって
は内蔵RAM容量が、メモリカードのデータを読み込む
ためには足りない場合があるが、これは直接メモリカー
ドのデータを参照することにより本発明の効果を得るこ
とが出来る。
Further, depending on the performance of the one-chip microcomputer, the built-in RAM capacity may not be enough to read the data of the memory card. However, the effect of the present invention can be obtained by directly referring to the data of the memory card. You can get it.

【0027】また、本発明では外部記憶装置の記憶方法
を明記しなかったが、ICカードやバブルメモリ等の書
替え可能な記憶装置であればキーボード装置内のワンチ
ップマイコンや他の書き込み装置により、容易に書替え
が出来、ROMなどの書替え不可能な記憶装置であれ
ば、専用のROMを作成することにより、本発明の効果
を得ることが出来る。
Although the storage method of the external storage device is not specified in the present invention, if the storage device is a rewritable storage device such as an IC card or a bubble memory, a one-chip microcomputer in the keyboard device or another writing device may be used. In the case of a storage device that can be easily rewritten and is not rewritable, such as a ROM, the effect of the present invention can be obtained by creating a dedicated ROM.

【0028】[0028]

【発明の効果】本発明によれば、、キーボード装置のキ
ースイッチ固有のコードを容易に変更可能にすると共に
操作性を良くすることができる。
According to the present invention, the code unique to the key switch of the keyboard device can be easily changed and the operability can be improved.

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

【図1】キーボード装置のブロックダイアグラムを示す
図である。
FIG. 1 is a diagram showing a block diagram of a keyboard device.

【図2】処理フロー図である。FIG. 2 is a processing flow chart.

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

1…キーボード装置、2…情報処理装置、10…ワンチ
ップマイコン、20…キースイッチ群、30…メモリカ
ード、40…LED。
1 ... Keyboard device, 2 ... Information processing device, 10 ... One-chip microcomputer, 20 ... Key switch group, 30 ... Memory card, 40 ... LED.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数のキースイッチを有するキーボードと
前記キースイッチの押下を検出し、そのキーに対応する
コードをワードプロセッサなどの情報処理装置に出力す
る制御部とを有するキーボード装置において、 着脱可能な外部記憶装置を有し、前記外部記憶装置の記
憶内容により、情報処理装置等に出力するデータを任意
なデータに変換することを特徴とするキーボード装置。
1. A keyboard device having a keyboard having a plurality of key switches and a control unit for detecting depression of the key switches and outputting a code corresponding to the keys to an information processing device such as a word processor, the keyboard device being detachable. A keyboard device having an external storage device, wherein data output to an information processing device or the like is converted into arbitrary data according to the stored contents of the external storage device.
【請求項2】請求項1において前記外部記憶装置の記憶
内容により、キーボード装置の初期状態を設定すること
を特徴とするキーボード装置。
2. The keyboard device according to claim 1, wherein the initial state of the keyboard device is set according to the stored contents of the external storage device.
JP4053269A 1992-03-12 1992-03-12 Keyboard Pending JPH05257588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4053269A JPH05257588A (en) 1992-03-12 1992-03-12 Keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4053269A JPH05257588A (en) 1992-03-12 1992-03-12 Keyboard

Publications (1)

Publication Number Publication Date
JPH05257588A true JPH05257588A (en) 1993-10-08

Family

ID=12938037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4053269A Pending JPH05257588A (en) 1992-03-12 1992-03-12 Keyboard

Country Status (1)

Country Link
JP (1) JPH05257588A (en)

Similar Documents

Publication Publication Date Title
JPH0887367A (en) Key code output device and keyboard
JPH05257588A (en) Keyboard
JPS60232974A (en) Printer
JPH08211860A (en) Display color changing device
US5702625A (en) Encoder key input device for a microwave oven and interrupt processing method using the same
WO1984002594A1 (en) System for preventing erroneous key operation
EP0397111B1 (en) Output device with user-definable relationships between character codes and displayed characters
KR0181586B1 (en) Computer having a separable keyboard
JP2758617B2 (en) Keyboard for character string input
JP3097721B2 (en) Terminal printer
JPH0512818Y2 (en)
JP2001034416A (en) Resistance film type touch panel, input device and data processor having the same panel
JPH0282818A (en) Keyboard
JPH06202781A (en) Programmable keyboard
JPS59226931A (en) Key input controller
JPH03212719A (en) Keyboard device
JPH0511911A (en) Key input device
JPH01122475A (en) Printer device
JPS62266652A (en) Word processor
JPS63261455A (en) Document editing system
JPS63282515A (en) Input device
JPH01196619A (en) Key input control device
JPH04256119A (en) Scan code generating system
JPH04199213A (en) Key input device
JPH06161632A (en) Keyboard device