JPS6326719A - Multi-input system consisting of keyboard and pointer device - Google Patents

Multi-input system consisting of keyboard and pointer device

Info

Publication number
JPS6326719A
JPS6326719A JP61170665A JP17066586A JPS6326719A JP S6326719 A JPS6326719 A JP S6326719A JP 61170665 A JP61170665 A JP 61170665A JP 17066586 A JP17066586 A JP 17066586A JP S6326719 A JPS6326719 A JP S6326719A
Authority
JP
Japan
Prior art keywords
input
keyboard
key code
task
pointer device
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
JP61170665A
Other languages
Japanese (ja)
Inventor
Takeshi Kato
武史 加藤
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP61170665A priority Critical patent/JPS6326719A/en
Publication of JPS6326719A publication Critical patent/JPS6326719A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To ensure the simultaneous inputs through a keyboard and a pointer device by using a mail box as a common data storing area secured between a keyboard input task and a pointer device input task. CONSTITUTION:When an input key routine 10 is started, a keyboard input task II-A and a mouse input task II-B are produced in a task generating process I and work in parallel with each other in a multi-task form. If a keyboard is started, a key code is put into a mail box 33 as long as a key input exists. While an index is obtained to show a specific number of an icon where a pointer is set as long as a mouse button is pushed in case a mouse is started. Then said index is converted into a key code and put into the box 33. In a key code setting process III the key code is extracted out of the box 33 and set to a designated address.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキーボードとポインタデバイスとからのマルチ
入力方式に関し、特にキーボードからの入力とポインタ
デバイスからの入力とを並列的に行うことができるキー
ボードとポインタデバイスとからのマルチ入力方式に関
する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a multi-input method using a keyboard and a pointer device, and in particular to a keyboard that can perform input from a keyboard and input from a pointer device in parallel. and a pointer device.

〔従来の技術〕[Conventional technology]

従来、キーボード入力とマウスなどのポインタデバイス
との両者を使用可能な情報処理装置における入力方式は
、プログラムがキーボード入力モードとポインタデバイ
ス入力モードとのいずれか一方を択一的に選択して、キ
ーボードとポインタデバイスとのいずれか一方からデー
タを入力可能とするものであった。すなわち、キーボー
ドからの入力を行うときにはポインタデバイスが使用で
きず、ポインタデバイスからの入力を行うときにはキー
ボードを使用することができず、キーボードとポインタ
デバイスとを同時には使用することができなかった。
Conventionally, the input method for information processing devices that can use both keyboard input and a pointer device such as a mouse is that a program selectively selects either the keyboard input mode or the pointer device input mode. It was possible to input data from either the device or the pointer device. That is, the pointer device cannot be used when inputting from a keyboard, the keyboard cannot be used when inputting from a pointer device, and the keyboard and pointer device cannot be used at the same time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の情報処理装置の入力方式では、キーボー
ド入力モードとポインタデバイス入力モードとの一方し
か選択できなかったので、ポインタデバイス入力モード
で数字の入力が面倒となっタリ、キーボード入力モード
ではポインタデバイスの簡易な入力方法を利用すること
ができないという欠点がある。
In the input method of the conventional information processing device described above, only one of the keyboard input mode and the pointer device input mode could be selected, so inputting numbers in the pointer device input mode became troublesome, and the pointer device input mode in the keyboard input mode. The disadvantage is that a simple input method cannot be used.

本発明の目的は、上述の点に1み、キーボードからの入
力とポインタデバイスからの入力とを同時に行うことが
できるキーボードとポインタデバイスとからのマルチ入
力方式を提供することにある。
An object of the present invention is to provide a multi-input method using a keyboard and a pointer device, which allows input from the keyboard and input from a pointer device to be performed simultaneously.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のキーボードとポインタデバイスとからのマルチ
入力方式は、インプットキール−チンの先頭でキーボー
ド入力タスクとポインタデバイス入力タスクとを生成す
るタスク生成処理と、キーボードから入力されたキーコ
ードをメールボックスにプツトする前記キーボード入力
タスクと、ポインタデバイスから入力されたポインタ位
置をキーコード変換テーブルを参照してキーコードを変
換しこのキーコードをメールボックスにプツトする前記
ポインタデバイス入力タスクと、前記メールボックスか
らキーコードをゲットして指定アドレスに設定するキー
コード設定設定処理とを有する。
The multi-input method from the keyboard and pointer device of the present invention includes a task generation process that generates a keyboard input task and a pointer device input task at the beginning of an input key routine, and a key code input from the keyboard that is sent to a mailbox. the pointer device input task that converts a pointer position input from a pointer device into a key code by referring to a key code conversion table and puts this key code into a mailbox; It has a key code setting process of getting a key code and setting it to a designated address.

