JPH04369018A - Conversion system of input data into keyboard mouse data - Google Patents

Conversion system of input data into keyboard mouse data

Info

Publication number
JPH04369018A
JPH04369018A JP3171677A JP17167791A JPH04369018A JP H04369018 A JPH04369018 A JP H04369018A JP 3171677 A JP3171677 A JP 3171677A JP 17167791 A JP17167791 A JP 17167791A JP H04369018 A JPH04369018 A JP H04369018A
Authority
JP
Japan
Prior art keywords
data
keyboard
mouse
input
conversion information
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
JP3171677A
Other languages
Japanese (ja)
Inventor
Naoki Izumida
泉田 直樹
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3171677A priority Critical patent/JPH04369018A/en
Publication of JPH04369018A publication Critical patent/JPH04369018A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To make it possible to process input data from an IC card reader, a tablet device or the like other than a keyboard and a mouse equivalently to data from the keyboard or the mouse. CONSTITUTION:A data processor having an interface control part 2 capable of connecting a keyboard and a mouse and an window control part 3 is also provided with a keyboard control part 7, a mouse control part 8, a conversion information storing means 4, and a conversion information setting part 5 and constituted so that input data sent from an input part or a pointing input device connected to the control part 2 are converted by the control part 8 similarly to keyboard data or mouse data and the converted data are sent to the control part 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ワークステーションの
如きデータ処理装置において、タブレット装置の如きポ
インティング装置をマウスと同様に使用可能とし、また
IDカード・リーダの如き入力手段をキーボードと同様
に使用可能とする入力データのキーボード/マウスデー
タへの変換方式に関する。
[Industrial Application Field] The present invention enables a pointing device such as a tablet device to be used in the same manner as a mouse in a data processing device such as a workstation, and an input means such as an ID card reader can be used in the same manner as a keyboard. This invention relates to a method for converting input data into keyboard/mouse data.

【0002】0002

【従来の技術】データ処理装置では、オペレータとの会
話処理に使用される入力装置として一般的にキーボード
とマウスが接続されている。ここでキーボードは文字等
の入力手段であり、マウスはポインティング入力手段と
して使用される。
2. Description of the Related Art In a data processing apparatus, a keyboard and a mouse are generally connected as input devices used for conversation processing with an operator. Here, the keyboard is used as a means for inputting characters, etc., and the mouse is used as a pointing input means.

【0003】また、ビットマップ・ディスプレイ上に複
数のウィンドウを開いて、複数の情報を同時に参照でき
る、入出力可能なウィンドウシステムが提供されている
[0003] Furthermore, there has been provided an input/output window system that allows multiple windows to be opened on a bitmap display and multiple pieces of information to be referenced at the same time.

【0004】ところで一般のウィンドウシステムでは、
キーボードとマウスのみを入力装置、指示入力装置とし
てサポートしている。
By the way, in a general window system,
Only the keyboard and mouse are supported as input devices and instruction input devices.

【0005】またオペレータとのその他の会話用の入力
装置としてはタブレット装置などがある。タブレット装
置は座標値を入力するものであるが、これが有効になる
のはCADのアプリケーションが動作しているときのみ
であり、通常の指示装置としては使用できなかった。し
かしタブレット装置を使用しているオペレータにとって
使用しているタブレット装置がマウスと同様に、ウィン
ドウシステムにおける指示装置として使用できることが
要望されている。
[0005] Other input devices for conversation with the operator include tablet devices. Tablet devices are used to input coordinate values, but this is only valid when a CAD application is running, and cannot be used as a normal pointing device. However, there is a demand for operators using tablet devices to be able to use the tablet device as a pointing device in a window system in the same way as a mouse.

【0006】そしてIDカード・リーダなどの入力装置
も、その入力データをキーボードからの入力データと同
様に処理できることが要望されている。例えば装置を起
動してアプリケーションプログラムを使用する場合、通
常キーボードよりオペレータの氏名とパスワードを入力
し、これをチェックしてアプリケーションの使用可能者
と識別されたときこれを使用することができるシステム
がある。
There is also a demand for input devices such as ID card readers to be able to process input data in the same way as input data from a keyboard. For example, when starting up a device and using an application program, there is a system that allows the user to enter the operator's name and password from the keyboard, check this, and then use this when the user is identified as authorized to use the application. .

