JPH02181815A - Mouse input device forming key code - Google Patents
Mouse input device forming key codeInfo
- Publication number
- JPH02181815A JPH02181815A JP1001820A JP182089A JPH02181815A JP H02181815 A JPH02181815 A JP H02181815A JP 1001820 A JP1001820 A JP 1001820A JP 182089 A JP182089 A JP 182089A JP H02181815 A JPH02181815 A JP H02181815A
- Authority
- JP
- Japan
- Prior art keywords
- key code
- mouse button
- mouse
- data
- circuit
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 15
- 238000010586 diagram Methods 0.000 description 6
Landscapes
- Input From Keyboards Or The Like (AREA)
- Position Input By Displaying (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はキーコードを生成するマウス入力装置に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a mouse input device for generating key codes.
従来、この種のマウス入力装置は、キーボード入力装置
の異なるハードウェアインタフェースを持ち、マウス入
力装置専用の処理をプログラム自身で行う場合のみマウ
ス入力装置を使うことができた。Conventionally, this type of mouse input device has a hardware interface different from that of a keyboard input device, and the mouse input device can only be used when the program itself performs processing dedicated to the mouse input device.
上述した従来の入力装置では、コンピュータ本体にキー
ボードとマウスとの2つのインタフェースコネクタを持
たなければならなかった。また、ソフトウェアでマウス
とキーボードとの2つの入力装置を使う場合には、各々
の入力装置から入力を行うようプログラムを作成しなけ
ればならないという欠点があった。The conventional input device described above requires two interface connectors, a keyboard and a mouse, on the computer main body. Furthermore, when using two input devices, a mouse and a keyboard, in software, there is a drawback in that a program must be created to perform input from each input device.
本発明のキーコードを生成するマウス入力装置は、マウ
スの移動量データを生成する移動量検出回路と、複数の
方向キーに対応するキーコードを保持する方向キーコー
ド記憶部と、前記移動量検出回路より送られてくる移動
量データに対し前記方向キーコード記憶部を参照して複
数の方向キーコードデータを生成する方向キーコード出
力回路と、マウスボタンが押されたか離されなかを検出
するマウスボタン検出回路と、マウスボタンが押された
時及び離された時に生成すべき複数のキーコードを保持
するマウスボタンキーコード記憶部と、前記マウスボタ
ン検出回路で生成されたマウスボタンデータに対し前記
マウスボタンキーコード記憶部を参照してマウスボタン
キーコードデータを生成するマウスボタンキーコード出
力回路と、前記方向キーコード出力回路及び前記マウス
ボタンキーコード出力回路から送られてくるキーコード
を出力するOR回路とを備えて構成される。A mouse input device that generates a key code according to the present invention includes a movement amount detection circuit that generates mouse movement amount data, a direction key code storage section that holds key codes corresponding to a plurality of direction keys, and a movement amount detection circuit that generates mouse movement amount data. A directional key code output circuit that generates a plurality of directional key code data by referring to the directional key code storage unit in response to movement amount data sent from the circuit, and a mouse that detects whether a mouse button is pressed or released. a button detection circuit; a mouse button key code storage unit that holds a plurality of key codes to be generated when a mouse button is pressed and released; A mouse button key code output circuit that generates mouse button key code data by referring to a mouse button key code storage unit, and outputs the key code sent from the direction key code output circuit and the mouse button key code output circuit. and an OR circuit.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図、第
2図(a)は本実施例の移動位置の変化を示す説明図、
第2図(b)はそのときに発生ずるキーコードデータを
示す説明図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2(a) is an explanatory diagram showing changes in the moving position of the embodiment,
FIG. 2(b) is an explanatory diagram showing the key code data generated at that time.
本実施例のマウス入力装置はCPUIとキーボード入力
装置2と、方向キーコード記憶部3と、移動量検出回路
4と、方向キーコード出力回路5と、マウスボタンキー
コード記憶部6と、マウスボタン検出回路7と、マウス
ボタンキーコード出力回路8と、OR回路9とから構成
されている。The mouse input device of this embodiment includes a CPUI, a keyboard input device 2, a direction key code storage section 3, a movement amount detection circuit 4, a direction key code output circuit 5, a mouse button key code storage section 6, and a mouse button. It consists of a detection circuit 7, a mouse button key code output circuit 8, and an OR circuit 9.
次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
まず、本装置でキーボード入力装置を用いてデータを入
力する場合について説明する。キーボード入力装置2で
生成されたキーコードが、OR回路9を経由してCPU
1/\送られる。First, a case in which data is input using a keyboard input device in this apparatus will be described. The key code generated by the keyboard input device 2 is sent to the CPU via the OR circuit 9.
1/\ will be sent.
次に、マウスとして動作する場合について説明する。移
動量検出回路4により、移動量データ10が生成され、
方向キーコード出力回路5へ送られる。方向キーコード
出力回路5は、移動量データ10より対応するキーコー
ドを、方向キーコード記憶部3から読み出し、必要回数
だけ方向キーコードデータ11としてOR回路9へ送る
。つまり第2図(a)で示すようにマウスを、点P。Next, a case in which it operates as a mouse will be explained. Movement amount data 10 is generated by the movement amount detection circuit 4,
The signal is sent to the direction key code output circuit 5. The direction key code output circuit 5 reads out the key code corresponding to the movement amount data 10 from the direction key code storage section 3 and sends it to the OR circuit 9 as the direction key code data 11 a necessary number of times. That is, as shown in FIG. 2(a), move the mouse to point P.
を機転として点P1 ・点P2・点P3・点P4と移動
させた場合、方向キーコード出力回路5は第2図(b)
に示すように複数のXM方向の移動キーコード“+x
”または“−x 、y軸方向の移動キーコード“’+
y′′または’ −y ”という方向キーコードデータ
11をOR回路9へ出力する。When moving from point P1 to point P2 to point P3 to point P4, the direction key code output circuit 5 is as shown in Fig. 2(b).
As shown in , multiple XM direction movement key codes “+x
” or “-x, y-axis movement key code “'+
The direction key code data 11 of y'' or '-y'' is output to the OR circuit 9.
また、マウスボタン検出回路7によりマウスボタンの押
下、解放が検出されると、マウスボタンデータ12が生
成されマウスボタンキーコード出力回路8へ送られる。Further, when the mouse button detection circuit 7 detects the depression or release of a mouse button, mouse button data 12 is generated and sent to the mouse button key code output circuit 8.
マウスボタンキーコード出力回路8は、マウスボタンデ
ータ12より対応するキーコードを、マウスボタンキー
コード記憶部6より読み出し、マウスボタンキーコード
データ13としてOR回路9へ出力される。つまり、愛
2図(a)で示す点P!でマウスボタンが押下されれば
第2図<b)のP ”が出力され、点P3でマウスボタ
ンが解放されると°F°゛が出力される。The mouse button key code output circuit 8 reads out the key code corresponding to the mouse button data 12 from the mouse button key code storage section 6 and outputs it to the OR circuit 9 as the mouse button key code data 13. In other words, point P shown in Figure 2 (a)! If the mouse button is pressed down at point P3, P'' in FIG. 2 <b) is output, and when the mouse button is released at point P3, °F°'' is output.
このようにして、OR回路9よりCPUIへ出力される
キーコードデータ14として第2図(b)のデータが生
成される。In this way, the data shown in FIG. 2(b) is generated as the key code data 14 output from the OR circuit 9 to the CPUI.
以上説明したように本発明は、マウスを使うことにより
得られる移動量データ及びマウスボタンデータをキーボ
ードのキーコードで代用することにより、ソフトウェア
でマウス用の専用プログラムを実行しなくてもマウスを
使用できるという効果がある。また、マウスとキーボー
ド入力装置のインタフェースコネクタを別にする必要も
なくなる。As explained above, the present invention allows the mouse to be used without running a dedicated program for the mouse using software by substituting the movement distance data and mouse button data obtained by using the mouse with the key code of the keyboard. There is an effect that it can be done. Furthermore, there is no need for separate interface connectors for the mouse and keyboard input devices.
第1図は本発明の一実施例の構成を示すブロック図、第
2図(a)は本実施例による移動位置の変化を示す説明
図、第2図(b)はそのときに発生するキーコードデー
タを示す説明図である。
1・・・CPU、2・・・キーボード入力装置、3・・
・方向キーコード記憶部、4・・・移動量検出回路、5
・・・方向キーコード出力回路、6・・・マウスボタン
キーコード記憶部、7・・・マウスボタン検出回路、8
・・・マウスボタンキーコード出力回路、9・・・08
回路、10・・・移動量データ、11・・・方向キーコ
ードデータ、12・・・マウスボタンデータ、13山マ
ウスボタンキーコードデータ、14・・・キーコードデ
ータ。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2(a) is an explanatory diagram showing changes in movement position according to this embodiment, and FIG. 2(b) is a key generated at that time. It is an explanatory diagram showing code data. 1...CPU, 2...Keyboard input device, 3...
・Direction key code storage unit, 4...Movement amount detection circuit, 5
... Direction key code output circuit, 6... Mouse button key code storage section, 7... Mouse button detection circuit, 8
...Mouse button key code output circuit, 9...08
Circuit, 10...Movement amount data, 11...Direction key code data, 12...Mouse button data, 13-mount mouse button key code data, 14...Key code data.
Claims (1)
数の方向キーに対応するキーコードを保持する方向キー
コード記憶部と、前記移動量検出回路より送られてくる
移動量データに対し前記方向キーコード記憶部を参照し
て複数の方向キーコードデータを生成する方向キーコー
ド出力回路と、マウスボタンが押されたか離されたかを
検出するマウスボタン検出回路と、マウスボタンが押さ
れた時及び離された時に生成すべき複数のキーコードを
保持するマウスボタンキーコード記憶部と、前記マウス
ボタン検出回路で生成されたマウスボタンデータに対し
前記マウスボタンキーコード記憶部を参照してマウスボ
タンキーコードデータを生成するマウスボタンキーコー
ド出力回路と、前記方向キーコード出力回路及び前記マ
ウスボタンキーコード出力回路から送られてくるキーコ
ードを出力するOR回路とを備えて成ることを特徴とす
るキーコードを生成するマウス入力装置。a movement amount detection circuit that generates mouse movement amount data; a direction key code storage section that holds key codes corresponding to a plurality of direction keys; and a movement amount detection circuit that generates mouse movement amount data; a direction key code output circuit that generates a plurality of direction key code data by referring to a key code storage section; a mouse button detection circuit that detects whether a mouse button is pressed or released; and a mouse button detection circuit that detects whether a mouse button is pressed or released; a mouse button key code storage unit that holds a plurality of key codes to be generated when the mouse button is released; and a mouse button key code storage unit that refers to the mouse button key code storage unit for the mouse button data generated by the mouse button detection circuit to generate a mouse button key. A key comprising: a mouse button key code output circuit that generates code data; and an OR circuit that outputs the key code sent from the direction key code output circuit and the mouse button key code output circuit. Mouse input device that generates code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1001820A JPH02181815A (en) | 1989-01-06 | 1989-01-06 | Mouse input device forming key code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1001820A JPH02181815A (en) | 1989-01-06 | 1989-01-06 | Mouse input device forming key code |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02181815A true JPH02181815A (en) | 1990-07-16 |
Family
ID=11512199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1001820A Pending JPH02181815A (en) | 1989-01-06 | 1989-01-06 | Mouse input device forming key code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02181815A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0573195A (en) * | 1991-07-18 | 1993-03-26 | Personal Joho Kankyo Kyokai | Converter for operation method |
WO2002079966A1 (en) * | 2001-03-28 | 2002-10-10 | Fujitsu Limited | Interactive content presenting device and method |
-
1989
- 1989-01-06 JP JP1001820A patent/JPH02181815A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0573195A (en) * | 1991-07-18 | 1993-03-26 | Personal Joho Kankyo Kyokai | Converter for operation method |
WO2002079966A1 (en) * | 2001-03-28 | 2002-10-10 | Fujitsu Limited | Interactive content presenting device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6180325A (en) | Information input system of pointing device | |
JPH02181815A (en) | Mouse input device forming key code | |
JPH0383114A (en) | Vector quantity input device | |
JPH03116219A (en) | Pointing device | |
JPH04230511A (en) | Mouse interface circuit | |
JPS63263515A (en) | Cursor mobile key control system | |
JP2682480B2 (en) | Event notification method in pen input operating system and pen input operation device to which the method is applied | |
JPH02202617A (en) | Pointing device | |
JPS6316317A (en) | Resetting device for computer system | |
JPH0398109A (en) | Input system by mouse | |
JPH01177629A (en) | Keyboard processing system | |
CN113918050A (en) | Control method and device of vibrator and storage medium | |
JP2740446B2 (en) | One-key shiftable keyboard device | |
JPH03269712A (en) | Computer device | |
JPS6335133U (en) | ||
JPS6373320A (en) | Digitizer device | |
JPH04355816A (en) | Mouse type input device | |
JPH04205219A (en) | Pointing device controller | |
JPH0644004A (en) | Dot coordinate input method in terminal simulation program | |
JPS58211240A (en) | Keyboard encoder | |
JPH01271819A (en) | Key input control system | |
何克清 et al. | STUDY ON KNOWLEDGE REPRESENTATION AND UTILIZATION IN SOFTWARE DEVELOPMENT | |
JPH01286010A (en) | Keyboard double keying detecting system | |
JPS6162123A (en) | Input/output device for fields on display screen | |
JPH08147108A (en) | Pointer position return device and pointing device |