JPH0546316A - Movement control method for pointer - Google Patents

Movement control method for pointer

Info

Publication number
JPH0546316A
JPH0546316A JP3228884A JP22888491A JPH0546316A JP H0546316 A JPH0546316 A JP H0546316A JP 3228884 A JP3228884 A JP 3228884A JP 22888491 A JP22888491 A JP 22888491A JP H0546316 A JPH0546316 A JP H0546316A
Authority
JP
Japan
Prior art keywords
pointer
position information
movement
jump destination
jump
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
JP3228884A
Other languages
Japanese (ja)
Inventor
Makoto Miyawaki
宮脇  誠
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3228884A priority Critical patent/JPH0546316A/en
Publication of JPH0546316A publication Critical patent/JPH0546316A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To provide a movement control method for a pointer excellent in its operability by constituting it so that the pointer can be moved to a desired position at a single stroke. CONSTITUTION:In response to the key input of a pointer moving command key (step S21), the moving direction is derived from the present position information and the previous posiiton information (step S22), and from within plural pieces of jump destination position information registered in advance, the jump destination position information being the nearest to a line extended in the moving direction derived previously is searched (step S23), and a pointer is jumped and moved to a jump desitnation posiiton specified by this searched position information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディスプレイ画面上の
所定の位置をポインタの表示位置で指示する移動量入力
装置におけるポインタの移動制御方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pointer movement control method in a movement amount input device for indicating a predetermined position on a display screen with a pointer display position.

【0002】[0002]

【従来の技術】ワークステーションやパーソナルコンピ
ュータ等においては、データ入力を簡易化するために、
ディスプレイ画面上にポインタを表示し、これをディス
プレイ画面内で移動させ、ディスプレイ画面上の所定の
位置をポインタの表示位置で指示する簡易形の入力装置
が使用されている。
2. Description of the Related Art In workstations, personal computers, etc., in order to simplify data input,
A simple input device is used which displays a pointer on a display screen, moves the pointer on the display screen, and indicates a predetermined position on the display screen by the display position of the pointer.

【0003】この種の入力装置では、回転自在に設けら
れたボールを有する例えばマウスと称されるポインティ
ングデバイスを備え、このポインティングデバイスがボ
ールの回転に伴って移動するようになっている。また、
この移動の際に、ポインティングデバイスは方向及び距
離を定量化し、データを取り込むためにボールの回転方
向及び回転量を検出し、事前に設定されている移動比率
に応じた分だけディスプレイ画面内でポインタを移動さ
せるようにしている。
This type of input device is provided with a pointing device called a mouse, for example, which has a ball provided rotatably, and the pointing device moves as the ball rotates. Also,
At the time of this movement, the pointing device quantifies the direction and distance, detects the direction and amount of rotation of the ball to capture the data, and moves the pointer on the display screen by the amount corresponding to the preset movement ratio. I am trying to move.

【0004】したがって、移動量について見ると、ポイ
ンタを現在の表示位置から遠く離れた位置へ移動させる
場合は、ポインティングデバイスを大きく移動させ、逆
にポインタを近くの位置へ移動させる場合は、ポインテ
ィングデバイスを少しだけ移動させる制御がなされるこ
とになる。
Therefore, regarding the amount of movement, when the pointer is moved to a position far away from the current display position, the pointing device is moved largely, and conversely, when the pointer is moved to a position near the pointing device, the pointing device is moved. Will be controlled to move a little.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
移動制御方法では、ポインタを画面上遠く離れた位置へ
移動させる場合、ポインティングデバイスをポインタの
移動量に比例した量だけ移動させる必要があることか
ら、ポインティングデバイスを非常に大きく動かさなけ
ればならず、操作が煩わしいという問題点があった。
However, in the conventional movement control method, when the pointer is moved to a position far away on the screen, it is necessary to move the pointing device by an amount proportional to the movement amount of the pointer. However, there is a problem in that the pointing device has to be moved very greatly and the operation is troublesome.