【0007】このようなとき、IDカードに氏名とパス
ワードを記入しておき、IDカード・リーダで読み取ら
れた氏名とパスワードをキーボード入力と同様に使用で
きれば、キーボードよりこれらを入力する必要がなく、
またウィンドウシステム上で動作するアプリケーション
にとってはIDカード・リーダなどの入力装置を意識す
る必要なく、入力データを使用することが可能となる。
[0007] In such a case, if the name and password were written on the ID card and the name and password read by the ID card reader could be used in the same way as keyboard input, there would be no need to input these from the keyboard.
Furthermore, applications running on a window system can use input data without having to be aware of input devices such as ID cards and readers.

【0008】このように、例えばRS232Cインタフ
ェース規格で接続制御されるICカードリーダやタブレ
ット装置のような入力装置がいくつかあり、それをキー
ボード/マウスと同じ機能をもたせながらもアプリケー
ションが意識せず、装置毎に特別のプログラムを用意し
ないですむ制御方式が必要とされている。
[0008] As described above, there are several input devices such as IC card readers and tablet devices that are connected and controlled using the RS232C interface standard, and although they have the same functions as a keyboard/mouse, applications are not aware of them. There is a need for a control method that does not require special programs for each device.

【0009】従来のパソコンやワークステーションにお
いては、キーボードやマウス以外の前記入力装置をキー
ボードやマウスと同様に使用させる場合には、アプリケ
ーションもしくはウィンドウシステムが、その入力装置
を意識して直接制御することにより、オペレータに対し
てはキーボードやマウスと同様の操作性のものを提供し
ている。
[0009] In conventional personal computers and workstations, when an input device other than a keyboard or mouse is used in the same way as a keyboard or mouse, an application or window system must consciously control the input device directly. This provides operators with the same operability as a keyboard or mouse.

【0010】もしくは、その入力装置ごとに専用の制御
プログラムをシステム内に用意し、その制御プログラム
がキーボードまたはマウスデータに変換して、システム
内のキーボード又はマウス用の制御プログラムにデータ
を渡す制御方式によりサポートされている。
Alternatively, a control method is provided in which a dedicated control program is prepared in the system for each input device, and the control program converts the data into keyboard or mouse data and passes the data to the keyboard or mouse control program in the system. Supported by

【0011】[0011]

【発明が解決しようとする課題】従来では、ウィンドウ
システムが、さらにはアプリケーションが接続される入
力装置を意識している場合、接続される入力装置が増え
るごとにウィンドウシステム・アプリケーションを機能
拡張するため修正しなければならない。またシステム内
にこれらの入力装置ごとに専用の制御プログラムを用意
する場合でも、接続される入力装置が増えるごとに、そ
の装置専用の制御プログラムを用意し、システムを変更
しなければならない。
[Problem to be Solved by the Invention] Conventionally, when a window system or even an application is aware of the input devices connected to it, the functionality of the window system/application is expanded each time the number of connected input devices increases. Must be corrected. Furthermore, even if a dedicated control program is prepared for each of these input devices in the system, each time the number of connected input devices increases, a control program dedicated to that device must be prepared and the system must be changed.

【0012】したがって本発明の目的は、これら入力装
置を、ウィンドウシステム・アプリケーションを変更す
ることなく、しかもキーボードやマウスと同じようにウ
ィンドウシステム経由でアプリケーションが使用できる
ようにした入力データのキーボード/マウスデータの変
換方式を提供することである。
Therefore, an object of the present invention is to provide a keyboard/mouse for input data that allows applications to use these input devices via the window system in the same way as keyboards and mice without changing the window system application. The purpose is to provide a data conversion method.

【0013】[0013]

【課題を解決するための手段】前記目的を達成するため
、本発明では、図1に示す如く、本体ハードウェア部1
、インタフェース制御部2、ウィンドウ制御部3、変換
情報保持部4、変換情報設定部5、切換接続部6、キー
ボード制御部7、マウス制御部8を設ける。インタフェ
ース制御部2にはキーボード10、マウス20の外に、
カードリーダやハンドスキャナの如き入力装置11、タ
ブレット装置やダイアル・ボックスの如きポインティン
グ入力装置21が接続される。
[Means for Solving the Problems] In order to achieve the above object, in the present invention, as shown in FIG.
, an interface control section 2, a window control section 3, a conversion information holding section 4, a conversion information setting section 5, a switching connection section 6, a keyboard control section 7, and a mouse control section 8. In addition to the keyboard 10 and mouse 20, the interface control unit 2 includes
An input device 11 such as a card reader or hand scanner, and a pointing input device 21 such as a tablet device or a dial box are connected.