〔作用〕[Effect]

本発明のキーボードとポインタデバイスとからのマルチ
入力方式では、タスク生成処理がインプットキール−チ
ンの先頭でキーボード入力タスクとポインタデバイス入
力タスクとを生成し、キーボード入力タスクがキーボー
ドから入力されたキーコードをメールボックスにゲット
し、ポインタデバイス入力タスクがポインタデバイスか
ら入力されたポインタ位置をキーコード変換テーブルを
参照してキーコードを変換しこのキーコードをメールボ
ックスにゲットし、キーコード設定設定処理がメールボ
ックスからキーコードをゲットして指定アドレスに設定
する。
In the multi-input method from the keyboard and pointer device of the present invention, the task generation process generates a keyboard input task and a pointer device input task at the beginning of the input key routine, and the keyboard input task is a key code input from the keyboard. into the mailbox, the pointer device input task converts the key code by referring to the key code conversion table at the pointer position input from the pointer device, gets this key code into the mailbox, and executes the key code setting process. Get the key code from your mailbox and set it to the specified address.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第3図は、本発明の一実施例のキーボードとポインタデ
バイスとからのマルチ入力方式を適用するハードウェア
のシステム構成の一例を示すブロック図である。このシ
ステムは、処理の制御を行うCPUIと、CRTでなる
表示装置2と、キー入力を行うためのキーボード3と、
画面上の位置をその動作につれて動く画面上のボインク
で指示するマウス4と、ランダムアクセスメモリ (R
AM)5と、ハードディスク装置(HDD)6、フロッ
ピーディスク装置(FDD)7と、プリンタ(PRT)
8とを含んで構成されている。
FIG. 3 is a block diagram showing an example of a hardware system configuration to which a multi-input method from a keyboard and a pointer device according to an embodiment of the present invention is applied. This system includes a CPUI for controlling processing, a display device 2 consisting of a CRT, and a keyboard 3 for performing key input.
Mouse 4, which indicates the position on the screen with a mouse on the screen that moves according to the movement, and random access memory (R
AM) 5, hard disk device (HDD) 6, floppy disk device (FDD) 7, and printer (PRT)
8.

第1図を参照すると、本実施例のキーボードとポインタ
デバイスとからのマルチ入力方式でのインプットキール
−チン10における処理は、タスク生成処理Iと、キー
ボード入力タスクII−Aと、マウス入力タスク■−B
と、キーコード設定処理■とに分かれている。
Referring to FIG. 1, the processes in the input key routine 10 in the multi-input method from the keyboard and pointer device of this embodiment include a task generation process I, a keyboard input task II-A, and a mouse input task II-A. -B
and key code setting processing ■.

タスク生成処理fは、インプットキール−チン10の内
部の先頭でキーボード入力タスクII−Aとマウス入力
タスクII−Bとを生成する処理である。
The task generation process f is a process for generating a keyboard input task II-A and a mouse input task II-B at the beginning of the input key routine 10.

