JPH05189152A - Method for controlling cursor with pointing device - Google Patents

Method for controlling cursor with pointing device

Info

Publication number
JPH05189152A
JPH05189152A JP4002157A JP215792A JPH05189152A JP H05189152 A JPH05189152 A JP H05189152A JP 4002157 A JP4002157 A JP 4002157A JP 215792 A JP215792 A JP 215792A JP H05189152 A JPH05189152 A JP H05189152A
Authority
JP
Japan
Prior art keywords
cursor
pointing device
moving
control method
movement
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
JP4002157A
Other languages
Japanese (ja)
Inventor
Yasushi Aoyama
靖 青山
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 JP4002157A priority Critical patent/JPH05189152A/en
Publication of JPH05189152A publication Critical patent/JPH05189152A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily move a cursor by automatically moving the cursor in a designated moving direction and automatically stopping the move of the cursor when the cursor arrives at a display object displayed on a display screen. CONSTITUTION:When the moving direction of a cursor 1 is designated by the previously decided operation of a pointing device, the cursor 1 is automatically moved in the designated moving direction and when the cursor 1 arrives at the display object displayed on the display screen, the move of the cursor 1 is automatically stopped. Namely, when a user executes the previously decided operation from the pointing device, an information processor calculates a moving passage 4 of the cursor 1 based on the instructed moving direction and retrieves a fixed range 2 fixed with the cursor moving passage 4 as a center in the moving direction and when any element data are founded out, the cursor 1 is stopped at that position. Thus, the pointing device (cursor can be easily moved to an existent graphic and further, convenience is improved as well.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マウス等のポインティ
ングデバイスを利用する情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus using a pointing device such as a mouse.

【0002】[0002]

【従来の技術】従来、ポインティングデバイスによる一
般的なカーソルの制御方法は、ポインティングデバイス
の動きに追従しスムーズにカーソルを移動させるもので
あった。すなわち、ポインティングデバイスを用いて、
図形、表等を描く場合、所望の位置までポインティング
デバイスを連続操作してカーソルを移動させねばならな
かった。例えば、ある図形の存在する位置にカーソルを
移動させる場合、ユーザは以下の操作を行う必要があ
る。現在のカーソル位置を確認し、カーソルを移動させ
る方向と距離を見定め、逐次カーソルの位置を確認しつ
つ、ポインティングデバイスを操作し、目標の位置とカ
ーソルが重なった時点で速やかにポインティングデバイ
スを停止させる。
2. Description of the Related Art Conventionally, a general cursor control method using a pointing device has been to move the cursor smoothly by following the movement of the pointing device. That is, using a pointing device,
When drawing a figure, a table, etc., the pointing device had to be continuously operated to move the cursor to a desired position. For example, when moving the cursor to the position where a certain figure exists, the user needs to perform the following operation. Check the current cursor position, determine the direction and distance to move the cursor, operate the pointing device while checking the cursor position one after another, and immediately stop the pointing device when the target position and the cursor overlap. ..

【0003】この従来の方法では、カーソルを長距離移
動させようとする場合、ポインティングデバイスを何回
か往復操作する必要があり、操作が煩雑であった。
In this conventional method, when the cursor is to be moved for a long distance, the pointing device needs to be reciprocated several times, which is complicated.

【0004】この問題を解決するものとして、特開昭6
1ー80421号公報に開示のカーソル移動制御方式が
ある。この方式では、マウス移動速度が低速設定値を超
えたときにカーソルをマウス移動速度に比例して移動さ
せ、マウス移動速度が低速設定値より小さくなったとき
直前のマウス移動速度が高速設定値以上であった場合に
はカーソル移動速度を高速状態に保ち、マウス移動速度
が静止状態または準静止状態から低速設定値以上の値に
なったときにはカーソルの高速状態を解除する。
As a means for solving this problem, Japanese Patent Laid-Open No. Sho-6 has been published.
There is a cursor movement control system disclosed in Japanese Patent Publication No. 1-80421. With this method, when the mouse movement speed exceeds the low speed setting value, the cursor is moved in proportion to the mouse movement speed, and when the mouse movement speed becomes lower than the low speed setting value, the previous mouse movement speed is higher than the high speed setting value. If it is, the cursor moving speed is kept at a high speed, and when the mouse moving speed becomes a value equal to or higher than the low speed set value from the stationary state or the semi-static state, the high speed state of the cursor is released.

【0005】[0005]

【発明が解決しようとする課題】上記特開昭61−80
421号公報に記載の従来技術によれば、カーソルを長
距離移動させる場合に、マウスの出発点および目的点近
くにおいてのみ、実際にマウスを移動させればよいの
で、マウス操作の煩雑さが軽減される。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
According to the conventional technique described in Japanese Patent No. 421, when the cursor is moved for a long distance, the mouse may be actually moved only near the starting point and the destination point of the mouse, so that the complexity of the mouse operation is reduced. To be done.

【0006】しかし、この方式においても、目的点近く
でカーソルを停止させる操作が必要であるため、カーソ
ルの移動先位置を正確に決めねばならないような場合に
は、ユーザに負担をかける。例えば、既存の線や点を起
点として図形を描く場合(表の枠など)、はみ出しを防
ぐために慎重にカーソルの位置を決めてやる必要があ
り、従来の技術ではこの点においてなお改善の余地があ
った。
However, even in this method, it is necessary to stop the cursor near the target point, so that the user is burdened if the position to which the cursor is to be moved must be accurately determined. For example, when drawing a figure using an existing line or point as a starting point (such as a table frame), it is necessary to carefully position the cursor in order to prevent it from protruding, and conventional technology still has room for improvement in this respect. there were.

【0007】本発明の目的は、ユーザが既に描かれた図
形、文字等の存在位置にカーソルを簡単に移動させるこ
とができるカーソル制御方法を提供することにある。
An object of the present invention is to provide a cursor control method by which a user can easily move the cursor to the existing position of a figure, character, etc. already drawn.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明によるカーソル制御方法は、表示画面上にあ
るカーソルをポインティングデバイスの操作により移動
させるカーソル制御方法であって、ポインティングデバ
イスの予め定められた操作によりカーソルの移動方向が
指定されたとき、該指定された移動方向へ自動的にカー
ソルを移動させ、カーソルが表示画面上に表示された表
示物に到達したとき、当該カーソルの移動を自動的に停
止させるようにしたものである。
In order to achieve the above object, a cursor control method according to the present invention is a cursor control method for moving a cursor on a display screen by operating a pointing device. When the moving direction of the cursor is specified by the specified operation, the cursor is automatically moved in the specified moving direction, and when the cursor reaches the display object displayed on the display screen, the movement of the cursor Is to automatically stop.

【0009】[0009]

【作用】本発明の代表的な作用として、ユーザがポイン
ティングデバイスより予め定められた操作を行うと、本
発明を適用した情報処理装置は、指示された移動方向に
基づき、カーソルの移動経路を算出し、カーソル移動経
路を中心とした一定範囲を移動方向に検索していき、表
示データが見つかるとその位置でカーソルを停止させ
る。
As a typical operation of the present invention, when the user performs a predetermined operation from the pointing device, the information processing apparatus to which the present invention is applied calculates the moving path of the cursor based on the instructed moving direction. Then, a certain range centered on the cursor movement path is searched in the movement direction, and when the display data is found, the cursor is stopped at that position.

【0010】なお、このカーソル移動法のみでは、既存
の図形に接触するたびにカーソルが停止してしまいかえ
ってユーザに負担がかかる場合が考えられる。そこで、
従来までのポインティングデバイスの操作に追従したカ
ーソル移動法を本発明の方法と組み合わせ、ユーザが自
由にカーソル移動法を選択できるようにした。
[0010] It should be noted that with this cursor moving method alone, the cursor may stop each time it touches an existing figure, which in turn puts a burden on the user. Therefore,
The conventional cursor movement method that follows the operation of the pointing device is combined with the method of the present invention so that the user can freely select the cursor movement method.

【0011】以下、従来までのカーソル移動法を「追従
移動法」、本発明で新たに導入されたカーソル移動法を
「経路移動法」と呼ぶ。
Hereinafter, the conventional cursor moving method will be referred to as a "following moving method", and the cursor moving method newly introduced in the present invention will be referred to as a "path moving method".

【0012】この2種のカーソル移動法のいずれを選ぶ
かの選択法には、速度選択法と時間選択法が考えられ
る。速度選択法はポインティングデバイスよりカーソル
の移動速度を算出し、移動速度がしきい値未満ならば追
従移動法を、しきい値以上ならば経路移動法を選択する
方法である。一方、時間選択法はポインティングデバイ
スへの入力が連続的なときは追従移動法を、瞬間的なと
きは経路移動法を選択する方法である。
A speed selection method and a time selection method can be considered as a selection method for selecting one of the two types of cursor movement methods. The speed selection method is a method of calculating the moving speed of the cursor from the pointing device, and selecting the follow-up moving method if the moving speed is less than the threshold value, and selecting the path moving method if the moving speed is above the threshold value. On the other hand, the time selection method is a method that selects the follow-up movement method when the input to the pointing device is continuous and the path movement method when the input to the pointing device is instantaneous.

【0013】[0013]

【実施例】以下、本発明の実施例を図面により詳細に説
明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0014】まず、図10に、本発明が適用される情報
処理装置の代表的なハードウエア構成を示す。この情報
処理装置は、CRTおよび平面表示パネル等の表示部9
1と、CPUを含む処理部92と、ROM,RAM等の
内部記憶部93と、ハードディスク装置およびフロッピ
ーディスク装置等の外部記憶部94と、キーボード95
と、ポインティングデバイスの一例としてのマウス96
とからなる。
First, FIG. 10 shows a typical hardware configuration of an information processing apparatus to which the present invention is applied. This information processing apparatus includes a display unit 9 such as a CRT and a flat display panel.
1, a processing unit 92 including a CPU, an internal storage unit 93 such as a ROM and a RAM, an external storage unit 94 such as a hard disk device and a floppy disk device, and a keyboard 95.
And a mouse 96 as an example of a pointing device.
Consists of.

【0015】さて、このような情報処理装置において、
本発明による経路移動法の概念を図1により説明する。
経路移動法により、カーソル1を特定の方向へ移動させ
るには、マウスを瞬間的にその方向へ動かす。図1の例
において、カーソル1を図形データ5の位置に移動させ
るには、図中の矢印3の方向に沿ってマウスを操作す
る。これにより得られた方向より移動経路4を求め、こ
の移動経路4を中心とした一定の領域を検索範囲2とし
て画像データを検索し、検索範囲内にデータが存在しな
いときは、検索範囲を移動方向に順次ずらしていく。こ
の処理をデータが発見されるまで繰返し、発見されれば
その位置でカーソルを停止させる。この例では、カーソ
ルが図形データ5まで移動し、その上で停止する。
Now, in such an information processing apparatus,
The concept of the route movement method according to the present invention will be described with reference to FIG.
In order to move the cursor 1 in a specific direction by the path moving method, the mouse is momentarily moved in that direction. In the example of FIG. 1, in order to move the cursor 1 to the position of the graphic data 5, the mouse is operated in the direction of arrow 3 in the figure. The moving path 4 is obtained from the direction obtained in this way, image data is searched with a certain area centering on the moving path 4 as the search range 2, and if no data exists within the search range, the search range is moved. Shift in the direction. This process is repeated until data is found, and if found, the cursor is stopped at that position. In this example, the cursor moves to the figure data 5 and stops there.

【0016】本発明によるこのような処理は、プログラ
ムにより実現される。このプログラムは、図11に示す
システムの階層構造の中で、オペレーティングシステム
OS(RAM BIOS)内に位置付けることができる他、ROM
BIOSやアプリケーションプログラム内に位置させ
ることも可能である。
Such processing according to the present invention is realized by a program. This program can be located in the operating system OS (RAM BIOS) in the system hierarchy shown in FIG.
It can be located in the BIOS or application program.

【0017】このカーソル制御方法によれば、ユーザは
カーソルを特定の図形等の上に移動させたいとき、マウ
スによりカーソルをその目標とする図形等へ向かう方向
へ一回動かしてやれば、以後、カーソルは自動的にその
方向の移動を継続して図形上に達した時点で停止する。
したがって、カーソルの停止位置を決めるための煩雑な
マウス操作は不要となる。
According to this cursor control method, when the user wants to move the cursor to a specific figure or the like, the cursor is rotated once in the direction toward the target figure or the like. Automatically continues moving in that direction and stops when it reaches the top of the figure.
Therefore, a complicated mouse operation for determining the stop position of the cursor is unnecessary.

【0018】図2に、図1で説明した経路移動法の具体
的な処理の流れ図を示す。
FIG. 2 shows a flow chart of a concrete process of the route moving method explained in FIG.

【0019】まず、カーソルの操作に対して、その移動
方向に基づいて移動経路を算出する(2a)。続いて、
検索の範囲2を設定する(2b)。この検索範囲2の移
動方向の幅は大きい方が検索回数が少なくて済むが、カ
ーソルが目的の表示物を指示可能な位置に達するまえに
カーソルが停止してしまうおそれが生じるので、好まし
くはその幅を1ドット、または数ドットとする。検索範
囲2の移動方向に直角の方向の幅は、大きいほど表示物
にヒットする確立が高くなるが、目的の表示物からカー
ソルが離れて停止する可能性も高くなるので、用途に応
じて適切な幅を選定する。ステップ2bで定まった検索
範囲2内の検索を行い(2c)、検索範囲2内に表示デ
ータが存在するか否かを調べる(2d)。存在すれば、
この処理を停止し、存在しなければ、カーソルの停止条
件に合致するか否かを調べる(2e)。カーソルの停止
条件とは、マウス操作により移動を開始したカーソルが
停止するための条件であり、ここでは、図形データを発
見すること以外の場合の停止条件を規定している。すな
わち、経路移動法によりカーソルを移動させる際、カー
ソルの停止条件が図形データを発見することのみなら
ば、経路移動法により算定されたカーソル移動経路上に
データが存在しないとき、永久にデータを探し続ける。
この無限ループ状態を避けるために、検索結果の如何に
関わらず有効なカーソル停止条件を決めておく。カーソ
ル停止条件の例としては、検索範囲が表示画面を越えた
ときは画面の境界上でカーソルを停止させる、等が考え
られる。ステップ2eにおいて、カーソルの停止条件に
合致すれば処理を終了し、合致しなければ、検索範囲を
進行方向に歩進し(2f)、ステップ2cに戻る。
First, with respect to the operation of the cursor, the moving path is calculated based on the moving direction (2a). continue,
The search range 2 is set (2b). The larger the width of the search range 2 in the moving direction is, the smaller the number of searches is, but the cursor may stop before reaching a position where the target display object can be pointed. The width is 1 dot or several dots. The larger the width of the search range 2 in the direction perpendicular to the moving direction is, the higher the probability of hitting the display object is, but the possibility that the cursor is separated from the target display object and stopped is also high. Select the appropriate width. The search within the search range 2 determined in step 2b is performed (2c), and it is checked whether or not the display data exists within the search range 2 (2d). If it exists,
This process is stopped, and if it does not exist, it is checked whether or not the stop condition of the cursor is met (2e). The cursor stop condition is a condition for stopping the cursor that has started to move by operating the mouse, and here, the stop condition for cases other than finding the figure data is defined. That is, when the cursor is moved by the path moving method, if the only condition for stopping the cursor is to find the graphic data, when there is no data on the cursor moving path calculated by the path moving method, the data is searched for permanently. to continue.
In order to avoid this infinite loop state, an effective cursor stop condition is determined regardless of the search result. An example of the cursor stop condition is to stop the cursor on the screen boundary when the search range exceeds the display screen. In step 2e, if the stopping condition of the cursor is met, the process is terminated, and if not, step forward in the search range (2f) and the process returns to step 2c.

【0020】前述のように、カーソルの移動法として経
路移動法のみしか持たないシステムは現実的ではない。
例えば、既存の図形データを超えてカーソルを移動させ
ようとする場合、その図形データが塗り潰しデータまた
は複雑なデータであれば、何度もカーソルが停止してし
まい、目的の位置までカーソルを移動させるのに却って
余分な操作を要するからである。したがって、従来の追
従移動法と経路移動法とを自由に選択できることが好ま
しい。
As described above, a system having only the path moving method as the cursor moving method is not realistic.
For example, when trying to move the cursor over existing figure data, if the figure data is filled data or complicated data, the cursor will stop many times and move the cursor to the target position. However, it requires an extra operation instead. Therefore, it is preferable that the conventional tracking movement method and the path movement method can be freely selected.

【0021】そこで、カーソル移動法(追従移動法また
は経路移動法)を選択する方法の1つとして、「速度選
択法」を提案する。速度選択法の流れ図を図3に示し
た。速度選択法はマウスより得た情報からカーソルの移
動速さvを計算し(3a)、速さvが予め定めたしきい
値Vind以上の時は追従移動法を選択し(3b,3
d)、しきい値より小さいときは経路移動法を選択する
(3b,3c)。
Therefore, the "speed selection method" is proposed as one of the methods for selecting the cursor movement method (following movement method or path movement method). A flow chart of the rate selection method is shown in FIG. In the speed selection method, the moving speed v of the cursor is calculated from the information obtained from the mouse (3a), and when the speed v is equal to or higher than a predetermined threshold value Vind, the following moving method is selected (3b, 3).
d) If it is smaller than the threshold value, the route moving method is selected (3b, 3c).