【0014】変換情報保持部4には、例えばICカード
リーダ用の変換情報、ハンドスキャナ用の変換情報、タ
ブレット用の変換情報、ダイアル・ボックス用の変換情
報など、入力装置、ポインティング入力装置毎の変換情
報4−0、4−1・・・が保持される。
The conversion information holding unit 4 stores information for each input device and pointing input device, such as conversion information for IC card readers, conversion information for hand scanners, conversion information for tablets, and conversion information for dial boxes. Conversion information 4-0, 4-1, . . . is held.

【0015】キーボード制御部7には変換処理部7−0
が設けられ、入力装置としてICカードリーダが接続さ
れる場合には、変換情報保持部4からICカードリーダ
用の変換情報をよみ出してその変換処理部7−0にセッ
トし、以下これによりICカードリーダからの入力デー
タをキーボードと同様のデータに変換する。
The keyboard control section 7 includes a conversion processing section 7-0.
is provided, and when an IC card reader is connected as an input device, the conversion information for the IC card reader is read from the conversion information holding unit 4 and set in the conversion processing unit 7-0. Converts input data from a card reader into data similar to a keyboard.

【0016】マウス制御部8にも、同様に変換処理部8
−0が設けられ、ポインティング入力装置としてタブレ
ット装置が使用される場合には、変換情報保持部4から
タブレット装置用の変換情報をよみ出してその変換処理
部8−0にセットし、以下これによりタブレット装置か
らの入力データをキーボードと同様のデータに変換する
Similarly, the mouse control section 8 also includes a conversion processing section 8.
-0 is provided and a tablet device is used as a pointing input device, the conversion information for the tablet device is read from the conversion information holding unit 4 and set in the conversion processing unit 8-0. Convert input data from a tablet device into data similar to a keyboard.

【0017】[0017]

【作用】本発明によれば、例えばICカードリーダが使
用されたとき、インタフェース制御部2がこれを判断し
て変換情報設定部5が変換情報保持部4からそれに対応
する変換情報を読み出し、これをキーボード制御部7に
出力し、変換処理部7−0にセットする。
[Operation] According to the present invention, when an IC card reader is used, for example, the interface control unit 2 determines this, and the conversion information setting unit 5 reads the corresponding conversion information from the conversion information holding unit 4, and is output to the keyboard control section 7 and set in the conversion processing section 7-0.

【0018】キーボード制御部7に入力されたICカー
ドリーダから入力されたデータは、この変換処理部7−
0によりキーボード・データと同様の形式のデータに変
換され、切換接続部6を経由して、ウィンドウ制御部3
に伝達され、動作中のアプリケーションプログラム例え
ば3−0にもとづき処理が行われる。
Data inputted from the IC card reader to the keyboard control section 7 is processed by the conversion processing section 7-
0 is converted into data in the same format as keyboard data, and sent via the switching connection 6 to the window control unit 3.
and processing is performed based on the running application program, for example 3-0.

【0019】また、タブレットからのデータがインタフ
ェース制御部2に入力されるとき、今度は、変換情報保
持部4からタブレットに対応した変換情報が読み出され
てマウス制御部8の変換処理部8−0にセットされてこ
れにもとづき、マウス・データと同様の形式のデータに
変換され、ウィンドウ制御部3及び動作中のアプリケー
ションにより処理されることになる。
Furthermore, when data from the tablet is input to the interface control section 2, conversion information corresponding to the tablet is read out from the conversion information holding section 4 and sent to the conversion processing section 8- of the mouse control section 8. It is set to 0, and based on this, it is converted into data in the same format as mouse data, and is processed by the window control unit 3 and the running application.

【0020】勿論キーボード10またはマウス20から
の入力は、従来通りそのままウィンドウ制御部3に入力
される。
Of course, input from the keyboard 10 or mouse 20 is directly input to the window control unit 3 as before.

【0021】[0021]

【実施例】本発明の一実施例を図2〜図4にもとづき説
明する。図2は本発明の一実施例構成図、図3はデータ
単位説明図、図4はキーボード制御部/マウス制御の概
略説明図である。
[Embodiment] An embodiment of the present invention will be explained based on FIGS. 2 to 4. FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is a data unit explanatory diagram, and FIG. 4 is a schematic explanatory diagram of keyboard control section/mouse control.