【0006】本発明は、上記の問題点を解消すべくなさ
れたものであり、ポインタを所望の位置へ一挙に移動可
能とすることによって操作性に優れたポインタの移動制
御方法を提供することを目的とする。
The present invention has been made to solve the above problems, and provides a pointer movement control method having excellent operability by allowing the pointer to move to a desired position all at once. To aim.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明によるポインタの移動制御方法は、ジャンプ
動作によるポインタ移動指令を発する指令手段と、移動
方向及び移動量に応じてポインタの移動位置情報を入力
するポインティングデバイスと、このポインティングデ
バイスによって入力されたポインタの現在位置情報及び
前回位置情報を入力順に更新しつつ格納する第1の格納
手段と、ポインタの複数のジャンプ先位置情報を予め格
納する第2の格納手段とを備えた移動量入力装置におい
て、ポインタ移動指令に応答して第1の格納手段に格納
されている現在位置情報及び前回位置情報から移動方向
を求め、複数のジャンプ先位置情報のうち求めた移動方
向に延びる線に最も近いジャンプ先位置情報を第2の格
納手段から捜し、この捜し出したジャンプ先位置情報に
よって特定されるジャンプ先位置にポインタをジャンプ
移動させるようになっている。
In order to achieve the above object, a pointer movement control method according to the present invention comprises a command means for issuing a pointer movement command by a jump operation and a movement of the pointer according to a movement direction and a movement amount. A pointing device for inputting position information, a first storage unit for storing the current position information and the previous position information of the pointer input by the pointing device while updating them in the order of input, and a plurality of jump destination position information of the pointer in advance. In a movement amount input device having a second storage means for storing, in response to a pointer movement command, a movement direction is obtained from current position information and previous position information stored in the first storage means, and a plurality of jumps are performed. Searching the second storage means for the jump destination position information closest to the obtained line extending in the moving direction among the destination position information, Has a pointer to the jump destination position so as to jump movement specified by the jump destination position information locate the.

【0008】[0008]

【作用】本発明によるポインタの移動制御方法では、ポ
インタ移動指令に応答して現在位置情報及び前回位置情
報から移動方向を求め、予め登録されている複数のジャ
ンプ先位置情報の中から、先に求めた移動方向に延びる
線に最も近いジャンプ先位置情報を捜し、この捜し出し
た位置情報によって特定されるジャンプ先位置にポイン
タをジャンプ移動させることで、予め登録されているジ
ャンプ先位置にポインタを一挙に移動させる。
In the pointer movement control method according to the present invention, the movement direction is obtained from the current position information and the previous position information in response to the pointer movement command, and the plurality of pre-registered jump destination position information is first selected. By searching for the jump destination position information closest to the obtained line extending in the moving direction and jumping the pointer to the jump destination position specified by the found position information, the pointer is moved to the jump destination position registered in advance. Move to.

【0009】[0009]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図2は、本発明に係る移動制御方法が適用
される移動量入力装置を用いたコンピュータシステム全
体のハードウェアの構成ブロック図である。図におい
て、このコンピュータシステムでは、コンピュータ本体
1に対してディスプレイ2、キーボード3及びポインテ
ィングデバイス4が接続された構成となっている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 2 is a block diagram of the hardware of the entire computer system using the movement amount input device to which the movement control method according to the present invention is applied. In the figure, this computer system has a configuration in which a display 2, a keyboard 3, and a pointing device 4 are connected to a computer main body 1.

【0010】キーボード3は、各種のデータを入力する
複数の入力キーに加えて、後述するポインタのジャンプ
動作による移動指令をなすポインタ移動指令キーを備え
ている。このポインタ移動指令キーとしては、専用のキ
ーを設けても良く、また他の入力キーを兼用するように
しても良い。また、ディスプレイ2の画面上にはポイン
タが表示可能となっており、このポインタを画面上で移
動させるためのデータはポインティングデバイス4から
入力される。
The keyboard 3 is provided with a plurality of input keys for inputting various kinds of data and a pointer movement command key for issuing a movement command by a jumping operation of a pointer which will be described later. As this pointer movement command key, a dedicated key may be provided, or another input key may also be used. Further, a pointer can be displayed on the screen of the display 2, and data for moving the pointer on the screen is input from the pointing device 4.

【0011】ポインティングデバイス4では、一定時間
毎に移動量がXY座標データに表現される。このXY座
標データは、一定時間毎のハードウェアの割込みによっ
てコンピュータ本体1に取り込まれることになる。ディ
スプレイ2の画面上でのポインタの移動例を図3に示
す。同図において、ポインタP1 は前回の表示位置を、
ポインタP2 は現在の表示位置をそれぞれ示している。
また、例えば6個の×印(Q1 〜Q6 )は、ポインタを
ジャンプ移動させる候補となるジャンプ先位置である。
0 は、ポインタP1 とP2 を結ぶ線を延長した線であ
る。
In the pointing device 4, the movement amount is expressed in XY coordinate data at regular time intervals. This XY coordinate data is taken into the computer main body 1 by interruption of the hardware at regular intervals. An example of movement of the pointer on the screen of the display 2 is shown in FIG. In the figure, the pointer P 1 indicates the previous display position,
The pointers P 2 respectively indicate the current display position.
Further, for example, six × mark (Q 1 to Q 6) is a jump destination position serving as candidates to jump move the pointer.
L 0 is a line obtained by extending the line connecting the pointers P 1 and P 2 .