キーボード入力タスク(I−Aは、キー入力待ちステッ
プ11と、キー入力判定ステップ12と、ゲットメール
ステップ13とからなる。
The keyboard input task (IA) consists of a key input waiting step 11, a key input determination step 12, and a get mail step 13.

マウス入力タスクII−Bは、ポインタ有無判定ステッ
プ21と、ボタン押下判定ステップ22と、キーコード
変換ステップ23と、プツトメールステップ24とから
なる。キーコード変換ステップ23は、キーコード変換
テーブル25(第2図参照)を参照してポインタ位置を
キーコードに変換する。
The mouse input task II-B consists of a pointer presence/absence determination step 21, a button press determination step 22, a key code conversion step 23, and a put mail step 24. The key code conversion step 23 converts the pointer position into a key code by referring to the key code conversion table 25 (see FIG. 2).

アドレス設定処理■は、ゲットメールステップ31と、
キーコード設定ステップ32とからなる。ゲットメール
ステップ31では、メールボックス33にキーコードが
入力されるとメールボックス33からキーコードをゲッ
トする。
The address setting process ■ is the get mail step 31,
This step consists of a key code setting step 32. In the get mail step 31, when the key code is input into the mail box 33, the key code is obtained from the mail box 33.

第2図を参照すると、キーコード変換テーブル25は、
アイコンが縦方向に並ぶ形式か横方向に並ぶ形式かを識
別するアイコンタイプと、アイコンの幅(アイコンが横
方向に並ぶ形式の場合)またはアイコンの高さくアイコ
ンが縦方向に並ぶ形式の場合)と、アイコンメニューの
左上の位置の横方向の座標xstartおよび縦方向の
座標Ystartと、アイコンメニューの右下の位置の
1方向の座標X endおよび縦方向の座標Y end
と、アイコンを特定するためのインデックスとキーコー
ドとの対応テーブルとを有している。なお、本実施例の
場合には各アイコンが横または縦に等しい幅または高さ
で設けられており、マウス4のポインタ位置に割算等の
演算を施すことにより簡単にインデックスを求めること
ができる。
Referring to FIG. 2, the key code conversion table 25 is as follows:
The icon type, which identifies whether the icons are arranged vertically or horizontally, and the width of the icon (if the icons are arranged horizontally) or the height of the icon (if the icons are arranged vertically) , the horizontal coordinate x start and the vertical coordinate Y start of the top left position of the icon menu, and the one direction coordinate X end and the vertical coordinate Y end of the bottom right position of the icon menu
and a correspondence table between indexes and key codes for specifying icons. In the case of this embodiment, each icon is provided with the same width or height horizontally or vertically, and the index can be easily obtained by performing an operation such as division on the pointer position of the mouse 4. .

次に、このように構成された本実施例のキーボードとポ
インタデバイスとからのマルチ入力方式の動作について
説明する。
Next, the operation of the multi-input method from the keyboard and pointer device of this embodiment configured as described above will be explained.

まず、メインルーチンでは、CPUIの制御により表示
装置2上にアイコンメニューが表示される。これにより
、マウス4のポインタが設定されるべきアイコンのエリ
アが定まり、マウス4を入力装置として使用可能な状態
となる。
First, in the main routine, an icon menu is displayed on the display device 2 under the control of the CPUI. This determines the area of the icon where the pointer of the mouse 4 is to be set, and the mouse 4 becomes usable as an input device.

この状態から、キーボード3のインプットキーまたはマ
ウス4のボタンが押されメインルーチンでインプットキ
ール−チン10が起動されると、その内部のタスク生成
処理Iでキーボード入力タスク■〜Aとマウス入力タス
クII−Bとが生成され、これら2つのタスクがマルチ
タスクで並列的に動作するようになる。
From this state, when the input key on the keyboard 3 or the button on the mouse 4 is pressed and the input key routine 10 is activated in the main routine, the internal task generation process I generates keyboard input tasks ~A and mouse input tasks II. -B is generated, and these two tasks operate in parallel as a multitask.

インプットキール−チン10を起動したのがキーボード
3の場合には、キー入力待ちステ、ブ11を経てキー入
力の判定が行われ(ステップ12)、キー入力でなけれ
ばステップ11に戻り、キー入力であればキーコードが
メールボックス33にプツトされる(ステップ13)。
If the input key routine 10 is activated by the keyboard 3, a key input is determined after entering the key input waiting step and block 11 (step 12), and if there is no key input, the process returns to step 11 and the key input is If so, the key code is put into the mailbox 33 (step 13).