【0022】図2において図1と同一記号は同一部分を
示し、9はセットアップ指示部である。
In FIG. 2, the same symbols as in FIG. 1 indicate the same parts, and 9 is a setup instruction section.

【0023】本体ハードウェア部1は、例えばワークス
テーションの本体部分である。
The main body hardware section 1 is, for example, the main body part of a workstation.

【0024】インタフェース制御部2は、キーボード1
0、マウス20、ICカードリーダの如き入力装置11
、タブレット装置の如きポインティング入力装置21等
と、例えばRS232Cインタフェース規格で接続制御
するものであり、後述するように、図3に示す如く、デ
ータ単位を切り出すことも行う。
[0024] The interface control unit 2 controls the keyboard 1
0, mouse 20, input device 11 such as an IC card reader
, a pointing input device 21 such as a tablet device, etc., using, for example, the RS232C interface standard.As will be described later, it also cuts out data units as shown in FIG.

【0025】ウィンドウ制御部3はウィンドウを設定し
たり、その大きさを変えたり、マウスからのデータによ
りビットマップを書きかえたりするものである。
The window control section 3 sets a window, changes its size, and rewrites a bitmap using data from the mouse.

【0026】変換情報保持部4は、前記の如く、入力装
置、ポインティング入力装置毎の変換情報4−0、4−
1・・・が保持される。ここでICカードリーダやOC
Rハンドスキャナ等の入力装置に対する変換情報は主に
データをキーボードと同様に変換する変換テーブルであ
り、タブレット装置やダイアル・ボックスの如きポイン
ティング入力装置に対する変換情報は、数値をマウス用
に変換する変換テーブルである。さらにオフセットのか
かっている場合にはオフセットの引算後変換処理するな
ど引算等の演算が必要となる場合が存在したり、1バイ
トデータを2バイトデータに拡張することが必要となる
場合があるため、コマンドあるいはプログラム等も記入
されていることがある。
As described above, the conversion information holding unit 4 stores conversion information 4-0, 4- for each input device and pointing input device.
1... is held. Here, use an IC card reader or OC.
Conversion information for input devices such as R hand scanners is mainly a conversion table that converts data in the same way as a keyboard, and conversion information for pointing input devices such as tablet devices and dial boxes is a conversion table that converts numerical values to those for a mouse. It's a table. Furthermore, if an offset is applied, there may be cases where operations such as subtraction are required, such as conversion processing after subtracting the offset, or there may be cases where it is necessary to expand 1-byte data to 2-byte data. Therefore, commands or programs may also be entered.

【0027】変換情報設定部5は変換情報保持部4から
所定の変換情報を抽出するものである。この外インタフ
ェース制御部2への転送速度(ボーレート)の設定など
各種制御情報の設定処理を行ったり、入力装置、ポイン
ティング入力装置などの接続装置が正しく接続されてい
るかの装置の認識処理を行う。装置に対して制御オーダ
を発行して情報獲得するなど、直接制御を行う場合は変
換モードOFFで使用する。
The conversion information setting section 5 extracts predetermined conversion information from the conversion information holding section 4. It performs various control information setting processes such as setting the transfer rate (baud rate) to the external interface control unit 2, and performs device recognition processing to determine whether connected devices such as input devices and pointing input devices are correctly connected. When performing direct control such as issuing a control order to a device and acquiring information, use the conversion mode OFF.

【0028】切換接続部6は、キーボード制御部7、マ
ウス制御部8からの信号をウィンドウ制御部3、変換情
報設定部5に対し選択的に送出したり、変換情報設定部
5からの信号をキーボード制御部7、マウス制御部8に
対し選択的に送出するものである。
The switching connection section 6 selectively sends signals from the keyboard control section 7 and mouse control section 8 to the window control section 3 and conversion information setting section 5, and selectively sends signals from the conversion information setting section 5. It is selectively sent to the keyboard control section 7 and mouse control section 8.

【0029】キーボード制御部7はICカードリーダ、
OCRハンドスキャナ等の入力装置からの信号をキーボ
ード信号に変換するものであり、これらの入力装置毎の
変換情報を保持する変換情報セット部7−0を有する。
[0029] The keyboard control unit 7 includes an IC card reader,
It converts signals from an input device such as an OCR hand scanner into a keyboard signal, and includes a conversion information set section 7-0 that holds conversion information for each of these input devices.