【0012】コンピュータ本体1の内部メモリには、ポ
インタ位置テーブルとジャンプ位置テーブルが格納され
ている。これらテーブルを図4(A),(B)にそれぞ
れ示す。ポインタ位置テーブル(A)は、1つ前(前
回)のポインタの位置(図3のP1 )と、現在のポイン
タの位置(図3のP2 )の各情報を、ディスプレイ2の
画面(図3)の左上隅を(0,0)とした座標位置(右
方向,左方向)の形式で表現して保持している。
A pointer position table and a jump position table are stored in the internal memory of the computer main body 1. These tables are shown in FIGS. 4 (A) and 4 (B), respectively. The pointer position table (A) displays the information of the previous (previous) pointer position (P 1 in FIG. 3) and the current pointer position (P 2 in FIG. 3) on the screen of the display 2 (Fig. The coordinate position (right direction, left direction) in which the upper left corner of 3) is (0, 0) is expressed and held.

【0013】一方、ジャンプ位置テーブル(B)は、ポ
インタをジャンプ移動させる候補位置であるジャンプ先
位置(図3のQ1 〜Q6 )をポインタ位置テーブルと同
様な座標位置の形式で保持し、同時に、保持している個
数m(本例では、6個)も保持する。このジャンプ位置
テーブル(B)には、予め、頻繁に移動させなければな
らない位置、換言すれば移動頻度の高い位置がジャンプ
先の候補位置として登録されることになる。
On the other hand, the jump position table (B) holds jump destination positions (Q 1 to Q 6 in FIG. 3) which are candidate positions for jumping the pointer in the same coordinate position format as the pointer position table. At the same time, the number m (6 in this example) held is also held. In this jump position table (B), positions that must be frequently moved, in other words, positions that are frequently moved are registered as jump destination candidate positions.

【0014】次に、本発明によるポインタの移動制御方
法の処理手順につき、図1(A),(B)のフローチャ
ートにしたがって説明する。なお、図1(A)はポイン
ティングデバイス4による座標入力ルーチンのフローチ
ャートを、図1(B)はキーボード3によるキー入力ル
ーチンのフローチャートをそれぞれ示している。
Next, the processing procedure of the pointer movement control method according to the present invention will be described with reference to the flowcharts of FIGS. 1 (A) and 1 (B). Note that FIG. 1A shows a flowchart of a coordinate input routine by the pointing device 4, and FIG. 1B shows a flowchart of a key input routine by the keyboard 3.

【0015】先ず、図1(A)において、ポインティン
グデバイス4から周期的に移動量が通知されると、この
移動量を座標データとして取り込み(ステップS1
1)、その値に対応して「ポインタの位置」を計算し
(ステップS12)、ディスプレイ2の画面の対応位置
(図3のP2 )にポインタを移動させて表示する(ステ
ップS13)。そして、ポインタの現在位置(図3のP
2)をポインタ位置テーブルにセーブする(ステップS
14)。この時、図4のポインタ位置テーブル(A)上
において、古い「現在の位置」の座標データを「1つ前
の位置」の座標データと置換し、新しい「現在の位置」
の座標データとしてポインタの現在位置の座標データを
格納する。
First, in FIG. 1A, when the movement amount is periodically notified from the pointing device 4, the movement amount is taken in as coordinate data (step S1).
1), corresponding to the value to calculate the "position of the pointer" (step S12), the corresponding position on the screen of the display 2 (by moving the pointer P 2) in FIG. 3 for displaying (step S13). Then, the current position of the pointer (P in FIG.
2 ) is saved in the pointer position table (step S
14). At this time, the old "current position" coordinate data is replaced with the "previous position" coordinate data on the pointer position table (A) of FIG.
The coordinate data of the current position of the pointer is stored as the coordinate data of.

【0016】次に、図1(B)において、キーボード3
のキー入力(押下)による割込みがあると、その入力キ
ーがポインタ移動指令キーであるか否かを判断し(ステ
ップS21)、ポインタ移動指令キーであれば、図4の
ポインタ位置テーブル(A)の過去2回分、即ち現在位
置と前回(1つ前)位置の各ポインタ位置から移動方向
(図3の直線L0 )を決める(ステップS22)。ここ
で、ポインタの現在の位置P2 の座標を(x0
0 )、前回の位置P1 の座標を(x-1,y-1)とする
と、座標(x-1,y-1)と座標(x0 ,y0 )を通る直
線L0 は、次式(1)から求められる。
Next, referring to FIG. 1B, the keyboard 3
When there is an interruption due to the key input (pressing), it is judged whether or not the input key is the pointer movement command key (step S21), and if it is the pointer movement command key, the pointer position table (A) in FIG. Of the past two times, that is, the moving direction (the straight line L 0 in FIG. 3) is determined from the respective pointer positions of the current position and the previous (previous) position (step S22). Here, the coordinate of the current position P 2 of the pointer is (x 0 ,
y 0 ), assuming that the coordinates of the previous position P 1 are (x -1 , y -1 ), the straight line L 0 passing through the coordinates (x -1 , y -1 ) and the coordinates (x 0 , y 0 ) is It is calculated from the following equation (1).