【0022】マウスが相対移動量を情報として与える場
合の、カーソル移動速さ算出式の例を(数1)〜(数
3)に示した。ここで、Lx,Lyは水平方向、垂直方
向の相対移動量の成分である。
An example of a cursor movement speed calculation formula when the mouse gives the relative movement amount as information is shown in (Equation 1) to (Equation 3). Here, Lx and Ly are components of the amount of relative movement in the horizontal and vertical directions.

【0023】 v=|Lx|+|Ly| (数1) v=Lx2+Ly2 (数2) v=√(Lx2+Ly2) (数3) 次に、カーソル移動法を選択するための他の方法とし
て、「時間選択法」を提案する。時間選択法は、マウス
をユーザが瞬間的に操作したときは経路移動法が選択さ
れ、連続的に操作しているときには追従移動法が選択さ
れるようにする方法である。
V = | Lx | + | Ly | (Equation 1) v = Lx 2 + Ly 2 (Equation 2) v = √ (Lx 2 + Ly 2 ) (Equation 3) Next, for selecting the cursor movement method As another method, a "time selection method" is proposed. The time selection method is a method in which the route movement method is selected when the user momentarily operates the mouse, and the follow-up movement method is selected when the mouse is continuously operated.

【0024】ユーザがマウスを操作したとき、マウスか
ら情報処理装置本体に割り込みがかかるが、マウスから
の割り込みは非常に短い間隔(数ミリ秒以下)で起こ
る。このことは、ユーザがマウスを瞬間的に操作して
も、実際には複数回の割り込みが起こることを示してい
る。
When the user operates the mouse, the mouse interrupts the information processing apparatus main body, but the interrupt from the mouse occurs at a very short interval (several milliseconds or less). This indicates that even if the user momentarily operates the mouse, multiple interruptions occur.