【0030】マウス制御部8は、タブレット装置やダイ
アル・ボックス等のポインティング入力装置からの信号
をマウス信号に変換するものであり、各ポインティング
入力装置毎の変換情報を保持する変換情報セット部8−
0を有する。この変換情報は、単に数字を置換するのみ
でなく、演算機能等をも記入することができる。
The mouse control unit 8 converts signals from pointing input devices such as tablet devices and dial boxes into mouse signals, and includes a conversion information set unit 8- which holds conversion information for each pointing input device.
has 0. This conversion information can not only simply replace numbers, but also include arithmetic functions and the like.

【0031】例えばX,Yデータが80(16進)+X
,80(16進)+Yという形でポインティング入力装
置から入力されてくる場合があるが、このとき「80」
を引算して、変換して、ウィンドウシステムに送出する
ことが必要であり、このような演算用のコマンドが記入
できる。また1バイトデータを2バイトデータに拡張せ
よというコマンドを記入しておき、2バイトデータとし
て出力することもできる。この演算は、図4におけるデ
ータの変換処理部8−1が変換処理部8−0のコマンド
にもとづき行い、それから変換情報セット部8−0の変
換テーブルデータにもとづきマウスデータに変換される
For example, the X, Y data is 80 (hexadecimal) +
, 80 (hexadecimal) + Y may be input from the pointing input device, but in this case "80"
It is necessary to subtract, convert, and send to the window system, and commands for such operations can be written. It is also possible to write a command to expand 1-byte data into 2-byte data and output it as 2-byte data. This calculation is performed by the data conversion processing section 8-1 in FIG. 4 based on a command from the conversion processing section 8-0, and then converted into mouse data based on the conversion table data of the conversion information setting section 8-0.

【0032】セットアップ指示部9はインタフェース制
御部2に接続された入力装置11、ポインティング入力
装置21の種類に応じて装置毎の変換情報を変換情報設
定部5が変換情報保持部4からよみ出すときのセットア
ップ指示を与えるものである。
The setup instruction section 9 instructs the conversion information setting section 5 to read conversion information for each device from the conversion information holding section 4 according to the type of the input device 11 and pointing input device 21 connected to the interface control section 2. It provides setup instructions.

【0033】次に本発明の動作について、例えばタブレ
ット装置をインタフェース制御部2に接続した場合につ
いて説明する。
Next, the operation of the present invention will be explained, for example, when a tablet device is connected to the interface control section 2.

【0034】インタフェース制御部2は、ポインティン
グ入力装置21が接続されると、これを変換情報設定部
5に通知する。このとき変換モードはOFFである。こ
れにより変換情報設定部5はポインティング入力装置2
1より送出される先頭のIDを解読してその種類を判別
する。例えばタブレット装置であることを認定する。そ
してセットアップ指示部9の指示にもとづき、変換情報
保持部4から、例えばタブレット装置用の変換情報を読
み出し、切換接続部6を経由して、図4に示すマウス制
御部8の変換情報セット部8−0に記入される。
When the pointing input device 21 is connected, the interface control section 2 notifies the conversion information setting section 5 of this. At this time, the conversion mode is OFF. As a result, the conversion information setting section 5
The first ID sent from 1 is decoded to determine its type. For example, it is determined that the device is a tablet device. Then, based on the instructions from the setup instruction section 9, conversion information for, for example, a tablet device is read from the conversion information holding section 4, and is sent to the conversion information setting section 8 of the mouse control section 8 shown in FIG. 4 via the switching connection section 6. -0 is entered.

【0035】この変換情報には、図4の各種制御情報の
設定として示されているように変換モード設定指示、デ
ータ単位長チェック指定、変換テーブルデータ、ヘッダ
長、コマンド等が存在する。このうち変換テーブルデー
タとコマンドは変換情報セット部8−0に記入され、デ
ータ単位長のチェック指定とその単位長(ヘッダ値ごと
にも指定可能)、データ単位の先頭にあるヘッダ長(0
〜N)の削除指定等を行い、最後に変換モードをONに
する。そしてデータ長とヘッダ値/長さについては複数
組設定可能である。この複数組設定のとき、複数設定値
のどれかと一致すればよい。
This conversion information includes conversion mode setting instructions, data unit length check specifications, conversion table data, header length, commands, etc., as shown in the settings of various control information in FIG. Among these, the conversion table data and commands are entered in the conversion information set section 8-0, and the check specification of the data unit length, the unit length (which can also be specified for each header value), and the header length at the beginning of the data unit (0
-N), and finally turn on the conversion mode. Multiple sets of data length and header value/length can be set. When setting multiple sets, it is sufficient if the value matches any one of the multiple set values.