【数1】 [Equation 1]

【0017】続いて、ポインタの移動方向を表わす直線
0 に距離的に最も近いジャンプ先位置を、図4のジャ
ンプ位置テーブル(B)のジャンプ先候補位置(図3の
1 〜Q6 )の中から計算して捜し求める(ステップS
23)。このジャンプ先候補位置を捜すに当っては、ジ
ャンプ先候補位置Q1 〜Q6 についての直線L0 までの
距離X1 〜X6 を求め、これら距離X1 〜X6 を比較す
ることにより、最小値のジャンプ先候補位置が直線L0
に最も近い位置となる。そして、その適合したジャンプ
先候補位置へポインタを移動させる(ステップS2
4)。
Subsequently, the jump destination position closest in distance to the straight line L 0 representing the moving direction of the pointer is determined as the jump destination position (Q 1 to Q 6 in FIG. 3) in the jump position table (B) in FIG. Calculate and search from (step S
23). Is hitting the search for the jump destination candidate position, it obtains a distance X 1 to X 6 to the straight line L 0 of the jump destination candidate positions Q 1 to Q 6, by comparing the distances X 1 to X 6, The jump destination candidate position having the minimum value is the straight line L 0.
It is the closest position to. Then, the pointer is moved to the suitable jump destination candidate position (step S2).
4).

【0018】ここで、直線L0 に最も近いジャンプ先位
置を捜す方法の一例について以下に述べる。今、例えば
ジャンプ先候補位置Q1 の座標を(x1 ,y1 )とする
と、座標(x1 ,y1 )を通りかつ直線L0 に垂直な直
線L1 は、次式で表される。
Here, an example of a method for searching for a jump destination position closest to the straight line L 0 will be described below. Now, assuming that the coordinates of the jump destination candidate position Q 1 are (x 1 , y 1 ), a straight line L 1 passing through the coordinates (x 1 , y 1 ) and perpendicular to the straight line L 0 is expressed by the following equation. ..

【数2】 また、上記式(1),(2)より、直線L0 と直線L1
の交点の座標(xa ,ya )を求めることができること
から、ジャンプ先候補位置Q1 の座標(x1 ,y1 )と
交点座標(xa ,ya )間の距離X1 を、次式(3)か
ら求めることができる。
[Equation 2] Further, from the above equations (1) and (2), the straight line L 0 and the straight line L 1 are
Intersection coordinate (x a, y a) from being able to determine a coordinate jump destination candidate positions Q 1 and (x 1, y 1) the intersection coordinates (x a, y a) the distance X 1 between, It can be obtained from the following equation (3).

【数3】 他のジャンプ先候補位置Q2 〜Q6 についての距離X2
〜X6 についても、同様にして求めることができる。
[Equation 3] Distances X 2 with respect to other jump destination candidate positions Q 2 to Q 6
It is possible to obtain ~ X 6 in the same manner.

【0019】[0019]

【発明の効果】以上詳細に説明したように、本発明によ
れば、ポインタ移動指令に応答して現在位置情報及び前
回位置情報から移動方向を求め、予め登録されている複
数のジャンプ先位置情報の中から、先に求めた移動方向
に延びる線に最も近いジャンプ先位置情報を捜し、この
捜し出した位置情報によって特定されるジャンプ先位置
にポインタをジャンプ移動させるようにしたので、予め
登録されているジャンプ先位置にポインティングデバイ
スの操作者がキー入力したタイミングで一挙にポインタ
を移動することができ、遠く離れた位置へのポインタの
移動が簡単な操作で可能となる。
As described in detail above, according to the present invention, the movement direction is obtained from the current position information and the previous position information in response to the pointer movement command, and a plurality of jump destination position information registered in advance. Since the jump destination position information closest to the line extending in the moving direction obtained earlier is searched for and the pointer is jumped to the jump destination position specified by the searched position information, it is registered in advance. The pointer can be moved all at once when the operator of the pointing device key-enters the jump destination position, and the pointer can be moved to a distant position by a simple operation.

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