【0025】図4は、ユーザがマウスを操作するごと
に、次々と割り込みが起こっていくことを示す図であ
る。wnは個々の割り込みを示す。△tnは、割り込み
wnと、w(n-1)との時間間隔である。ここで、△tnが
しきい値tind未満である連続した割り込みのグループ
を割り込み群Wmとして定義する。この各割り込み群
は、マウス操作が継続している期間と対応していると考
えられる。
FIG. 4 is a diagram showing that interrupts occur one after another each time the user operates the mouse. wn indicates an individual interrupt. Δtn is the time interval between the interrupt wn and w (n-1). Here, a group of consecutive interrupts in which Δtn is less than the threshold value tind is defined as an interrupt group Wm. Each interrupt group is considered to correspond to the period during which the mouse operation continues.

【0026】図4では、△t0と△t6がそれぞれtind
以上となっており、w0〜w5からなる割り込み群W
1と、w6〜w12からなる割り込み群W2とが存在してい
る。時間選択法は、割り込み群Wmが起こっている時間
間隔を△Tmとした場合、△TmがTind未満であると
きは瞬間的と判断して経路移動法を選択し、Tind以上
のときは連続的と判断して追従移動法を選択する方法で
ある。この時間選択法の処理例の流れ図を図5に示し
た。
In FIG. 4, Δt 0 and Δt 6 are t ind, respectively.
As described above, the interrupt group W consisting of w 0 to w 5
1 and an interrupt group W 2 consisting of w 6 to w 12 . In the time selection method, when the time interval in which the interrupt group Wm occurs is ΔTm, it is determined that the path movement method is instantaneous when ΔTm is less than Tind, and continuous when the time interval is Tind or more. It is a method of determining the following movement method and selecting the following movement method. A flow chart of a processing example of this time selection method is shown in FIG.