インプットキール−チン10を起動したのがマウス4の
場合には、キーコード変換テーブル25の座標X5ta
rt 、 Ystatt 、 XendおよびY en
dに基づいてアイコンのエリアにポインタがあるかどう
かが判定される(ステップ21)。アイコンのエリアに
ポインタがあれば、次にマウス4のボタンが押されてい
るかどうかが判定される(ステップ22)。アイコンの
エリアにポインタがなかったり、有ってもボタンが押さ
れていなかったりした場合にはステップ21に戻る。ス
テップ22でボタンが押されていれば、キーコード変換
テーブル25を使って何番目のアイコンにポインタが位
置しているかを示すインデックスが求められ、このイン
デックスがキーコードに変換される(ステップ23)。
If the input key routine 10 is started by the mouse 4, the coordinate X5ta of the key code conversion table 25 is
rt, Ystatt, Xend and Yen
Based on d, it is determined whether the pointer is in the icon area (step 21). If the pointer is in the icon area, then it is determined whether the mouse 4 button is pressed (step 22). If there is no pointer in the icon area, or if there is a pointer but no button is pressed, the process returns to step 21. If the button is pressed in step 22, an index indicating which icon the pointer is located on is obtained using the key code conversion table 25, and this index is converted into a key code (step 23). .

そして、得られたキーコードがメールボックス33にプ
ツトされる(ステップ24)。
The obtained key code is then put into the mailbox 33 (step 24).

なお、キーボード入力タスクn−Aとマウス入力タスク
n−Bとは、制御がタスクを通過した後に消滅される。
Note that the keyboard input task n-A and the mouse input task n-B are deleted after the control passes through the tasks.

キーコード設定処理■では、メールボックス33にキー
ボード入力タスクII−Aまたはマウス入力タスクII
−Bからキーコードがゲットされると、プツトされたキ
ーコードがメールボックス33からゲットされ(ステッ
プ31)、指定されたアドレスに設定される(ステップ
32)。
In the key code setting process ■, the keyboard input task II-A or mouse input task II is sent to the mailbox 33.
When the key code is obtained from -B, the put key code is obtained from the mailbox 33 (step 31) and set to the specified address (step 32).

この後、インプットキール−チン10を抜け、メインル
ーチンに制御が戻る。
Thereafter, the input key routine 10 is exited and control returns to the main routine.

なお、本実施例ではポインタデバイスとしてマウス4を
使用する場合について述べたが、ライトペン等のその他
のポインタデバイスを使用してもよいことはいうまでも
ない。
In this embodiment, a case has been described in which the mouse 4 is used as the pointer device, but it goes without saying that other pointer devices such as a light pen may also be used.

また、本実施例では機能選択画面としてアイコンメニュ
ーを使用する場合について述べたが、プルダウンメニュ
ー等の他の機能選択画面を使用してもよいことはいうま
でもない。
Further, in this embodiment, a case has been described in which an icon menu is used as the function selection screen, but it goes without saying that other function selection screens such as a pull-down menu may be used.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、キーボード入力タ
スクとボインクデバイス入力タスクとをマルチタスクで
並列的に走らせタスク間の共通のデータ格納エリアとし
てメールボックスを使用するようにしたことにより、キ
ーボードからでもポインタデバイスからでも同時に入力
することができるようになるという効果がある。
As explained above, according to the present invention, the keyboard input task and the voice input task are run in parallel as a multitask, and the mailbox is used as a common data storage area between the tasks. This has the effect of allowing input to be made simultaneously from both the computer and the pointer device.

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

第1図は本発明の一実施例のキーボードとポインタデバ
イスとからのマルチ入力方式における処理を示すフロー
チャート、 第2図は第1図中に示したキーコード変1桑テープルの
内容を示す図、 第3図は第1図に示したキーボードとポインタデバイス
とからのマルチ入力方式が適用されるハードウェアのシ
ステム構成の一例を示すブロック図である。 図において、 1・・・cpu。 2・・・表示装置、 3・・・キーボード、 4・・・マウス、 5・・・ランダムアクセスメモリ (RAM)、6・・
・ハードディスク装置(HD D)、7・・・フロッピ
ーディスク=i(FDD)、8・・・プリンタ (PR
T)、 10・・・インプットキール−チン、 13、24・ゲットメールステップ、 23・・・キーコード変換ステップ、 25・・・キーコード変換テーブル、 31・・・ゲットメールステップ、 33・・・メールボックス、 ■・・・タスク生成処理、 ■−八・キーボード入力タスク、 n−8・マウス入力タスク、 ■・・・キーコード設定処理である。
FIG. 1 is a flowchart showing processing in a multi-input method from a keyboard and pointer device according to an embodiment of the present invention; FIG. 2 is a diagram showing the contents of the key code change 1 mulberry table shown in FIG. 1; FIG. 3 is a block diagram showing an example of a hardware system configuration to which the multi-input method from the keyboard and pointer device shown in FIG. 1 is applied. In the figure, 1...cpu. 2... Display device, 3... Keyboard, 4... Mouse, 5... Random access memory (RAM), 6...
・Hard disk device (HDD), 7... Floppy disk = i (FDD), 8... Printer (PR
T), 10... Input key routine, 13, 24... Get mail step, 23... Key code conversion step, 25... Key code conversion table, 31... Get mail step, 33... Mailbox, ■...Task generation process, ■-8 Keyboard input task, n-8 Mouse input task, ■...Key code setting process.