【図1】本発明による移動制御方法の処理手順を示すフ
ローチャートである。
FIG. 1 is a flowchart showing a processing procedure of a movement control method according to the present invention.

【図2】本発明に係る移動制御方法が適用される移動量
入力装置を用いたコンピュータシステム全体のハードウ
ェアの構成ブロック図である。
FIG. 2 is a hardware configuration block diagram of the entire computer system using the movement amount input device to which the movement control method according to the present invention is applied.

【図3】ディスプレイの画面上のポインタの移動例を示
す図である。
FIG. 3 is a diagram showing an example of movement of a pointer on a screen of a display.

【図4】座標データの格納テーブルを示す図であり、
(A)はポインタ位置テーブル、(B)はジャンプ位置
テーブルをそれぞれ示している。
FIG. 4 is a diagram showing a storage table of coordinate data,
(A) shows a pointer position table, and (B) shows a jump position table.

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

1 コンピュータ本体 2 ディスプレ
イ 3 キーボード 4 ポインティ
ングデバイス
1 computer body 2 display 3 keyboard 4 pointing device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ジャンプ動作によるポインタ移動指令を
発する指令手段と、移動方向及び移動量に応じて前記ポ
インタの移動位置情報を入力するポインティングデバイ
スと、前記ポインティングデバイスによって入力された
前記ポインタの現在位置情報及び前回位置情報を入力順
に更新しつつ格納する第1の格納手段と、前記ポインタ
の複数のジャンプ先位置情報を予め格納する第2の格納
手段とを備えた移動量入力装置において、 前記ポインタ移動指令に応答して前記第1の格納手段に
格納されている前記現在位置情報及び前回位置情報から
移動方向を求め、 前記複数のジャンプ先位置情報のうち求めた移動方向に
延びる線に最も近いジャンプ先位置情報を前記第2の格
納手段から捜し、 この捜し出したジャンプ先位置情報によって特定される
ジャンプ先位置に前記ポインタをジャンプ移動させるこ
とを特徴とするポインタの移動制御方法。
1. A command means for issuing a pointer movement command by a jump operation, a pointing device for inputting movement position information of the pointer according to a movement direction and a movement amount, and a current position of the pointer input by the pointing device. A movement amount input device comprising: first storage means for storing information and previous position information while updating in order of input; and second storage means for previously storing a plurality of jump destination position information of the pointer, wherein the pointer In response to a movement command, a movement direction is obtained from the current position information and the previous position information stored in the first storage means, and is closest to a line extending in the obtained movement direction among the plurality of jump destination position information. The jump destination position information is searched from the second storage means, and is specified by the found jump destination position information. A method for controlling movement of a pointer, characterized in that the pointer is jump-moved to a jump destination position.
JP3228884A 1991-08-13 1991-08-13 Movement control method for pointer Pending JPH0546316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3228884A JPH0546316A (en) 1991-08-13 1991-08-13 Movement control method for pointer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3228884A JPH0546316A (en) 1991-08-13 1991-08-13 Movement control method for pointer

Publications (1)

Publication Number Publication Date
JPH0546316A true JPH0546316A (en) 1993-02-26

Family

ID=16883373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3228884A Pending JPH0546316A (en) 1991-08-13 1991-08-13 Movement control method for pointer

Country Status (1)

Country Link
JP (1) JPH0546316A (en)

Similar Documents

Publication Publication Date Title
US5365254A (en) Trendgraph display system
JPH03174191A (en) Three-dimensional display device
WO2008029180A1 (en) An apparatus and method for position-related display magnification
US5673067A (en) Information processing apparatus and method
JP3357760B2 (en) Character / graphic input editing device
JP3360347B2 (en) Input device and display device
JPH0546316A (en) Movement control method for pointer
JP2951454B2 (en) Cursor movement processing method
JPH0546311A (en) Mouse pointing operation control system
JPH0566885A (en) Touch-input device and operation of plant using it
JPH0580025B2 (en)
JP3050281B2 (en) Map information retrieval device
JP2699321B2 (en) File processing device
JPH09244858A (en) Control method for window system and information processor
JPH07168866A (en) Three-dimensional subject arranging device
JPH045991B2 (en)
JP3000749B2 (en) Character editing device
JPH09134254A (en) Data input method
JPH07271994A (en) Method and system for graphic selection
JPS6057405A (en) Block searching device using graphic screen
JPH09128126A (en) Controller for field specification
JP3144786B2 (en) Information processing device
JPH08272535A (en) Pointer display control method
JPH05143652A (en) Information retrieval system
JPH0675558A (en) Display data moving device