【0027】図5の処理は、割込発生ごとに起動される
処理である。まず、起動時、現在の時刻を変数t2に代
入し(5a)、この変数t2から変数t0(後述)を引
き算し、その差をΔTに代入する(5b)。続いて、変
数t2から変数t1(後述)を引き、その差をΔtに代
入する(5c)。そこで、Δtと閾値tindを比較し
(5d)、Δtがこの閾値以上であればマウスを継続操
作中であると判断してステップ5gへ進み、未満であれ
ばマウスの継続操作がとぎれたと判断してステップ5e
へ進む。ステップ5eでは、ΔTと閾値Tindとを比較
し、ΔTが閾値Tind未満であればステップ5jへ進
み、ΔTが閾値Tind以上であれば、追従移動法を選択
し(5f)、ステップ5jへ進む。他方、ステップ5g
では、ΔTと閾値Tindとを比較し、ΔTが閾値Tind以
上であればt2をt0に代入して(5i)、ステップ5
jへ進み、ΔTが閾値Tind未満であれば経路移動法を
選択し(5f)、ステップ5jへ進む。すわなち、以上
の処理により、マウス操作が瞬間的であれば経路移動法
が選択され、マウス操作がそれ以上継続すれば。追従移
動法が選択されることになる。
The process shown in FIG. 5 is a process that is activated each time an interrupt occurs. First, at start-up, the current time is substituted into the variable t2 (5a), the variable t0 (described later) is subtracted from this variable t2, and the difference is substituted into ΔT (5b). Subsequently, a variable t1 (described later) is subtracted from the variable t2, and the difference is substituted for Δt (5c). Therefore, Δt is compared with the threshold value t ind (5d), and if Δt is equal to or larger than this threshold value, it is determined that the mouse is in continuous operation, and the process proceeds to step 5g. Then step 5e
Go to. In step 5e, ΔT is compared with the threshold value Tind. If ΔT is less than the threshold value Tind, the process proceeds to step 5j. If ΔT is equal to or greater than the threshold value Tind, the follow-up movement method is selected (5f) and the process proceeds to step 5j. On the other hand, step 5g
Then, ΔT is compared with the threshold Tind, and if ΔT is equal to or larger than the threshold Tind, t2 is substituted for t0 (5i), and step 5
If j is less than the threshold Tind, the route moving method is selected (5f) and the process proceeds to step 5j. In other words, if the mouse operation is momentary, the route movement method is selected by the above processing, and if the mouse operation continues further. The following movement method will be selected.