【0036】次にオペレータがタブレット装置を操作す
れば、例えば図3に示す如き受信データR4 ,R5 
,R6 ,R7 がインタフェース制御部2に伝達され
る。このときインタフェース制御部2では、データ単位
作成のための閾値Th0が指示されており、受信データ
R4 とその前の受信データR3 との時間T3 がT
3 >Th0であり、かつR4 〜R7 の時間T4 
〜T6 がいずれもTh0以下であり、次の受信データ
R8 との時間T7 がT7 >Th0であれば受信デ
ータR4 〜R7 をデータ単位と判定し、これをまと
めてマウス制御部8に通知する。
Next, when the operator operates the tablet device, received data R4 and R5 as shown in FIG.
, R6 and R7 are transmitted to the interface control section 2. At this time, the interface control unit 2 is instructed to set a threshold Th0 for creating a data unit, and the time T3 between the received data R4 and the previous received data R3 is T.
3>Th0 and time T4 of R4 to R7
.about.T6 are all less than Th0, and if the time T7 with respect to the next received data R8 is T7>Th0, the received data R4 to R7 are determined to be a data unit and are collectively notified to the mouse control section 8.

【0037】ところでタブレット装置の入力データは、
この場合先頭の受信データR4 が装置IDを示し、受
信データR5 はボタン情報を示し、受信データR6 
,R7 がX,Y座標を示す。
By the way, the input data of the tablet device is
In this case, the first received data R4 indicates the device ID, the received data R5 indicates button information, and the received data R6
, R7 indicate the X and Y coordinates.

【0038】したがって、このようなデータ単位の場合
には、変換モードONのとき、受信データR4 〜R7
 の単位長チェックが行われ、次にヘッダ部分があれば
削除される。この例ではR4 がヘッダであるのでこれ
が削除される。そして残りのデータに対し、データの変
換処理部8−1を経由して変換情報セット部8−0で保
持されている変換テーブルデータにもとづきマウスデー
タに変換される。例えばヘッダ部分除去後の入力データ
が0×08のとき、変換テーブルの0×08に位置して
いるデータと置き換えられる。
Therefore, in the case of such a data unit, when the conversion mode is ON, the received data R4 to R7
A unit length check is performed, and then the header part, if any, is deleted. In this example, R4 is a header, so it is deleted. The remaining data is then converted into mouse data via the data conversion processing section 8-1 based on the conversion table data held in the conversion information setting section 8-0. For example, when the input data after removing the header portion is 0x08, it is replaced with the data located at 0x08 in the conversion table.

【0039】なお、この変換データ部分の選択において
、対象対とされたデータは、変換情報設定部5に対し通
知される。また変換情報設定部5が入力装置、ポインテ
ィング入力装置等からのデータを直接読み込む場合には
、変換モードをOFFとすればよい。
[0039] In this selection of the converted data portion, the data that is the target pair is notified to the conversion information setting unit 5. Further, when the conversion information setting section 5 directly reads data from an input device, pointing input device, etc., the conversion mode may be turned OFF.

【0040】ところで、マウス20からの出力データは
、図3における受信データR1 ,R2 ,R3 で構
成される単位データであり、R1 はボタン情報、R2
 ,R3 はX,Y座標を示す。したがって、受信デー
タR4 〜R7 において、ヘッダ部分R4 を削除す
れば、マウス出力と同じ形式となるので、これを変換す
ればよい。
By the way, the output data from the mouse 20 is unit data composed of received data R1, R2, and R3 in FIG. 3, where R1 is button information and R2 is
, R3 indicate the X, Y coordinates. Therefore, if the header portion R4 is deleted from the received data R4 to R7, it will have the same format as the mouse output, so it is sufficient to convert this.

【0041】前述の如く、オフセットが存在するデータ
もあるので、例えばオフセットが80のときこれより大
きいデータに対してはオフセットが存在するものと判断
して、前記の如く、図4のデータの変換処理部8−1で
減算等の演算を行い、これを変換情報セット部8−0で
変換すればよい。
As mentioned above, since some data has an offset, for example, when the offset is 80, it is determined that an offset exists for data larger than this, and the data conversion shown in FIG. 4 is performed as described above. The processing unit 8-1 may perform calculations such as subtraction, and the conversion information setting unit 8-0 may convert this.