Claims (1)

【特許請求の範囲】 インプットキールーチンの先頭でキーボード入力タスク
とポインタデバイス入力タスクとを生成するタスク生成
処理と、 キーボードから入力されたキーコードをメールボックス
にプットする前記キーボード入力タスクと、 ポインタデバイスから入力されたポインタ位置をキーコ
ード変換テーブルを参照してキーコードを変換しこのキ
ーコードをメールボックスにプットする前記ポインタデ
バイス入力タスクと、前記メールボックスからキーコー
ドをゲットして指定アドレスに設定するキーコード設定
設定処理と、 を有することを特徴とするキーボードとポインタデバイ
スとからのマルチ入力方式。
[Scope of Claims] Task generation processing that generates a keyboard input task and a pointer device input task at the beginning of an input key routine; the keyboard input task that puts a key code input from the keyboard into a mailbox; and a pointer device. The pointer device input task converts the input pointer position to a key code by referring to the key code conversion table and puts this key code to the mailbox, and the pointer device input task that retrieves the key code from the mailbox and sets it to the specified address. A multi-input method from a keyboard and a pointer device, comprising: a key code setting process; and a multi-input method from a keyboard and a pointer device.
JP61170665A 1986-07-18 1986-07-18 Multi-input system consisting of keyboard and pointer device Pending JPS6326719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61170665A JPS6326719A (en) 1986-07-18 1986-07-18 Multi-input system consisting of keyboard and pointer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61170665A JPS6326719A (en) 1986-07-18 1986-07-18 Multi-input system consisting of keyboard and pointer device

Publications (1)

Publication Number Publication Date
JPS6326719A true JPS6326719A (en) 1988-02-04

Family

ID=15909101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61170665A Pending JPS6326719A (en) 1986-07-18 1986-07-18 Multi-input system consisting of keyboard and pointer device

Country Status (1)

Country Link
JP (1) JPS6326719A (en)

Similar Documents

Publication Publication Date Title
JPH06208448A (en) Method for supplying set-browser having browser item to application and computer control display device therefor
JPS62194532A (en) Display system for designated pattern to be processed
JPS6273327A (en) Work station
JPS63307528A (en) System for transforming icon menu into pallet
JPH07220109A (en) Information processing device/method
JPH10198504A (en) Method for activating function of information processor and system for reading coordinate
JPH03167625A (en) Menu display system
JPS6326719A (en) Multi-input system consisting of keyboard and pointer device
JP2586452B2 (en) Multi-window display device
JPS60189504A (en) Numerical controller
JPS63205722A (en) Menu controller
JPS62293474A (en) Graphic data processor
JPH05119947A (en) Method and device for menu management
JPS6318428A (en) Menu controller
JPS6318429A (en) Menu controller
JPH04130571A (en) Numerical arithmetic system
JPH07121341A (en) Information processor and display control method
JPH04362736A (en) Software development controller
JP2000207087A (en) Displayed graphic selecting method
JPH0289094A (en) System for controlling movement of cursor
JPH0223438A (en) File operating system
JPH08263572A (en) Data input device
JPS6330927A (en) Numeral input system by pointer device
JPH03135655A (en) Editing system for contents of table block
JPH03209575A (en) Optimizing device for data display position