【0028】次に、図6により本発明によるカーソル制
御方法を用いて表を作成する例について説明するが、そ
の前に、ここで用いるマウスによる描画機能の仕様を図
7により説明する。同図に示すように、直線を引く場合
には、その始点と終点とを順にマウスでクリックするこ
ととする。また、カーソル移動法の選択法として上記時
間選択法を採用する。カーソル停止条件としては、境界
(図6の6)の座標を連続して2回検知した場合とす
る。また、1回のカーソル操作で境界の座標を初めて検
知した場合、画面の中心に対して線対称の位置(すなわ
ち反対側の境界上)より経路移動を再開することとする
(備考1)。さらに、シフトキーを押下しながらマウス
を操作すると、カーソルは水平か垂直のいずれかの方向
のみに移動するものとする。水平か垂直かの選択は、マ
ウスの操作方向がより近い方により行う。
Next, an example of creating a table using the cursor control method according to the present invention will be described with reference to FIG. 6, but before that, the specifications of the drawing function by the mouse used here will be described with reference to FIG. As shown in the figure, when a straight line is drawn, the start point and the end point are sequentially clicked with the mouse. Further, the time selection method is adopted as the selection method of the cursor movement method. As a cursor stop condition, it is assumed that the coordinates of the boundary (6 in FIG. 6) are continuously detected twice. In addition, when the boundary coordinates are detected for the first time by one cursor operation, the path movement is restarted from a position line symmetrical with respect to the center of the screen (that is, on the opposite boundary) (Note 1). Furthermore, if the mouse is operated while pressing the shift key, the cursor moves only in either the horizontal or vertical direction. The choice between horizontal and vertical is made according to the direction in which the mouse operation is closer.

【0029】図8に、図6の例の作表手順を示したの
で、以下その手順を説明する。
FIG. 8 shows the tabulation procedure of the example of FIG. 6, and the procedure will be described below.

【0030】表の外枠7を書く作業(7a)については
本発明を利用したマウスシステムでも従来マウスシステ
ムの作業と変わらない。追従移動法により連続的にマウ
スを操作し、外枠7を書く。
Regarding the work (7a) of writing the outer frame 7 of the table, the mouse system using the present invention is no different from the work of the conventional mouse system. The outer frame 7 is written by operating the mouse continuously by the follow-up movement method.