【0042】なお、タブレット装置をCADなどのアプ
リケーションが直接使用する場合には、タブレット装置
のオープンを行う。これによりタブレット装置からの入
力データは、マウス制御部8で変換処理されることなく
、ウィンドウ制御部3に伝達され、例えばCAD用のア
プリケーション3−nにより処理されることになる。 そしてタブレット装置をクローズすれば、マウス制御部
8で変換制御されるものとなる。
Note that when the tablet device is directly used by an application such as CAD, the tablet device is opened. As a result, the input data from the tablet device is transmitted to the window control unit 3 without being converted by the mouse control unit 8, and is processed by, for example, the CAD application 3-n. Then, when the tablet device is closed, the conversion is controlled by the mouse control unit 8.

【0043】ICカードリーダやOCRハンドスキャナ
の如き入力装置が使用されるとき、キーボード制御部7
における制御が行われるが、キーボード制御部7も、図
4に示すマウス制御部8と同様に構成されているので、
これに対する説明は省略する。
When an input device such as an IC card reader or an OCR hand scanner is used, the keyboard control section 7
The keyboard control unit 7 is also configured similarly to the mouse control unit 8 shown in FIG.
Explanation regarding this will be omitted.

【0044】また上記説明はRS232C系の入力装置
、ポインティング入力装置の例について説明したが、本
発明はRS232C系のみに限定されるものではない。
[0044] Furthermore, although the above description has been made regarding examples of RS232C type input devices and pointing input devices, the present invention is not limited to only RS232C type input devices.

【0045】[0045]

【発明の効果】本発明によれば、例えばICカードリー
ダの如き入力装置をキーボードとして使用し、タブレッ
ト装置の如きポインティング入力装置をマウスとして使
用する場合にも、アプリケーションプログラムやウィン
ドウシステムを修正する必要なく、また特別な変換プロ
グラムなどを用意せずに、変換情報を用意するのみで、
これらのものからの入力データを、あたかもキーボード
あるいはマウスからのデータであるかのように処理する
ことができるので、これらの装置を使用してオペレータ
とシステムあるいはオペレータとウィンドウ制御システ
ムとの会話処理を行うことがてきる。
According to the present invention, it is not necessary to modify the application program or the window system even when using an input device such as an IC card reader as a keyboard and a pointing input device such as a tablet device as a mouse. All you need to do is prepare the conversion information, without having to prepare any special conversion programs, etc.
Input data from these devices can be processed as if it were from a keyboard or mouse, so these devices can be used to handle operator-to-system or operator-to-window control system interactions. I can do it.

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

【図1】本発明の原理構成図である。FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】本発明の一実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】データ単位説明図である。FIG. 3 is a data unit explanatory diagram.

【図4】マウス制御部(キーボード制御部)の概略説明
図である。
FIG. 4 is a schematic explanatory diagram of a mouse control section (keyboard control section).

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