【0031】続いて、点8にカーソルを重ねマウスをク
リックして線の始点を決め、shiftキーを押しなが
ら(図7、備考2)マウスを右へ軽くはねるように操作
する。すると経路移動法となり水平方向に検索を開始
し、カーソルは点10の位置で外枠7の図形データを発
見し、停止する。そこでマウスをクリックすると、点8
から点10に直線が引かれる(7b、7c、7d)。次
に縦線9−11を引くために、点9にカーソルを合わせ
クリックする(7e)。ここで、shiftキーを押し
ながら下方にマウスをはねると、カーソルが下方へ移動
して横線8−10に到達するとカーソルが停止し、横偏
11へは到達しない。そのまま、再度マウスを下にはね
るのも1つの手段であるが、ここでは点9から上に向か
ってマウスをはねる(7f)。すると経路移動法にな
り、上方へ検索を始め、データを発見せず境界上の点1
2に達する。境界座標の一回目の検知であるから、経路
移動時のカーソルの停止条件には該当せず、境界上の反
対側の点13に移動し、上方に検索を再開し(図7、備
考1)、点11の位置に図形データを発見しカーソルは
停止する。そこで、マウスをクリックすると点9から点
11へ線分が引かれる(7g)。
Then, the cursor is placed on the point 8 and the mouse is clicked to determine the starting point of the line. While the shift key is being pressed (Fig. 7, remark 2), the mouse is operated to lightly bounce to the right. Then, the route moving method is used to start the search in the horizontal direction, and the cursor finds the graphic data of the outer frame 7 at the position of the point 10 and stops. If you click the mouse there, point 8
A straight line is drawn from to point 10 (7b, 7c, 7d). Next, in order to draw a vertical line 9-11, the cursor is placed on the point 9 and clicked (7e). Here, when the mouse is pushed downward while pressing the shift key, when the cursor moves downward and reaches the horizontal line 8-10, the cursor stops and the lateral polarization 11 is not reached. Although it is one means to re-punch the mouse downward as it is, here, the mouse is repelled upward from the point 9 (7f). Then, it becomes the route movement method, starts searching upward, and finds no data.
Reach 2. Since it is the first detection of the boundary coordinates, it does not correspond to the stop condition of the cursor at the time of moving the route, the cursor is moved to the point 13 on the opposite side of the boundary, and the search is restarted upward (Fig. 7, remark 1). , The graphic data is found at the position of the point 11, and the cursor stops. Then, when the mouse is clicked, a line segment is drawn from point 9 to point 11 (7g).

【0032】図9はCADなど図形プロッセサで全体図
の一部をウィンドウを通して見る例である。ここではウ
ィンドウの移動に経路移動法を用いた例を示す。
FIG. 9 shows an example of viewing a part of the whole view through a window with a figure processor such as CAD. Here, an example in which the route moving method is used to move the window is shown.

【0033】図9では、現在、第1の図形データ18を
ウィンドウ15によって表示している。カーソルは記号
16の位置にある。第1の図形データ18と離れた位置
に第2の図形データ19が存在する。この第2の図形デ
ータ19はウィンドウ15内にないのでユーザには見え
ない(図では説明の都合上示してある)。ユーザは、次
に図形データ19を加工するためにウィンドウ115を
図形データ19の位置に移動させたい。このような場
合、従来までの追従移動法では、マウスから割り込みが
入るたびにビデオRAMに図形データを展開しなおして
ウィンドウを移動させていたために、ウィンドウの移動
に時間がかかり、また、マウスの操作性も悪くなってい
た。
In FIG. 9, the first graphic data 18 is currently displayed in the window 15. The cursor is at the position of symbol 16. The second graphic data 19 exists at a position apart from the first graphic data 18. This second graphic data 19 is not in the window 15 and therefore invisible to the user (illustrated in the figure for convenience of explanation). The user next wants to move the window 115 to the position of the graphic data 19 in order to process the graphic data 19. In such a case, in the conventional tracking movement method, it takes time to move the window because the graphic data is re-developed in the video RAM and the window is moved each time an interrupt is input from the mouse. The operability was also poor.

【0034】本発明によれば、経路移動法を選択するよ
う、ユーザはマウスを、図形データ19があると思われ
る矢印17の方向に操作する。すると矢印17の方向に
検索を行い、図形データ19を発見し、図形データ19
の位置にウィンドウがくるようにウィンドウが移動す
る。このように、経路移動法によりウィンドウの移動を
行うと、速く簡単にウィンドウの移動が可能である。
According to the present invention, the user operates the mouse in the direction of arrow 17 where the graphic data 19 is supposed to be, so as to select the route movement method. Then, a search is made in the direction of the arrow 17 to find the graphic data 19 and
The window moves so that the window comes to the position of. As described above, when the window is moved by the route moving method, the window can be moved quickly and easily.

【0035】[0035]

【発明の効果】本発明によれば、既存の図形へのポイン
ティングデバイスカーソルの移動を簡単に行うことがで
き、また、ポインティングデバイスの使い勝手も向上す
る。
According to the present invention, the pointing device cursor can be easily moved to the existing figure, and the usability of the pointing device is improved.

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

【図1】 本発明によるカーソル移動法としての経路移
動法の概念図。
FIG. 1 is a conceptual diagram of a path moving method as a cursor moving method according to the present invention.

【図2】 図1の経路移動法の流れ図。FIG. 2 is a flowchart of the route moving method of FIG.

【図3】 本発明によるカーソル移動法の選択法として
の速度選択法の流れ図。
FIG. 3 is a flowchart of a velocity selection method as a selection method of the cursor movement method according to the present invention.

【図4】 マウスの割り込みの時系列と割り込み群の概
念図。
FIG. 4 is a conceptual diagram of a mouse interrupt time series and an interrupt group.

【図5】 本発明によるカーソル移動法の選択法として
の時間選択法の流れ図。
FIG. 5 is a flowchart of a time selection method as a selection method of the cursor movement method according to the present invention.

【図6】 本発明による作表の概念図。FIG. 6 is a conceptual diagram of tabulation according to the present invention.

【図7】 図6の作表時に用いるマウスによる描画機能
の仕様例の説明図。
FIG. 7 is an explanatory diagram of a specification example of a drawing function by a mouse used at the time of tabulating in FIG.

【図8】 本発明による作表の流れ図。FIG. 8 is a flow chart of tabulation according to the present invention.

【図9】 経路移動法によるウィンドウの移動の概念
図。
FIG. 9 is a conceptual diagram of moving a window by a route moving method.

【図10】 本発明が適用される情報処理装置のブロッ
ク図。
FIG. 10 is a block diagram of an information processing apparatus to which the present invention is applied.

【図11】 本発明のカーソル移動法を実現するプログ
ラムの位置付けの説明図。
FIG. 11 is an explanatory diagram of positioning of a program that realizes the cursor movement method of the present invention.

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

1…カーソル、2…検索範囲、3…ポインティングデバ
イスの操作方向、4…移動経路、5…既存の図形。
1 ... Cursor, 2 ... Search range, 3 ... Pointing device operation direction, 4 ... Movement path, 5 ... Existing figure.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】表示画面上にあるカーソルをポインティン
グデバイスの操作により移動させるカーソル制御方法で
あって、 ポインティングデバイスの予め定められた操作によりカ
ーソルの移動方向が指定されたとき、該指定された移動
方向へ自動的にカーソルを移動させ、カーソルが表示画
面上に表示された表示物に到達したとき、当該カーソル
の移動を自動的に停止させることを特徴とするカーソル
制御方法。
1. A cursor control method for moving a cursor on a display screen by operating a pointing device, wherein when a moving direction of the cursor is specified by a predetermined operation of the pointing device, the specified movement is performed. A cursor control method characterized in that the cursor is automatically moved in a direction, and when the cursor reaches a display object displayed on a display screen, the movement of the cursor is automatically stopped.
【請求項2】ポインティングデバイスにより入力された
データに基づいてカーソルの速度を算出し、該速度をし
きい値と比較して、当該ポインティングデバイスの操作
が前記予め定められた操作であるか否かを判定する請求
項1記載のカーソル制御方法。
2. A cursor speed is calculated based on data input by a pointing device, and the speed is compared with a threshold value to determine whether or not the operation of the pointing device is the predetermined operation. The cursor control method according to claim 1, wherein
【請求項3】ポインティングデバイスの継続した操作時
間を求め、該操作時間をしきい値と比較して、当該ポイ
ンティングデバイスの操作が前記予め定められた操作で
あるか否かを判定する請求項1記載のカーソル制御方
法。
3. A continuous operation time of the pointing device is obtained, and the operation time is compared with a threshold value to determine whether or not the operation of the pointing device is the predetermined operation. The described cursor control method.
【請求項4】前記予め定められた操作以外の操作の場
合、ポインティングデバイスの動きに追従してカーソル
を移動させることを特徴とする請求項1、2または3記
載のカーソル制御方法。
4. The cursor control method according to claim 1, 2 or 3, wherein the cursor is moved following the movement of the pointing device in the case of an operation other than the predetermined operation.
【請求項5】ポインティングディバイスより入力された
データに基づきカーソルの移動経路を算出し、該移動経
路を中心とした一定範囲を移動方向に向かい検索し、デ
ータを発見した位置にカーソルを停止させることを特徴
とする請求項1記載のカーソル制御方法。
5. A moving path of a cursor is calculated based on data input from a pointing device, a certain range centered on the moving path is searched in the moving direction, and the cursor is stopped at the position where the data is found. The cursor control method according to claim 1, wherein:
【請求項6】請求項5記載のカーソル制御方法であっ
て、 ポインティングデバイスの予め定められた操作に基づき
カーソルの移動方向を求め、 該求められた移動方向より移動経路を算出し、 該移動経路を中心とした一定の領域を検索範囲とし、 該検索範囲内で表示データを検索し、 前記検索範囲内に表示データが存在しないときは、検索
範囲を前記移動経路に沿ってずらし、検索を継続し、 表示データが発見されればその位置でカーソルを停止さ
せることを特徴とするカーソル制御方法。
6. The cursor control method according to claim 5, wherein a moving direction of the cursor is calculated based on a predetermined operation of the pointing device, a moving path is calculated from the calculated moving direction, and the moving path is calculated. A search area is set to a certain area centered around, and display data is searched within the search range. If no display data exists within the search range, the search range is shifted along the movement route to continue the search. Then, when the display data is found, the cursor is stopped at that position, which is a cursor control method.
【請求項7】特定のキーを押下しながら前記予め定めら
れた操作を行ったとき、カーソルの移動方向が垂直に近
いときは垂直方向に直線移動させ、カーソルの移動方向
が水平に近いときは水平方向に直線移動させることを特
徴とする請求項1記載のカーソル制御方法。
7. When the predetermined operation is performed while pressing a specific key, the cursor is moved linearly in the vertical direction when the moving direction is close to vertical, and when the moving direction of the cursor is close to horizontal. The cursor control method according to claim 1, wherein the cursor is linearly moved in a horizontal direction.
【請求項8】表示画面上にあるカーソルをポインティン
グデバイスの操作により移動させるカーソル制御方法で
あって、 ポインティングデバイスにより、データが連続的に入力
されている場合と、瞬間的に入力が行われた場合とでカ
ーソルの移動法を変えることを特徴とするカーソル制御
方法。
8. A cursor control method for moving a cursor on a display screen by operating a pointing device, wherein data is continuously input by the pointing device and input is performed momentarily. A cursor control method characterized by changing a cursor movement method depending on a case.
JP4002157A 1992-01-09 1992-01-09 Method for controlling cursor with pointing device Pending JPH05189152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4002157A JPH05189152A (en) 1992-01-09 1992-01-09 Method for controlling cursor with pointing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4002157A JPH05189152A (en) 1992-01-09 1992-01-09 Method for controlling cursor with pointing device