1  本体ハードウェア部 2  インタフェース制御部 3  ウィンドウ制御部 4  変換情報保持部 5  変換情報設定部 6  切換接続部 7  キーボード制御部 8  マウス制御部 1 Main unit hardware section 2 Interface control section 3 Window control section 4 Conversion information holding unit 5 Conversion information setting section 6 Switching connection part 7 Keyboard control section 8 Mouse control section

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  キーボード、マウスが接続可能なイン
タフェース制御手段と、ウィンドウ制御手段を有するデ
ータ処理装置において、キーボード制御手段と、マウス
制御手段と、変換情報保持手段と、変換情報設定手段を
設け、インタフェース制御部に接続された入力手段又は
ポインティング入力手段より送出される入力データを、
キーボード制御部又はマウス制御手段によりキーボード
データ又はマウスデータと同様に変換し、これをウィン
ドウ制御手段に送出するように構成することを特徴とす
る入力データのキーボード・マウスデータへの変換方式
1. A data processing device having an interface control means to which a keyboard and a mouse can be connected, and a window control means, further comprising a keyboard control means, a mouse control means, a conversion information holding means, and a conversion information setting means, The input data sent from the input means or pointing input means connected to the interface control section,
A method for converting input data into keyboard/mouse data, characterized in that the input data is converted in the same way as keyboard data or mouse data by a keyboard control section or mouse control means, and is sent to a window control means.
【請求項2】  前記変換情報保持手段には、インタフ
ェース制御手段に接続される入力装置、ポインティング
入力装置の各装置毎の変換情報を保持することを特徴と
する請求項1記載の入力データのキーボード・マウスデ
ータへの変換方式。
2. The keyboard for input data according to claim 1, wherein the conversion information holding means holds conversion information for each device, such as an input device and a pointing input device connected to the interface control means. - Conversion method to mouse data.
【請求項3】  変換情報設定手段を設け、インタフェ
ース制御手段に接続された入力装置またはポインティン
グ入力装置にもとづきこの変換情報設定手段が前記変換
情報保持手段から自動的にこれに対応する変換情報を抽
出してキーボード制御部又はマウス制御部に送出するこ
とを特徴とする請求項2記載の入力データのキーボード
・マウスデータへの変換方式。
3. Conversion information setting means is provided, and the conversion information setting means automatically extracts corresponding conversion information from the conversion information holding means based on an input device or pointing input device connected to the interface control means. 3. The method for converting input data into keyboard/mouse data according to claim 2, wherein the input data is sent to a keyboard control section or a mouse control section.
【請求項4】  前記変換情報には、変換テーブルデー
タが格納されており、入力装置又はポインティング入力
装置の入力データを、これによりキーボードデータ又は
マウスデータに変換することを特徴とする請求項2記載
の入力データのキーボード・マウスデータへの変換方式
4. The conversion information stores conversion table data, and input data of an input device or pointing input device is thereby converted into keyboard data or mouse data. A method for converting input data into keyboard/mouse data.
【請求項5】  前記キーボード制御部では、ICカー
ドリーダ、OCRハンドスキャナの如き入力装置からの
入力データをキーボードデータに変換し、またマウス制
御部ではタブレット装置、ダイアルボックスの如きポイ
ンティング入力装置からの入力データをマウスデータに
変換するように構成したことを特徴とする請求項2記載
の入力データのキーボード・マウスデータへの変換方式
5. The keyboard control section converts input data from an input device such as an IC card reader or OCR hand scanner into keyboard data, and the mouse control section converts input data from a pointing input device such as a tablet device or dial box. 3. The method for converting input data into keyboard/mouse data according to claim 2, wherein the method is configured to convert input data into mouse data.
【請求項6】  データ変換処理手段を設け、ポインテ
ィング入力装置から入力されたデータを演算処理したの
ちマウスデータに変換することを特徴とする請求項2記
載の入力データのキーボード・マウスデータへの変換方
式。
6. Conversion of input data into keyboard/mouse data according to claim 2, further comprising a data conversion processing means, which performs arithmetic processing on the data input from the pointing input device and then converts the data into mouse data. method.
JP3171677A 1991-06-17 1991-06-17 Conversion system of input data into keyboard mouse data Pending JPH04369018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3171677A JPH04369018A (en) 1991-06-17 1991-06-17 Conversion system of input data into keyboard mouse data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3171677A JPH04369018A (en) 1991-06-17 1991-06-17 Conversion system of input data into keyboard mouse data

Publications (1)

Publication Number Publication Date
JPH04369018A true JPH04369018A (en) 1992-12-21

Family

ID=15927654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3171677A Pending JPH04369018A (en) 1991-06-17 1991-06-17 Conversion system of input data into keyboard mouse data

Country Status (1)

Country Link
JP (1) JPH04369018A (en)

Similar Documents

Publication Publication Date Title
JPH04369018A (en) Conversion system of input data into keyboard mouse data
JPH08328717A (en) Keyboard with serial input interface
JPH05204860A (en) Job identification mark input conversion system
JP2900071B2 (en) Programming device for programmable controller
JP2536165B2 (en) Transaction retention processing method
JPS62113224A (en) Keyboard data input device
JP2950053B2 (en) Computer monitoring method
JPH0675908A (en) On-line real time processing system
CN115857782A (en) Automatic information input method and system based on artificial intelligence
JPH09134244A (en) Data conversion device
JPS63268026A (en) Display device
JPH0736594A (en) Signal input device and signal input method
JPS6225329A (en) Generation control system for control program
JPH03253930A (en) Keyboard with magnetic card reader
JPS6226583A (en) Drawing input device of programmable controller
JPH04165480A (en) Portable terminal device
JPH0362153A (en) On-line processing system
JPH06149427A (en) Data processing system
JPS6260027A (en) Specification system for discrimination information
JPH06149738A (en) Information terminal device
JPH0424778A (en) Document processor
JPH01133110A (en) Communication method for sequence controller
JPS63132341A (en) Conversational process control system
JPS62131336A (en) Command processing system
JPH06138990A (en) Data processing system