Publications (1)

Publication Number Publication Date
JPH05189152A true JPH05189152A (en) 1993-07-30

Family

ID=11521523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4002157A Pending JPH05189152A (en) 1992-01-09 1992-01-09 Method for controlling cursor with pointing device

Country Status (1)

Country Link
JP (1) JPH05189152A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998012871A1 (en) * 1996-09-18 1998-03-26 Access Co., Ltd. Internet television apparatus
JP2007249970A (en) * 2006-03-15 2007-09-27 Internatl Business Mach Corp <Ibm> Technique for choosing position on display having cursor
JP2008116995A (en) * 2006-10-31 2008-05-22 Nec Corp Pointer control device, pointer control method and pointer control program
JP2009157670A (en) * 2007-12-27 2009-07-16 Kyocera Corp Electronic apparatus
JP2012032894A (en) * 2010-07-28 2012-02-16 Kyocera Corp Electronic apparatus
JP2016126407A (en) * 2014-12-26 2016-07-11 株式会社東芝 Medical image display apparatus
CN110580104A (en) * 2018-05-22 2019-12-17 群光电子股份有限公司 Cursor movement auxiliary system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998012871A1 (en) * 1996-09-18 1998-03-26 Access Co., Ltd. Internet television apparatus
US6622306B1 (en) 1996-09-18 2003-09-16 Access Co., Ltd. Internet television apparatus
JP2007249970A (en) * 2006-03-15 2007-09-27 Internatl Business Mach Corp <Ibm> Technique for choosing position on display having cursor
JP2008116995A (en) * 2006-10-31 2008-05-22 Nec Corp Pointer control device, pointer control method and pointer control program
JP4720719B2 (en) * 2006-10-31 2011-07-13 日本電気株式会社 Pointer control device, pointer control method, and pointer control program
JP2009157670A (en) * 2007-12-27 2009-07-16 Kyocera Corp Electronic apparatus
JP2012032894A (en) * 2010-07-28 2012-02-16 Kyocera Corp Electronic apparatus
JP2016126407A (en) * 2014-12-26 2016-07-11 株式会社東芝 Medical image display apparatus
CN110580104A (en) * 2018-05-22 2019-12-17 群光电子股份有限公司 Cursor movement auxiliary system and method

Similar Documents

Publication Publication Date Title
KR100209841B1 (en) Visual enhancement method for display
US4714918A (en) Window view control
US7451408B2 (en) Selecting moving objects on a system
JPH0588654A (en) Method and device for moving cursor in lcd display
JPH05189152A (en) Method for controlling cursor with pointing device
CN106371755B (en) Multi-screen interaction method and system
JPH04238524A (en) Selecting method for icon
JPH07295782A (en) Screen display controlling method
JP2000089892A (en) Display controller, display control method and storage medium
JP2951454B2 (en) Cursor movement processing method
JPH05265683A (en) Method for controlling window display
JP2585537B2 (en) Graphic data processing apparatus and method
KR20180037155A (en) Method and apparatus of controlling display using control pad, and server that distributes computer program for executing the method
JPH09244858A (en) Control method for window system and information processor
JPH07199900A (en) Window system
JPH08305535A (en) Information display device
JPH06295328A (en) Method and device for controlling display
JPH05204369A (en) Partial enlarging method for image
JP3178539B2 (en) User interface control device and method
JP3372554B2 (en) Image processing apparatus and method
JP2003122474A (en) Computer device, image display method, program, and recording medium
JPH0736608A (en) Method and system for selection of picture display information
CN117666856A (en) Control method, device and equipment for virtual interactive interface in augmented reality space
JPH08147105A (en) Mouse indication display control system
JPH1195928A (en) Pen input device, pointing processing method for the same, and storage medium storing computer-readable program