JPH0697430B2 - Coordinate point designating means and screen display device using the same - Google Patents

Coordinate point designating means and screen display device using the same

Info

Publication number
JPH0697430B2
JPH0697430B2 JP4342837A JP34283792A JPH0697430B2 JP H0697430 B2 JPH0697430 B2 JP H0697430B2 JP 4342837 A JP4342837 A JP 4342837A JP 34283792 A JP34283792 A JP 34283792A JP H0697430 B2 JPH0697430 B2 JP H0697430B2
Authority
JP
Japan
Prior art keywords
screen
ball
coordinate point
horizontal
scrolling
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.)
Expired - Lifetime
Application number
JP4342837A
Other languages
Japanese (ja)
Other versions
JPH06195171A (en
Inventor
ジョン・タケシ・マエダ
Original Assignee
財団法人国際メディア研究財団
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 財団法人国際メディア研究財団 filed Critical 財団法人国際メディア研究財団
Priority to JP4342837A priority Critical patent/JPH0697430B2/en
Publication of JPH06195171A publication Critical patent/JPH06195171A/en
Publication of JPH0697430B2 publication Critical patent/JPH0697430B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、外部入力装置として
マウスやトラックボールなどの座標点指示手段を画面ス
クロール手段としても使用できるように構成すると共
に、これを使用したコンピュータによる画面表示装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a screen display device by a computer using coordinate point designating means such as a mouse or a trackball as an external input device so that it can also be used as screen scrolling means.

【0002】[0002]

【従来の技術】コンピュータファイリングシステム、コ
ンピュータグラフィックスなどコンピュータを使用した
画面表示装置では、ファイルの選択、動作モードの指示
などのときには、外部入力装置としてマウスやトラック
ボールを使用した座標点指示手段を使用する場合が多
い。
2. Description of the Related Art In a screen display device using a computer such as a computer filing system and computer graphics, a coordinate point designating means using a mouse or a trackball as an external input device is used when selecting a file or instructing an operation mode. Often used.

【0003】例えば、図27に示す画面表示装置はCR
Tなどのモニタ4とコンピュータ本体5とで構成され、
これに外部入力装置としてマウスMやトラックボールT
などの座標点指示手段が接続され、この座標点指示手段
によってファイルの選択、動作モードの指示、座標点の
指示などが行われる。
For example, the screen display device shown in FIG.
It consists of a monitor 4 such as T and the computer body 5,
An external input device such as a mouse M or a trackball T
Is connected to the coordinate point designating means, and the coordinate point designating means performs file selection, operation mode designation, coordinate point designation, and the like.

【0004】[0004]

【発明が解決しようとする課題】マウスMやトラックボ
ールTなどはボールとボールの回転方向を検知するセン
サとで構成されているため、その構造上モニタスクリー
ン上であればどの方向にも移動して指示できるようにな
っている。つまり、二次元空間の任意の位置に移動でき
る構成となっている。
Since the mouse M, the trackball T, etc. are composed of a ball and a sensor for detecting the rotating direction of the ball, the mouse M and the trackball T can move in any direction on the monitor screen due to its structure. Can be instructed. That is, the structure is such that it can be moved to any position in the two-dimensional space.

【0005】マウスM単独で座標点の指定の他に、スク
ロールなど別の機能を達成するにはモードを変更する
か、マウスMのボールを回転させながら表示画面をスク
ロールするようにしている。
In addition to designation of coordinate points by the mouse M alone, in order to achieve another function such as scrolling, the mode is changed or the display screen is scrolled while rotating the ball of the mouse M.

【0006】後者の場合には、マウスMは二次元上での
位置指定であるためにボールは360°何れの方向にも
回転できるから、スクリーン4上で表示画面を縦方向若
しくは横方向の何れかにスクロールするような一次元指
定の場合には、ボールの回転方向が規制されていないた
めに水平方向若しくは垂直方向への画面スクロールを正
確に制御できない。
In the latter case, since the mouse M specifies the position in two dimensions, the ball can rotate in any direction of 360 °, so that the display screen on the screen 4 can be either vertically or horizontally. In the case of one-dimensional designation such as scrolling to the right, the screen scrolling in the horizontal direction or the vertical direction cannot be accurately controlled because the rotation direction of the ball is not regulated.

【0007】特に、スクリーン4上に表示されているフ
ァイルのデータ内容によっては何れか一方の方向にしか
画面をスクロールできない場合がある。例えばメモリに
格納されている現に表示されているファイルの横方向
(水平方向)のデータがスクリーンの横方向を表示でき
るデータよりも少ないような場合には、表示画面を横方
向にスクロールさせても余り意味がない。このときは縦
方向だけスクロール(以下タテ・スクロールという)で
きるようにしたほうがよい。横方向へのスクロール(以
下ヨコ・スクロールという)の場合も理由は同じであ
る。
In particular, depending on the data content of the file displayed on the screen 4, the screen may be scrolled in only one direction. For example, if the horizontal (horizontal) data of the file currently stored in the memory is less than the horizontal data of the screen, the display screen may be scrolled horizontally. It doesn't make much sense. At this time, it is better to be able to scroll vertically (hereinafter referred to as vertical scroll). The reason is the same for horizontal scrolling (hereinafter referred to as horizontal scroll).

【0008】そこで、この発明はこのような従来の課題
を解決したものであって、トラックボールやマウスなど
の座標点指示手段をスクロール手段としても作動できる
ようにした座標点指示手段およびこれを使用した画面表
示装置を提案するものである。
Therefore, the present invention has solved such a conventional problem, and uses a coordinate point designating means such that a coordinate point designating means such as a trackball or a mouse can be operated also as a scrolling means, and the coordinate point designating means is used. The proposed screen display device.

【0009】[0009]

【課題を解決するための手段】上述の課題を解決するた
め、第1の発明に係る座標点指示手段は、スクリーン上
に表示された座標点を移動させるための座標点指示手段
を構成するボールに対し、ボールの回動方向を水平軸方
向か垂直軸方向のみに規制するためのブレーキ手段が上
記ボール周辺の水平軸上と垂直軸上のそれぞれに配さ
れ、このブレーキ手段が作動したときには上記座標点指
示手段が画面スクロール手段として機能するようになさ
れたことを特徴とするものである。
In order to solve the above-mentioned problems, the coordinate point designating means according to the first invention is a ball which constitutes the coordinate point designating means for moving the coordinate point displayed on the screen. On the other hand, braking means for restricting the rotating direction of the ball only in the horizontal axis direction or the vertical axis direction are arranged on the horizontal axis and the vertical axis around the ball, respectively. The coordinate point designating means functions as a screen scrolling means.

【0010】第2の発明に係る画面表示装置では、スク
リーン上に表示された座標点を移動させるための座標点
指示手段と、コンピュータ本体と、ファイル用メモリ
と、モニタとで構成され、上記座標点指示手段は、これ
を構成するボールに対し、ボールの回動方向を水平軸方
向か垂直軸方向のみに規制するためのブレーキ手段が上
記ボール周辺の水平軸上と垂直軸上のそれぞれに配さ
れ、上記ファイルの水平方向および垂直方向に対応した
データと上記モニタのサイズから上記ブレーキ手段の作
動状態が制御され、このブレーキ手段が作動したときに
は上記座標点指示手段が画面スクロール手段として機能
するようになされたことを特徴とするものである。
In the screen display device according to the second aspect of the present invention, there are provided coordinate point designating means for moving the coordinate points displayed on the screen, a computer main body, a file memory, and a monitor. In the point indicating means, the braking means for restricting the rotating direction of the ball to only the horizontal axis direction or the vertical axis direction is arranged on the horizontal axis and the vertical axis around the ball. The operating state of the brake means is controlled from the data corresponding to the horizontal and vertical directions of the file and the size of the monitor, and when the brake means is activated, the coordinate point designating means functions as screen scroll means. It is characterized by what was done.

【0011】[0011]

【作用】図1に示すように、座標点指示手段20はボー
ル21と、ボール21の回転方向を検出するための座標
点検知センサ22,23の他に垂直軸方向に配された一
対のブレーキ手段24と、水平軸方向に配された一対の
ブレーキ手段25とで構成される。
As shown in FIG. 1, the coordinate point designating means 20 includes a ball 21, a coordinate point detection sensor 22 and 23 for detecting the rotation direction of the ball 21, and a pair of brakes arranged in the vertical axis direction. It comprises a means 24 and a pair of braking means 25 arranged in the horizontal axis direction.

【0012】図1に示す画面表示装置1において、ヨコ
・スクロールの場合には一対のブレーキ手段24が作動
してボール21を垂直方向から抑える。ブレーキ手段2
4を水平軸方向(水平軸の回り)に対して回転自在に構
成すれば、ボール21は水平軸方向に対してのみ回転す
るのでヨコ・スクロール動作となる。このとき、垂直軸
方向へのボール回転は規制されているので、ヨコ・スク
ロールの動作が確実になる。
In the screen display device 1 shown in FIG. 1, in the case of horizontal scrolling, a pair of brake means 24 are operated to hold the ball 21 from the vertical direction. Brake means 2
If 4 is configured to be rotatable in the horizontal axis direction (around the horizontal axis), the ball 21 rotates only in the horizontal axis direction, so that a horizontal scroll operation is performed. At this time, since the rotation of the ball in the vertical axis direction is restricted, the horizontal scrolling operation is ensured.

【0013】これとは逆にタテ・スクロールの場合には
一対のブレーキ手段25が作動してボール21を水平方
向から抑える。ブレーキ手段25を垂直軸方向に対して
回転自在に構成すれば、ボール21は垂直軸方向に対し
てのみ回転するので、タテ・スクロール動作となる。こ
のときも水平軸方向へのボール21の回転は規制されて
いるので、タテ・スクロールの動作が確実になる。
On the contrary, in the case of the vertical scroll, the pair of braking means 25 are operated to hold the ball 21 from the horizontal direction. If the braking means 25 is configured to be rotatable in the vertical axis direction, the ball 21 rotates only in the vertical axis direction, so that the vertical scrolling operation is performed. Also at this time, since the rotation of the ball 21 in the horizontal axis direction is restricted, the vertical scrolling operation is ensured.

【0014】タテ・スクロールとするかヨコ・スクロー
ルとするかは現に使用中にあるファイルの横方向と縦方
向のデータとモニタ4のスクリーンサイズをそれぞれ参
酌して自動的に決定される。
Whether to use the vertical scroll or the horizontal scroll is automatically determined in consideration of the horizontal and vertical data of the file currently in use and the screen size of the monitor 4.

【0015】[0015]

【実施例】続いて、この発明に係る座標点指示手段およ
びこれを使用した画面表示装置の一例を、図面を参照し
て詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an example of the coordinate point designating means and the screen display device using the same according to the present invention will be described in detail with reference to the drawings.

【0016】図1はこの発明に係る座標点指示手段20
を使用した画面表示装置1の概要を示す。キーボード2
からの入力データはコンピュータ本体に設けられた制御
部10内のCPU11に取り込まれて、そのデータが解
析されるとともに、解析結果がモニタ4上に表示され
る。座標点指示手段20として機能するこの例ではトラ
ックボール20からの座標点データはCPU11に取り
込まれて、これがスクリーン上にカーソルKとして表示
される。
FIG. 1 shows a coordinate point designating means 20 according to the present invention.
The outline of the screen display device 1 using is shown. Keyboard 2
The input data from is taken in by the CPU 11 in the control unit 10 provided in the computer main body, the data is analyzed, and the analysis result is displayed on the monitor 4. In this example, which functions as the coordinate point designating means 20, coordinate point data from the trackball 20 is fetched by the CPU 11 and displayed as a cursor K on the screen.

【0017】12はイメージファイルや文書ファイルの
データが格納されたメモリ(RAM)であり、13はト
ラックボール20に設けられたブレーキ手段24,25
(詳細は後述する)に対するコントロール部である。
Reference numeral 12 is a memory (RAM) in which data of an image file and a document file is stored, and 13 is a braking means 24, 25 provided on the trackball 20.
It is a control unit for (details will be described later).

【0018】図2にも示すようにこの発明に係る座標点
指示手段として機能するトラックボール20は以下のよ
うに構成される。
As shown in FIG. 2, the trackball 20 functioning as the coordinate point designating means according to the present invention is constructed as follows.

【0019】座標点を指示するためのボール21に対し
座標点検知用の一対の検知センサ22,23がボール2
1に接触してこの例では水平軸よりほぼ45°傾いた方
向に取り付けられる。ブレーキ手段24、25はそれぞ
れ押圧子24A,25Aとそれらに対する作動部24
B,25Bとで構成される。
A pair of detection sensors 22 and 23 for detecting coordinate points are provided on the ball 2 for indicating a coordinate point.
In this example, it is attached in a direction inclined by about 45 ° with respect to the horizontal axis. The braking means 24, 25 are respectively pushers 24A, 25A and an operating portion 24 for them.
B and 25B.

【0020】ボール21の垂直軸方向に位置する上下両
側にはボール21と所定の間隙を保持してそれぞれ押圧
子24Aが配される。押圧子24Aに対しては作動部2
4Bが設けられ、作動部24Bをコントロールすること
によって押圧子24Aのボール21に対する押圧および
その解除がなされる。Hはその作動制御信号を示す。
Pressers 24A are arranged on the upper and lower sides of the ball 21 in the vertical axis direction with a predetermined gap therebetween. Actuator 2 for the pusher 24A
4B is provided, and the pressing member 24A presses the ball 21 and releases the ball 21 by controlling the operating portion 24B. H indicates the operation control signal.

【0021】同様に、水平軸方向に位置する左右両側の
所定位置にはそれぞれ押圧子25Aが配されると共に押
圧子25Aに対する作動部25Bが設けられ、作動部2
5Bをコントロールすることによって押圧子25Aのボ
ール21に対する押圧およびその解除がなされる。Vは
その作動制御信号を示す。
Similarly, pushers 25A are arranged at predetermined positions on both the left and right sides in the horizontal axis direction, and actuating portions 25B for the pushers 25A are provided.
By controlling 5B, the pressing element 25A presses and releases the ball 21. V indicates the operation control signal.

【0022】作動制御信号H,Vはコントロール部13
でハード的に作成されるようになっているが、CPU1
1の内部処理によってソフト的に作成することもでき
る。
The operation control signals H and V are supplied to the control unit 13
It is designed to be created by hardware, but CPU1
It can also be created as software by the internal processing of 1.

【0023】作動部24B,25Bは何れも同じように
構成されているので作動部25Bだけの具体例を述べ
る。図3Aは作動部25Bの具体例であって、本例では
電磁ソレノイド30を用いた場合を示す。
Since the operating parts 24B and 25B have the same structure, a specific example of only the operating part 25B will be described. FIG. 3A is a specific example of the operating unit 25B, and in this example, the electromagnetic solenoid 30 is used.

【0024】電磁ソレノイド30は回転自在な筒状体3
1を有し、その内部にはボビン(図示はしない)などに
巻回された駆動コイル32が取り付け固定されると共
に、駆動コイル32の中空部内を貫通するように所定長
の作動杆33が配され、その先端部に押圧子25Aが取
着される。押圧子25Aはゴムや軟質プラスチックスな
どの成形品を使用することができる。
The electromagnetic solenoid 30 is a rotatable cylindrical body 3.
1 has a drive coil 32 wound around a bobbin (not shown) and the like, and an operating rod 33 of a predetermined length is arranged so as to penetrate the hollow portion of the drive coil 32. Then, the pusher 25A is attached to the tip portion thereof. As the presser member 25A, a molded product such as rubber or soft plastics can be used.

【0025】筒状体31は複数のボールベアリング35
などを介して同じく筒状体をなす固定手段34に回転自
在に取り付けられる。固定手段34はトラックボール本
体(図示はしない)に固定される。
The tubular body 31 has a plurality of ball bearings 35.
It is also rotatably attached to the fixing means 34 which is also a tubular body via the above. The fixing means 34 is fixed to the trackball body (not shown).

【0026】作動杆33は駆動コイル32に供給される
作動制御信号Vに基づいて左右方向に進退すると共に、
作動時には図3Bのようにボール21の左右周面に押圧
子25Aが押圧されるので、これによってボール21の
中心を通す仮想水平軸方向に対するボール21の回転が
規制される。
The actuating rod 33 moves forward and backward based on the actuation control signal V supplied to the drive coil 32, and
As shown in FIG. 3B, the pusher 25A is pressed against the left and right peripheral surfaces of the ball 21 during operation, so that the rotation of the ball 21 in the virtual horizontal axis direction through the center of the ball 21 is restricted.

【0027】しかし、電磁ソレノイド30は作動杆33
の円周方向に対しては自由に回転できるので、図3Bの
ようにボール21の左右周面に押圧子25Aが押圧して
もボール21の垂直軸方向に対する回転運動は規制され
ない。したがって、ボール21に垂直軸方向の回転が付
与されると、ボール21がその方向に回転し、電磁ソレ
ノイド30も同時に回転する。一対の作動部25Bは同
時に制御されるから、左右の押圧子24Aはボール21
に同時に押圧され、その押圧が同時に解除される。
However, the electromagnetic solenoid 30 operates the operating rod 33.
Since it can freely rotate in the circumferential direction, the rotational movement of the ball 21 in the vertical axis direction is not restricted even when the pressing element 25A presses the left and right peripheral surfaces of the ball 21 as shown in FIG. 3B. Therefore, when the ball 21 is rotated in the vertical axis direction, the ball 21 rotates in that direction, and the electromagnetic solenoid 30 also rotates at the same time. Since the pair of actuating portions 25B are controlled simultaneously, the left and right pushers 24A are
Are simultaneously pressed and released at the same time.

【0028】垂直軸方向に配されたブレーキ手段24の
押圧子24Aと作動部24Bの関係も図3と同様である
ので、このブレーキ手段24が作動すると垂直軸方向に
対する回転のみが規制され、水平軸方向には自由に回転
できる。
Since the relationship between the pusher 24A and the operating portion 24B of the brake means 24 arranged in the vertical axis direction is the same as that in FIG. 3, only the rotation in the vertical axis direction is restricted when the brake means 24 is operated, and the horizontal direction is maintained. It can rotate freely in the axial direction.

【0029】さて、ボール21に対するブレーキ手段2
4、25の動作はこれから作業するファイルのデータ内
容に応じて適応的に制御した方が好ましい。上述したよ
うにモニタ4にはRAM12に格納されたイメージファ
イル若しくは文書ファイルのデータに基づいた画情報が
映し出されているので、このファイルの水平方向のデー
タと垂直方向のデータを監視し、それぞれのデータから
トラックボール20をフリーモードに制御するか、スク
ロールモードに制御するかを決定すればよい。どのよう
に制御するかの具体例を図4以下に示す。
Now, the braking means 2 for the ball 21
The operations of 4 and 25 are preferably controlled adaptively according to the data content of the file to be worked. As described above, since the image information based on the data of the image file or the document file stored in the RAM 12 is displayed on the monitor 4, the horizontal data and the vertical data of this file are monitored and each of them is monitored. It may be determined from the data whether the trackball 20 is controlled in the free mode or the scroll mode. A concrete example of how to control is shown in FIG.

【0030】図4Aのようにスクリーンの表示面の大き
さ(横Sx、縦Sy)に対し、スクリーンに表示すべき
ファイルの大きさが図4BのようにDx、Dyであった
とする。イメージファイルであるときはそのファイルを
構成する横幅Dx(ドット数)と、長さDy(ドット
数)の他に実際のイメージデータ(例えば2値データ)
が格納されている。文書ファイルであるときは、行数と
1行の最大文字数とさらに実際の文書データが格納され
ているので、行数と行間を乗算すると文書ファイルの大
きさのうち長さDyが求められ、最大文字数と書体のサ
イズを乗算するとその横幅Dxが求められる。
It is assumed that the size of the file to be displayed on the screen is Dx and Dy as shown in FIG. 4B with respect to the size (horizontal Sx, vertical Sy) of the display surface of the screen as shown in FIG. 4A. When the file is an image file, the actual image data (for example, binary data) in addition to the width Dx (number of dots) and the length Dy (number of dots) forming the file
Is stored. In the case of a document file, the number of lines, the maximum number of characters in one line, and the actual document data are stored. Therefore, when the number of lines and the line spacing are multiplied, the length Dy of the size of the document file is obtained. By multiplying the number of characters by the size of the typeface, its width Dx is obtained.

【0031】このスクリーンの大きさと、これに表示す
べきファイルのデータ量との関係からボール21の回転
方向が適応的に制御されて以下に示す4つのスクロール
態様が自動的に選択される。
The rotation direction of the ball 21 is adaptively controlled based on the relationship between the size of the screen and the amount of data of the file to be displayed on the screen, and the following four scroll modes are automatically selected.

【0032】(1)図4Bのようにファイルの横幅のデ
ータDx、長さDyともスクリーンの大きさSx,Sy
よりも大きいとき(Sx〈Dx,Sy〈Dy)。この場
合には、ファイルの全情報をスクリーンに一挙に表示で
きないので、この場合にはトラックボール20によるス
クロール方向が制限されないようにして、ファイルの表
示エリアを縦横の何れの方向にも自由にシフトさせて表
示できるようにしなけらばならない。そのためには、図
4Cのようにボール21に対するブレーキ手段24,2
5は共にフリーな状態にしておく必要がある。つまり、
作動制御信号は、H=0,V=0でなければならない。 (2)図5A,Bに示すようにスクリーンの大きさより
もファイルが縦長であるとき(Sx〉Dx,Sy〈D
y)。この場合には、表示画面はタテ・スクロールのみ
でよい。ヨコ・スクロールするために必要なファイルデ
ータが存在しないからである。したがって、同図Cのよ
うにボール21は垂直軸方向のみ回転できるようにブレ
ーキ手段25が作動する。したがって、H=0,V=1
である。 (3)図6A,Bに示すようにスクリーンの大きさより
もファイルが横長であるとき(Sx〈Dx,Sy〉D
y)。この場合には、表示画面はヨコ・スクロールのみ
でよい。したがって、同図Cのようにボール21は水平
軸方向のみ回転できるようにブレーキ手段24の作動状
態が制御される。H=1,V=0である。 (4)図7A,Bに示すようにスクリーンの大きさより
もファイルの大きさの方が小さいとき(Sx〉Dx,S
y〉Dy)。この場合にはスクロールしても新しい情報
がスクリーン上に表示されるわけではないので、スクロ
ール動作は規制される。つまり、同図Cのようにブレー
キ手段24,25が共に動作してボール21の動きがロ
ックされる。したがって、H=1,V=1である。
(1) As shown in FIG. 4B, the file width data Dx and the file length Dy are both screen sizes Sx and Sy.
Greater than (Sx <Dx, Sy <Dy). In this case, since all the information of the file cannot be displayed on the screen at once, in this case, the scrolling direction by the trackball 20 is not restricted and the display area of the file can be freely shifted in any of the vertical and horizontal directions. It must be able to be displayed. To that end, as shown in FIG. 4C, the braking means 24, 2 for the ball 21
Both 5 need to be kept free. That is,
The operation control signal must be H = 0 and V = 0. (2) When the file is vertically longer than the screen size as shown in FIGS. 5A and 5B (Sx> Dx, Sy <D
y). In this case, the display screen need only be vertically scrolled. This is because there is no file data necessary for horizontal scrolling. Therefore, the braking means 25 operates so that the ball 21 can rotate only in the vertical axis direction as shown in FIG. Therefore, H = 0, V = 1
Is. (3) When the file is horizontally longer than the screen size as shown in FIGS. 6A and 6B (Sx <Dx, Sy> D
y). In this case, the display screen need only be horizontal and scroll. Therefore, the operating state of the braking means 24 is controlled so that the ball 21 can rotate only in the horizontal axis direction as shown in FIG. H = 1 and V = 0. (4) When the file size is smaller than the screen size as shown in FIGS. 7A and 7B (Sx> Dx, S)
y> Dy). In this case, scrolling is restricted because new information is not displayed on the screen even if scrolling is performed. That is, as shown in FIG. 6C, the braking means 24 and 25 operate together to lock the movement of the ball 21. Therefore, H = 1 and V = 1.

【0033】これら4つのスクロール態様を実現するた
め、図8以下に示す制御プログラムがCPU11に関連
したプログラムメモリ(図示はしない)に格納されてい
る。図8はこの発明の基本的な動作であるトラックボー
ル動作とスクロール動作を実現するための制御プログラ
ムを示す。
In order to realize these four scroll modes, the control programs shown in FIG. 8 and subsequent figures are stored in a program memory (not shown) associated with the CPU 11. FIG. 8 shows a control program for realizing the trackball operation and the scroll operation which are the basic operations of the present invention.

【0034】図8において、40は外部入力装置として
の立ち上げ処理用プログラムであり、60は軸制御用プ
ログラムである。軸制御用プログラムは上述した4つの
制御態様(スクロール態様)を判断するために設けられ
たプログラムである。70は各スクロール態様に沿った
ブレーキ制御を実現するために設けられたボールブレー
キ用プログラムである。順を追って説明する。
In FIG. 8, reference numeral 40 is a start-up processing program as an external input device, and 60 is an axis control program. The axis control program is a program provided to determine the above-mentioned four control modes (scroll modes). Reference numeral 70 denotes a ball brake program provided to realize brake control according to each scroll mode. It will be explained step by step.

【0035】図9は立ち上げ処理用のフローチャート4
0の具体例を示すもので、図8に示すプログラムの立ち
上げが電源オンに同期して行われ、続いてスクリーンの
サイズSx,Syの読み込みが行われる(ステップ4
1,42)。
FIG. 9 is a flowchart 4 for start-up processing.
8 shows a specific example, the program shown in FIG. 8 is started up in synchronism with power-on, and then the screen sizes Sx and Sy are read (step 4).
1, 42).

【0036】次に、キーボード2上に設けられたロード
ボタン(図示しない)が押されると、ファイルの存在が
判断され(ステップ43,44)、RAM12にファイ
ルが格納されているときはそのファイルの種類がチェッ
クされる。ステップ45のようにイメージファイルであ
るときはイメージファイルの横幅と縦の長さ(Dx,D
y)とさらにイメージデータの読み込みが行われる(ス
テップ46,47)。
Next, when a load button (not shown) provided on the keyboard 2 is pressed, the existence of the file is judged (steps 43 and 44), and when the file is stored in the RAM 12, the file is stored. The type is checked. When the image file is an image file as in step 45, the width and the vertical length of the image file (Dx, D
y) and further reading of the image data is performed (steps 46 and 47).

【0037】ステップ48のように文書ファイルである
ときには、そのファイルの行数と1行の文字数および文
書データの読み込みが行われて、これらデータよりその
ファイルの横幅Dxと縦の長さDyが算出される(ステ
ップ49,50)。以上のデータの読み込みによって外
部入力装置としての初期プログラムの実行が終了する。
If the file is a document file as in step 48, the number of lines in the file, the number of characters in one line, and the document data are read, and the horizontal width Dx and vertical length Dy of the file are calculated from these data. (Steps 49 and 50). By reading the above data, the execution of the initial program as the external input device ends.

【0038】図10は軸制御用プログラム60の一例を
示すフローチャートであって、図9の制御プログラムに
よって読み取られたデータSx,Sy,Dx,Dyから
スクロール態様が判別される。
FIG. 10 is a flow chart showing an example of the axis control program 60, and the scroll mode is determined from the data Sx, Sy, Dx, Dy read by the control program of FIG.

【0039】図10のように、ステップ61と、62の
大小判別条件を共に満たすときは図4に示すフリーの状
態であるから、このときは作動制御信号はH=0,V=
0にセットされ(ステップ63)、ブレーキ手段24,
25はブレーキ解除状態となる。
As shown in FIG. 10, when both the size discrimination conditions of steps 61 and 62 are satisfied, it is in the free state shown in FIG. 4, and at this time, the operation control signal is H = 0, V =
0 (step 63), the braking means 24,
25 is in the brake release state.

【0040】ステップ61の条件は満たすがステップ6
2の条件を満たさないときは、図5のようにファイルの
サイズがスクリーンのサイズよりも縦長であることか
ら、この場合にはH=0,V=1にセットされてタテ・
スクロールモードが採られる(ステップ64)。
The condition of step 61 is satisfied, but step 6
When the condition of 2 is not satisfied, the file size is vertically longer than the screen size as shown in FIG. 5, so in this case, H = 0 and V = 1 are set and
The scroll mode is adopted (step 64).

【0041】ステップ61の条件は満たさないがステッ
プ65の条件を満たすときは、この場合は図6のように
ファイルのサイズがスクリーンのサイズよりも横長であ
ることから、H=1,V=0にセットされてヨコ・スク
ロールモードとなる(ステップ66)。
If the condition of step 61 is not satisfied but the condition of step 65 is satisfied, in this case, since the file size is horizontally longer than the screen size as shown in FIG. 6, H = 1, V = 0. Is set to the horizontal scroll mode (step 66).

【0042】ステップ61の条件もステップ65の条件
も共に満たさないときは、図7に示すようにファイルの
サイズがスクリーンのサイズよりも小さいときであるか
ら、この場合にはH=1,V=1にセットされてスクロ
ールモードが禁止される(ステップ67)。
When neither the condition of step 61 nor the condition of step 65 is satisfied, the file size is smaller than the screen size as shown in FIG. 7. Therefore, in this case, H = 1 and V = When set to 1, the scroll mode is prohibited (step 67).

【0043】スクリーンのサイズとファイルのサイズか
ら上述したようにスクロールモードが自動選択されたと
きでボール21を回転させると、ボール21の回転方向
に伴って画面のスクロールが開始されるわけであるが、
スクロールし過ぎて表示画面が一部欠如する可能性があ
る。
When the ball 21 is rotated when the scroll mode is automatically selected as described above from the size of the screen and the size of the file, scrolling of the screen is started in accordance with the rotating direction of the ball 21. ,
There is a possibility that it scrolls too much and a part of the display screen is lost.

【0044】例えば、図11A,Bに示すようにファイ
ルのサイズが縦長であるときは、上方へのタテ・スクロ
ール中表示画面Sの最上端を欠如なしに表示するには、
同図Cに示すように座標yが、y=Wy=0を越えては
ならない。つまり、y=Wyが負になってはならない。
For example, when the file size is vertically long as shown in FIGS. 11A and 11B, in order to display the uppermost end of the vertically vertical scrolling display screen S without omission,
The coordinate y must not exceed y = Wy = 0 as shown in FIG. That is, y = Wy must not be negative.

【0045】同様に、下方へのタテ・スクロール中にあ
って表示画面Sの最下端を欠如しないように表示するに
は、同図Dに示すようにy=Wy=Dy−hよりも小さ
くなければならない。つまり、スクロール中はy=Dy
−hよりも大きな値を取ってはならない。ここに、h=
Syである。
Similarly, in order to display the bottom end of the display screen S during vertical scrolling so as not to lack it, it must be smaller than y = Wy = Dy-h as shown in FIG. I have to. That is, y = Dy during scrolling
Do not take values greater than -h. Where h =
It is Sy.

【0046】そして、表示画面Sが最上端若しくは最下
端以上にスクロールするときはボール21に対して適当
なブレーキをかけることによって、スクロールし過ぎで
あること(スクロール過剰)をオペレータに触覚的に促
した方がよい。そのためには垂直軸方向のボール回転を
規制するブレーキ手段24に対し、例えば作動制御信号
Hとして図12に示すようなパルス状の信号を作動部2
4Bに与えて、間欠的なブレーキ動作を付与すればよ
い。
When the display screen S scrolls to the uppermost end or the lowermost end or more, an appropriate brake is applied to the ball 21 to tactilely urge the operator to be overscrolling (scrolling excessive). You should do it. For that purpose, a pulse-like signal as shown in FIG.
4B to give an intermittent braking operation.

【0047】ファイルのサイズが横長であるときは、図
13A〜Dに示すようになるから、この場合には左方向
へのヨコ・スクロール時は同図Cのように表示画面Sの
左端部の座標xが、x=Wx=0以下にならないように
することによって表示画面Sの一部欠落が防止される。
右方向へのスクロール時は表示画面Sの右端部の座標x
が、x=Wx=Dx−wを越えないようにすることによ
って表示画面Sの一部欠落を防止できる。ここに、w=
Sxである。
13A to 13D when the file size is horizontal, in this case, when the file is horizontally scrolled to the left, the left end portion of the display screen S is displayed as shown in FIG. By preventing the coordinate x from falling below x = Wx = 0, it is possible to prevent the display screen S from being partially lost.
When scrolling to the right, the coordinate x of the right edge of the display screen S
However, it is possible to prevent a partial omission of the display screen S by preventing x = Wx = Dx-w from being exceeded. Where w =
It is Sx.

【0048】この場合にもブレーキ手段25に与える作
動制御信号Vとして図14に示すようなパルス状の信号
を作動部24Bに与えれば、水平軸方向への回転動作に
対して間欠的なブレーキ動作をボール21に付与できる
ため、スクロールオーバーをオペレータ自身に認識させ
ることができる。
Also in this case, if a pulse signal as shown in FIG. 14 is given to the actuating portion 24B as the actuation control signal V given to the braking means 25, the braking operation is intermittent with respect to the rotational operation in the horizontal axis direction. Since the ball 21 can be applied to the ball 21, the operator can recognize the scroll-over.

【0049】このような表示状態を踏まえたブレーキ制
御状態を達成する具体的なフローチャート70を図15
と図16に示す。
FIG. 15 shows a concrete flow chart 70 for achieving the brake control state based on such a display state.
And shown in FIG.

【0050】まず、図15において、ステップ71,7
2でスクリーンサイズとファイルのサイズの大小が判別
され、ステップ71,72の条件をそれぞれクリヤーす
ると図4のサイズ関係であることが判る。この場合には
特別な処理は行われず、別の操作キーなどによってスク
ロール中止かどうかがチェックされ(ステップ73)、
対応する操作キーが押されたときにはスクロールモード
が中止される。
First, in FIG. 15, steps 71 and 7
In step 2, the size of the screen and the size of the file are discriminated, and when the conditions of steps 71 and 72 are cleared, respectively, it can be seen that the size relationship shown in FIG. In this case, no special processing is performed, and it is checked whether or not the scroll is stopped by another operation key or the like (step 73).
The scroll mode is canceled when the corresponding operation key is pressed.

【0051】ステップ71は満たすもののステップ72
の条件を満たさないときは、図5にも示した通りタテ・
スクロールモードとなる。このときは図11に示したよ
うにy軸(垂直軸)の座標yの値Wyが監視され(ステ
ップ74)、Wy=0(表示画面Sの上端部が欠如しな
いための条件)以下にならないか、Wy=Dy−h(表
示画面Sの下端部が欠如しないための条件)以上にはな
らないかのチェックが行われる。
Step 71 is satisfied but step 72
When the condition of is not satisfied, as shown in FIG.
Enters scroll mode. At this time, as shown in FIG. 11, the value Wy of the coordinate y on the y-axis (vertical axis) is monitored (step 74) and does not become Wy = 0 (condition for not missing the upper end of the display screen S) or less. It is checked whether or not Wy = Dy-h (condition for not missing the lower end of the display screen S) or more.

【0052】これら条件を満たしているときは、表示画
面Sは欠如されることなく表示されているので、このと
きは図5に示したようにH=0,V=1としてブレーキ
手段25が常時動作するように制御される(ステップ7
5)。
When these conditions are satisfied, the display screen S is displayed without omission. At this time, therefore, as shown in FIG. 5, H = 0 and V = 1 and the braking means 25 is constantly operated. Controlled to work (step 7)
5).

【0053】そして、このタテ・スクロールモードでは
ボール21の回転状態がチェックされ(ステップ7
6)、ボール21の回転による座標値の変化分Δx,Δ
yが位置センサ22,23によって検知されて読み取ら
れる(ステップ77)。これら変化分Δx,Δyを加味
して表示画面Sの新たな上端および下端の座標値が算出
され、上端値としては(0,Wy+Δy)の何れか大き
い方が選択され、選択された座標値Wyが0以下になっ
たときを上方スクロールの限界とする(ステップ78,
79,74)。
In this vertical scroll mode, the rotation state of the ball 21 is checked (step 7
6), changes in coordinate values due to rotation of the ball 21 Δx, Δ
y is detected and read by the position sensors 22 and 23 (step 77). The coordinate values of the new upper end and lower end of the display screen S are calculated in consideration of these changes Δx and Δy, and the larger upper limit value of (0, Wy + Δy) is selected, and the selected coordinate value Wy is selected. Is set to 0 or less as the upper scroll limit (step 78,
79, 74).

【0054】これは、座標値Wyがマイナスになったと
きは表示画面Sの上端部が座標値y=0のさらに上側に
位置することであり、一方座標値y=0がスクリーンに
表示できる上端の限界であることから、マイナス値から
0までの間のデータはスクリーンに表示されなくなるか
らである。上端値を0に抑えておけば表示画面Sの上端
が欠如したままスクリーンに表示されることがなくなる
からである。
This means that when the coordinate value Wy becomes negative, the upper end of the display screen S is positioned further above the coordinate value y = 0, while the coordinate value y = 0 can be displayed on the screen. This is because the data between the negative value and 0 is not displayed on the screen because it is the limit of. This is because if the upper limit value is suppressed to 0, the upper end of the display screen S will not be displayed on the screen without being cut off.

【0055】同様に、ステップ74ではスクロール結果
の新たな下端座標値が算出され、その値Wyと下端限界
値(Dy−h)との比較が行われ、そのうちの小さい方
の値が表示画面Sの下端値として選ばれる。そして、選
択された下端値Wyが下端限界値(Dy−h)となった
ときは以後この下端限界値が表示画面の下端値として選
ばれる。これによって表示画面Sの下端部が一部欠如し
て表示されるようなことはなくなる。
Similarly, in step 74, a new lower end coordinate value of the scroll result is calculated, the value Wy is compared with the lower end limit value (Dy-h), and the smaller one is displayed on the display screen S. Is selected as the lower limit of. Then, when the selected lower limit value Wy reaches the lower limit value (Dy-h), this lower limit value is subsequently selected as the lower limit value of the display screen. As a result, the lower end of the display screen S will not be partially displayed and displayed.

【0056】スクロール結果、この上端限界値Wy=0
となったとき若しくは下端限界値Wy=Dy−hとなっ
たときには(ステップ74)、作動制御信号Hとしてパ
ルス信号が使用され、垂直軸方向に対するブレーキ手段
24が間欠的に作動する(ステップ80)。このとき、
他方の作動制御信号Vは「1」のままである。このよう
な垂直軸方向に対する間欠的なブレーキ作用はスクロー
ル中止指令が入力されるまで継続する(ステップ7
9)。
As a result of scrolling, this upper limit value Wy = 0
Or when the lower limit value Wy = Dy-h (step 74), a pulse signal is used as the operation control signal H, and the braking means 24 operates intermittently in the vertical axis direction (step 80). . At this time,
The other operation control signal V remains "1". Such intermittent braking action in the vertical axis direction continues until a scroll stop command is input (step 7).
9).

【0057】ヨコ・スクロールモードのときは、Sy
〈Dyであるからステップ71より図16に示すフロー
チャートに遷移する。そして、Sx〉Dyであるときは
図7と同じになってスクロール中止指令によってこのス
クロールモードから抜ける(ステップ81,82)。
In the horizontal / scroll mode, Sy
Since <Dy, the process proceeds from step 71 to the flowchart shown in FIG. Then, when Sx> Dy, the process is the same as in FIG. 7 and the scroll stop command is issued to exit the scroll mode (steps 81 and 82).

【0058】しかし、Sx〈Dxであるときは、ヨコ・
スクロールモードとなり、この場合も表示画面Sの左端
限界値Wxとして0が設定され、右端限界値Wxとして
(Dx−w)が設定され、H=1にして垂直軸方向に設
けられたブレーキ手段24がオン状態に制御される(ス
テップ84,85)。
However, if Sx <Dx, then
In the scroll mode, in this case as well, 0 is set as the left end limit value Wx of the display screen S, (Dx-w) is set as the right end limit value Wx, and the braking means 24 provided in the vertical axis direction with H = 1. Is controlled to the ON state (steps 84 and 85).

【0059】ボール21を回してスクロールさせなが
ら、そのときの座標値Δx,Δyを加味して左端値Wx
としては(0,Wx+Δx)のうち大きい方が選択さ
れ、右端値Wxとしては(Wx,Dx−w)のうち小さ
い方が選択される(ステップ86,87,88)。この
処理によって表示画面Sの一部欠如がなくなる。
While the ball 21 is rotated and scrolled, the left end value Wx is added by taking into account the coordinate values Δx and Δy at that time.
Is selected as the larger one of (0, Wx + Δx), and the smaller one of (Wx, Dx-w) is selected as the right end value Wx (steps 86, 87, 88). This processing eliminates a part of the display screen S.

【0060】選択された左端値Wxが左端限界値0とな
ったときは、もはや左方向へのスクロールは限界である
のでこのときは作動制御信号Vとしてパルス信号が与え
られて水平軸方向に対するボール回転に対して間欠的な
ブレーキが付与される(ステップ90)。同様に、選択
された右端値Wxが右端限界値(Dx−w)となったと
きは、もはや右方向へのスクロールは限界であるのでこ
のときも作動制御信号Vとしてパルス信号が与えられて
水平軸方向に対するボール回転に対して間欠的なブレー
キが付与される(ステップ90)。
When the selected left end value Wx reaches the left end limit value 0, scrolling to the left is no longer possible. At this time, therefore, a pulse signal is given as the operation control signal V and the ball in the horizontal axis direction is supplied. An intermittent brake is applied to the rotation (step 90). Similarly, when the selected right end value Wx reaches the right end limit value (Dx-w), scrolling to the right is no longer a limit, and at this time also, a pulse signal is given as the operation control signal V and the horizontal direction is applied. Intermittent braking is applied to the ball rotation in the axial direction (step 90).

【0061】上述したトラックボール20に対してはト
ラックボールとしての機能の他に、スクリーンのサイズ
と読み込まれたファイルのサイズからスクロール態様を
自動的に算出して対応するブレーキ処理を行うようにし
たが、図17のようにトラックボール本体82の一側面
に操作ボタン83を設け、非操作状態はトラックボール
(マウス)としてつまり座標点指示手段として機能さ
せ、矢印84のような操作状態のとき始めてスクロール
用の操作手段として機能させるようにも構成することが
できる。
In addition to the function as a trackball, the above-mentioned trackball 20 is configured to automatically calculate the scroll mode from the size of the screen and the size of the read file and perform the corresponding braking process. However, as shown in FIG. 17, an operation button 83 is provided on one side surface of the trackball main body 82, and the non-operation state functions as a trackball (mouse), that is, as coordinate point designating means. It can also be configured to function as an operation means for scrolling.

【0062】このとき、トラックボール本体82の一部
に例えば「スクロール」と刻字した表示部85を設け、
操作ボタン83が操作されたとき図17Bのように表示
部85が点灯するようにすれば、操作ボタン83の操作
状態を視覚的にも簡単に確認できる。87はトラックボ
ールとして使用するときの周知のクリックボタンであ
る。
At this time, a display portion 85 having the characters "scroll", for example, is provided on a part of the trackball main body 82,
When the display section 85 is turned on as shown in FIG. 17B when the operation button 83 is operated, the operation state of the operation button 83 can be visually confirmed easily. 87 is a well-known click button when used as a trackball.

【0063】このようなトラックボール20を使用した
ときの制御プログラムの基本動作を図18に示す。図8
と同一の部分はその説明を省略するが、立ち上げ処理プ
ログラム40が起動すると、操作ボタン83の操作状態
がチェックされ(ステップ93)、これが操作されたと
きつまり、B=1では上述したようなスクロール処理を
行うべく制御プログラム60と70′が選択される。軸
制御用の制御プログラム60は図10と同じである。
FIG. 18 shows the basic operation of the control program when such a trackball 20 is used. Figure 8
Although the description of the same parts as those in FIG. 3 will be omitted, when the start-up processing program 40 is started, the operation state of the operation button 83 is checked (step 93), and when this is operated, that is, when B = 1, as described above. Control programs 60 and 70 'are selected to perform the scrolling process. The control program 60 for axis control is the same as in FIG.

【0064】ボールブレーキ用の制御プログラム70′
は図19および図20にそれぞれ示すように操作ボタン
83の操作状態をチェックしてスクロールモードが選択
されたかどうかを判断する機能(ステップ95,96)
が追加された以外は図11および図12と全く同じ処理
ステップである。そのため、その説明は省略する。
Control program 70 'for ball brake
Is a function for checking the operation state of the operation button 83 as shown in FIGS. 19 and 20 and determining whether or not the scroll mode is selected (steps 95 and 96).
The processing steps are exactly the same as those in FIG. 11 and FIG. 12 except that is added. Therefore, the description is omitted.

【0065】図18に戻って、B=0のときつまり操作
ボタン83を操作しないときは通常のトラックボール動
作となるので、そのときはステップ100のカーソル位
置を処理するための制御プログラムが起動され、終了キ
ーの操作によってこの制御プログラムが終了する(ステ
ップ94)。
Returning to FIG. 18, when B = 0, that is, when the operation button 83 is not operated, the normal trackball operation is performed. At that time, the control program for processing the cursor position in step 100 is started. The control program is terminated by operating the end key (step 94).

【0066】図21は上述した制御プログラム100の
一例を示すフローチャートであって、ブレーキ手段2
4,25は共に開放状態に制御される(ステップ10
1)。その後、トラックボール21が動いたかどうかが
チェックされ(ステップ102)、動いたときはそのと
きの変化量Δx,ΔyとBの値が読み込まれ、スクリー
ン上での新たなカーソル位置(Mx,My)が算出され
る(ステップ103,104)。
FIG. 21 is a flow chart showing an example of the control program 100 described above.
Both 4 and 25 are controlled to the open state (step 10).
1). After that, it is checked whether or not the trackball 21 has moved (step 102). When the trackball 21 has moved, the change amounts Δx, Δy and the value of B at that time are read, and a new cursor position (Mx, My) on the screen is read. Is calculated (steps 103 and 104).

【0067】カーソル位置は常にスクリーンの画面内に
あることが望ましいので、カーソルがこのスクリーンか
らはみ出さないように水平軸であるx軸に関しては画面
の左端限界値0と現カーソル位置Mxとのうちの大きい
方が選択され、現カーソル位置Mxが左端限界値0を越
えるときはこの左端限界値0が選択される(ステップ1
05)。
Since it is desirable that the cursor position is always within the screen of the screen, the left end limit value 0 of the screen and the current cursor position Mx are set with respect to the horizontal x-axis so that the cursor does not protrude from the screen. Is selected, and when the current cursor position Mx exceeds the left end limit value 0, this left end limit value 0 is selected (step 1
05).

【0068】同様に、x軸に関し画面(スクリーン)の
右端限界値Sxと現カーソル位置Mxとが比較され、そ
の小さい方の値が選択され、現カーソル位置Mxが右端
限界値Sxを越えるときは下端限界値Sxが選択される
(ステップ105)。
Similarly, the right end limit value Sx of the screen (screen) with respect to the x-axis is compared with the current cursor position Mx, the smaller value is selected, and when the current cursor position Mx exceeds the right end limit value Sx. The lower limit value Sx is selected (step 105).

【0069】垂直軸であるy軸に関しても同じようなカ
ーソル位置の選択処理が行われ(ステップ106)、こ
れら両者の選択処理の結果、スクリーン以外の座標をボ
ール21の回転によって指示されたとしても、カーソル
を常にスクリーン内に表示することができる。
Similar cursor position selection processing is performed for the y-axis, which is the vertical axis (step 106). As a result of both selection processing, even if coordinates other than the screen are designated by the rotation of the ball 21. , The cursor can always be displayed on the screen.

【0070】ステップ107に示すようにキーボード2
からトラックボールによる座標点指示動作に対する中止
指令が出されたときにはカーソル位置制御処理が終了す
る。ボール21が回されなかったり、操作ボタン83を
操作してB=1にしたときも同様である(ステップ10
2,108)。
Keyboard 2 as shown in step 107
When the stop command for the coordinate point designating operation by the trackball is issued from, the cursor position control processing ends. The same applies when the ball 21 is not turned or when the operation button 83 is operated to set B = 1 (step 10).
2, 108).

【0071】図17に示すトラックボール20を使用し
て描画処理を行うときは、図22に示すようにスクリー
ン上に表示された描画画面のうち描画モード指定エリア
内の描画モード(描画の線)をカーソルKで選択し、描
画エリア内に指定した線で描画することになる。
When performing the drawing process using the trackball 20 shown in FIG. 17, the drawing mode (drawing line) in the drawing mode designation area of the drawing screen displayed on the screen as shown in FIG. Is selected by the cursor K, and the designated line is drawn in the drawing area.

【0072】この描画モードのときにはカーソルKによ
って指定された1点から次の点が指定されるまでのカー
ソルKの動きに応じて指定線種でラバーバンドのように
2点間を描画できた方が便利である。
In this drawing mode, a person who can draw between two points like a rubber band with a designated line type according to the movement of the cursor K from one point designated by the cursor K until the next point is designated. Is convenient.

【0073】この描画処理を行うときの基本的な制御プ
ログラムの一例を図23に示す。この場合、トラックボ
ールモードでかつクリックボタン87(図17)が押さ
れたとき(ステップ111,112)、描画モード用の
制御プログラム(線種指定の制御プログラム120とカ
ーソルK座標確定のための制御プログラム130)が起
動され、終了キーの操作によって描画モードが終了する
(ステップ113)。
FIG. 23 shows an example of a basic control program for performing this drawing process. In this case, in the trackball mode and when the click button 87 (FIG. 17) is pressed (steps 111 and 112), the drawing mode control program (the line type designation control program 120 and the control for determining the cursor K coordinate). The program 130) is activated, and the drawing mode is ended by operating the end key (step 113).

【0074】線種指定用制御プログラム120の一例を
図24に示す。線種としてタテ線が指定されたときには
(ステップ121)、ボール21はタテ方向にのみ動け
ば描画動作としては充分である。そのため、このときは
図5に示すタテ・スクロールと同じ状態を達成するべく
H=0,V=1に制御されてブレーキ手段25のみが作
動状態となる(ステップ122)。
An example of the line type designation control program 120 is shown in FIG. When the vertical line is designated as the line type (step 121), it is sufficient for the drawing operation if the ball 21 moves only in the vertical direction. Therefore, at this time, in order to achieve the same state as the vertical scroll shown in FIG. 5, H = 0 and V = 1 are controlled, and only the braking means 25 is activated (step 122).

【0075】ステップ123においてヨコ線が指定され
たときは図6と同じヨコ・スクロールと同じ状態を達成
すべくH=1,V=0となされてブレーキ手段24のみ
が作動状態に制御される(ステップ124)。
When the horizontal line is designated in step 123, H = 1 and V = 0 are set in order to achieve the same state as the horizontal scroll as in FIG. 6, and only the braking means 24 is controlled to the operating state ( Step 124).

【0076】タテ線でもなく、ヨコ線でもなく自由線が
指定されたときには、ボール21の回転方向がフリー状
態となるように、H=0,V=0に制御されて図4の状
態が実現される(ステップ125)。
When neither the vertical line nor the horizontal line but the free line is designated, the state of FIG. 4 is realized by controlling H = 0 and V = 0 so that the rotation direction of the ball 21 is in the free state. (Step 125).

【0077】線種が指定されると、次はカーソル位置の
確定処理に移る。このとき線引きのための2点間が確定
していなくても、あたかもカーソルKが移動する2点間
が時々刻々と確定したかの如く捉えることによってラバ
ーバンドのように線間が描画される。
When the line type is designated, the process moves to the cursor position confirmation process. At this time, even if the two points for the line drawing are not fixed, the lines are drawn like a rubber band by catching the two points where the cursor K moves as if they were fixed momentarily.

【0078】図25のように線種を指定した後での最初
の点pは既に確定しているものとする。次にカーソルK
を点qに移動させたとき、点pq間の線間L1を疑似的
に確定して線引きが行われ、次の時点ではカーソルKが
点rに移ったときは、線間L1を消去し(画面をクリー
ンにし)、その代わり点pr間の線間L2を疑似的に確
定して線引きが行われる。この線間の消去と線引きを交
互に高速で行えば、確定点nまではあたかもラバーバン
ドで線引きを行っているのと等価な状態を実現できる。
It is assumed that the first point p after the line type is designated as shown in FIG. 25 has already been determined. Then cursor K
Is moved to the point q, the line L1 between the points pq is tentatively determined and line drawing is performed. When the cursor K moves to the point r at the next time, the line L1 is erased ( Instead, the screen is cleaned, and instead, the line interval L2 between the points pr is pseudo-determined and the line drawing is performed. By alternately erasing the lines and drawing the lines at high speed, it is possible to realize a state equivalent to drawing with a rubber band up to the fixed point n.

【0079】これを実現する制御プログラム130の具
体例を図26に示す。連続した線引きと消去を行うた
め、まずカーソルKが動いた2点間の座標(x1,y
1)、(x2,y2)が読み込まれると同時に、直前の座
標によって与えられた線引きの消去、つまりスクリーン
をクリーンにする処理と、新たな座標による線引きが行
われる(ステップ131,132)。この一連の処理が
他方の座標が確定するまで行われる。
FIG. 26 shows a concrete example of the control program 130 for realizing this. In order to perform continuous line drawing and erasing, first the coordinates (x1, y
At the same time that 1) and (x2, y2) are read, the process of deleting the line drawing given by the immediately preceding coordinates, that is, the process of cleaning the screen, and the line drawing by the new coordinates are performed (steps 131 and 132). This series of processing is performed until the other coordinate is determined.

【0080】他方の座標が確定するとクリックボタン8
7が押されてc=1となるので(ステップ133)、こ
のときはそのカーソルの位置の変化値(Δx,Δy)が
読み込まれて新たな座標(Mx,My)が算出され、算
出結果が確定された座標値x2,y2となる(ステップ1
34,135,138)。
When the other coordinate is confirmed, click button 8
Since 7 is pressed and c = 1 is set (step 133), the change value (Δx, Δy) of the cursor position is read at this time, new coordinates (Mx, My) are calculated, and the calculation result is The determined coordinate values are x2 and y2 (step 1
34,135,138).

【0081】ステップ136,137は上述したように
カーソルKがスクリーンの画面外にでないようにするた
めの処理であるからその説明は省略する。座標値x2,
y2が確定すると再び次の線引き処理およびそれに先立
つスクリーン消去処理が行なわれる(ステップ13
9)。この処理中に操作ボタン87が押されると座標確
定処理が終了する(ステップ140)。
Steps 136 and 137 are processing for keeping the cursor K out of the screen as described above, and therefore description thereof will be omitted. Coordinate value x2,
When y2 is confirmed, the next line drawing process and the screen erasing process preceding it are performed again (step 13).
9). If the operation button 87 is pressed during this processing, the coordinate confirmation processing ends (step 140).

【0082】座標点指示手段20としてはマウスでもよ
い。図17の構成は一例に過ぎない。座標点指示手段2
0はキーボード2内に設けられているものにも適用でき
る。
A mouse may be used as the coordinate point designating means 20. The configuration of FIG. 17 is merely an example. Coordinate point designating means 2
0 is also applicable to those provided in the keyboard 2.

【0083】[0083]

【発明の効果】以上のように、この発明に係る座標点指
示手段では、ボールの回動方向を水平方向か垂直方向の
みに規制するためのブレーキ手段をボール周辺の水平軸
上と垂直軸上のそれぞれに配し、このブレーキ手段が作
動したときには座標点指示手段が画面スクロール手段と
して機能するようにしたものである。
As described above, in the coordinate point designating means according to the present invention, the braking means for restricting the rotating direction of the ball only in the horizontal direction or the vertical direction is provided on the horizontal axis and the vertical axis around the ball. The coordinate point designating means functions as screen scrolling means when the brake means is activated.

【0084】さらに、この発明に係る画面表示装置で
は、この座標指示手段を用いて画面表示を実現する際ス
クリーンのサイズと読み込むべきファイルのサイズから
自動的にスクロール態様を選択できるようにしたもので
ある。
Further, in the screen display device according to the present invention, the scroll mode can be automatically selected from the size of the screen and the size of the file to be read when the screen display is realized by using the coordinate designating means. is there.

【0085】これによれば、トラックボールをスクロー
ル用としても使用できるし、その際タテ・スクロールな
らボールがタテ方向にしか回転しないように一方向に規
制できるから非常に便利である。
According to this, the trackball can be used also for scrolling, and in this case, the vertical scroll can be restricted in one direction so that the ball rotates only in the vertical direction, which is very convenient.

【0086】スクリーンの画面からファイルの表示画面
が一部欠如しないようにしてあるので、スクロールし過
ぎてもう一度逆方向にスクロールし直すような手間もか
からない。
Since a part of the file display screen is not missing from the screen screen, it does not take too much time to scroll again in the opposite direction.

【0087】カーソルKは常にスクリーンの画面内にあ
るように制御したので、座標指示手段を過剰に移動させ
てもスクリーンからカーソルKが消えるようなことがな
く、またカーソルKを画面内に戻すための逆処理も必要
ない。
Since the cursor K is controlled so that it is always in the screen of the screen, the cursor K does not disappear from the screen even if the coordinate indicating means is excessively moved, and the cursor K is returned to the screen. There is no need for reverse processing of.

【0088】スクリーンの画面からファイルの表示画面
の一部が欠如しないようにする際、カーソル移動用のボ
ールに対して適応的に間欠的なブレーキがかかるように
したので、ボールを過剰移動させたことが触覚的にも判
るようになり、過度のボール操作を防止できるなどの特
徴を有する。
In order not to lack a part of the file display screen from the screen screen, the ball for cursor movement was adapted to be intermittently braked adaptively, so the ball was excessively moved. It has a feature that it becomes tactilely recognizable and excessive ball operation can be prevented.

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

【図1】この発明に係る画面表示装置の一例を示す要部
の系統図である。
FIG. 1 is a system diagram of essential parts showing an example of a screen display device according to the present invention.

【図2】座標指示手段の一例を示す要部の構成図であ
る。
FIG. 2 is a configuration diagram of a main part showing an example of a coordinate designating means.

【図3】ブレーキ手段の具体例を示す断面図である。FIG. 3 is a cross-sectional view showing a specific example of braking means.

【図4】ボールがフリー状態の図である。FIG. 4 is a view showing a ball in a free state.

【図5】タテ・スクロール時の説明図である。FIG. 5 is an explanatory diagram of vertical scrolling.

【図6】ヨコ・スクロール時の説明図である。FIG. 6 is an explanatory diagram at the time of horizontal scrolling.

【図7】スクロール禁止時の説明図である。FIG. 7 is an explanatory diagram when scrolling is prohibited.

【図8】トラックボール制御用基本的制御プログラムの
構成図である。
FIG. 8 is a configuration diagram of a basic control program for controlling a trackball.

【図9】立ち上げ処理用のフローチャートの一例を示す
図である。
FIG. 9 is a diagram showing an example of a flowchart for startup processing.

【図10】軸制御用フローチャートの一例を示す図であ
る。
FIG. 10 is a diagram showing an example of a flowchart for axis control.

【図11】タテ・スクロール時のブレーキ動作の説明図
である。
FIG. 11 is an explanatory diagram of a braking operation during vertical scrolling.

【図12】そのときに使用される作動制御信号Hの波形
図である。
FIG. 12 is a waveform diagram of an operation control signal H used at that time.

【図13】ヨコ・スクロール時のブレーキ動作の説明図
である。
FIG. 13 is an explanatory diagram of a brake operation at the time of horizontal scrolling.

【図14】そのときに使用される作動制御信号Vの波形
図である。
FIG. 14 is a waveform diagram of an operation control signal V used at that time.

【図15】ボールブレーキ用フローチャートの図であ
る。
FIG. 15 is a diagram of a flowchart for ball braking.

【図16】ボールブレーキ用のフローチャートの図であ
る。
FIG. 16 is a flow chart diagram for a ball brake.

【図17】トラックボールとスクロールの選択キーの説
明図である。
FIG. 17 is an explanatory diagram of a trackball and scroll selection key.

【図18】トラックボールとスクロール選択機能を付加
したときのボール制御用フローチャートの図である。
FIG. 18 is a diagram of a ball control flowchart when a track ball and a scroll selection function are added.

【図19】そのときのボールブレーキ用のフローチャー
トの図である。
FIG. 19 is a diagram of a flowchart for ball braking at that time.

【図20】そのときのボールブレーキ用のフローチャー
トの図である。
FIG. 20 is a diagram of a flowchart for ball braking at that time.

【図21】カーソル位置制御用フローチャートの図であ
る。
FIG. 21 is a flow chart for cursor position control.

【図22】描画モード選択動作の説明図である。FIG. 22 is an explanatory diagram of a drawing mode selection operation.

【図23】クリックキーを使用したときのフローチャー
トの図である。
FIG. 23 is a flowchart when using a click key.

【図24】線種指定用フローチャートの図である。FIG. 24 is a diagram of a flow chart for designating a line type.

【図25】連続的な線引きの動作説明図である。FIG. 25 is an explanatory diagram of an operation of continuous drawing.

【図26】カーソル座標確定のためのフローチャートの
図である。
FIG. 26 is a diagram of a flowchart for determining cursor coordinates.

【図27】従来の画面表示装置の図である。FIG. 27 is a diagram of a conventional screen display device.

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

1 画面表示装置 2 キーボード 4 モニタ 10 制御部 11 CPU 12 データRAM 13 コントロール部 20 トラックボール 21 ボール 22,23 位置検知センサ 24,25 ブレーキ手段 24A,25A 押圧子 24B,25B 作動部 83 操作ボタン 87 クリックボタン 1 Screen Display Device 2 Keyboard 4 Monitor 10 Control Unit 11 CPU 12 Data RAM 13 Control Unit 20 Trackball 21 Ball 22, 23 Position Detection Sensor 24, 25 Brake Means 24A, 25A Presser 24B, 25B Actuator 83 Operation Button 87 Click button

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 3/14 360 D 7165−5B 7165−5B G06F 3/14 360 D ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 3/14 360 D 7165-5B 7165-5B G06F 3/14 360 D

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 スクリーン上に表示された座標点を移動
させるための座標点指示手段を構成するボールに対し、 ボールの回動方向を水平軸方向か垂直軸方向のみに規制
するためのブレーキ手段が上記ボール周辺の水平軸上と
垂直軸上のそれぞれに配され、 このブレーキ手段が作動したときには上記座標点指示手
段が画面スクロール手段として機能するようになされた
ことを特徴とする座標点指示手段。
1. Brake means for restricting a rotating direction of a ball to only a horizontal axis direction or a vertical axis direction with respect to a ball which constitutes a coordinate point indicating means for moving a coordinate point displayed on a screen. Are arranged on the horizontal axis and the vertical axis around the ball, respectively, and when the braking means is operated, the coordinate point designating means functions as screen scroll means. .
【請求項2】 上記座標点指示手段はマウス若しくはト
ラックボールであることを特徴とする請求項1記載の座
標点指示手段。
2. The coordinate point designating means according to claim 1, wherein the coordinate point designating means is a mouse or a trackball.
【請求項3】 スクリーン上に表示された座標点を移動
させるための座標点指示手段と、コンピュータ本体と、
ファイル用メモリと、モニタとで構成され、 上記座標点指示手段は、これを構成するボールに対し、 ボールの回動方向を水平軸方向か垂直軸方向のみに規制
するためのブレーキ手段が上記ボール周辺の水平軸上と
垂直軸上のそれぞれに配され、 上記ファイルの水平方向および垂直方向に対応したデー
タと上記モニタのサイズから上記ブレーキ手段の作動状
態が制御され、このブレーキ手段が作動したときには上
記座標点指示手段が画面スクロール手段として機能する
ようになされたことを特徴とする画面表示装置。
3. A coordinate point designating means for moving a coordinate point displayed on a screen, a computer main body,
The coordinate point designating means is composed of a file memory and a monitor, and the coordinate point designating means is a braking means for restricting the rotation direction of the ball to only the horizontal axis direction or the vertical axis direction with respect to the ball forming the ball point. It is arranged on each of the horizontal and vertical axes on the periphery, and the operating state of the braking means is controlled from the data corresponding to the horizontal and vertical directions of the file and the size of the monitor. A screen display device, wherein the coordinate point designating means functions as screen scrolling means.
【請求項4】 上記スクリーンのサイズとファイルのデ
ータ量から上記座標点指示手段が制御されて、これが座
標点指示用、ヨコ・スクロールおよびタテ・スクロール
用として機能するようになされたことを特徴とする請求
項2記載の画面表示装置。
4. The coordinate point designating means is controlled based on the size of the screen and the amount of data in the file, and the coordinate point designating means functions as coordinate point designating, horizontal scrolling and vertical scrolling. The screen display device according to claim 2.
【請求項5】 ヨコ・スクロールのときは上記垂直軸上
に配されたブレーキ手段が作動して上記ボールの垂直回
転を規制するようにしたことを特徴とする請求項3記載
の画面表示装置。
5. The screen display device according to claim 3, wherein during horizontal scrolling, a braking means arranged on the vertical axis is operated to regulate vertical rotation of the ball.
【請求項6】 タテ・スクロールのときは上記水平軸上
に配されたブレーキ手段が作動して上記ボールの水平回
転を規制するようにしたことを特徴とする請求項3記載
の画面表示装置。
6. The screen display device according to claim 3, wherein in vertical scrolling, a braking means arranged on the horizontal axis is operated to restrict horizontal rotation of the ball.
【請求項7】 上記モニタのスクリーンから表示画面の
一部が外れるようなスクロール制御状態のときは上記ブ
レーキ手段が間欠的に作動するように制御されることを
特徴とする請求項3記載の画面表示装置。
7. The screen according to claim 3, wherein the brake means is controlled to operate intermittently in a scroll control state in which a part of the display screen comes off the screen of the monitor. Display device.
【請求項8】 表示画面の座標値を監視し、スクリーン
上の座標値を外れるようなスクロールが行われたときは
上記スクリーンから上記表示画面が外れないように上記
画面表示用として読み込むべき座標限界値が規制される
ようになされたことを特徴とする請求項3記載の画面表
示装置。
8. A coordinate limit to be read for the screen display so as to monitor the coordinate value of the display screen and prevent the display screen from being displaced from the screen when scrolling out of the coordinate value on the screen is performed. The screen display device according to claim 3, wherein the value is regulated.
JP4342837A 1992-12-22 1992-12-22 Coordinate point designating means and screen display device using the same Expired - Lifetime JPH0697430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4342837A JPH0697430B2 (en) 1992-12-22 1992-12-22 Coordinate point designating means and screen display device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4342837A JPH0697430B2 (en) 1992-12-22 1992-12-22 Coordinate point designating means and screen display device using the same

Publications (2)

Publication Number Publication Date
JPH06195171A JPH06195171A (en) 1994-07-15
JPH0697430B2 true JPH0697430B2 (en) 1994-11-30

Family

ID=18356880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4342837A Expired - Lifetime JPH0697430B2 (en) 1992-12-22 1992-12-22 Coordinate point designating means and screen display device using the same

Country Status (1)

Country Link
JP (1) JPH0697430B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076496A (en) * 2001-08-31 2003-03-14 Kpe Inc Input device, information processing device using it and game machine
JP2009075995A (en) * 2007-09-25 2009-04-09 Hitachi Ltd Coordinate indicating device
TWI544368B (en) * 2011-03-29 2016-08-01 Giga Byte Tech Co Ltd Method for switching mouse and switch mode of operation with mode of operation

Also Published As

Publication number Publication date
JPH06195171A (en) 1994-07-15

Similar Documents

Publication Publication Date Title
US5611060A (en) Auto-scrolling during a drag and drop operation
US5396590A (en) Non-modal method and apparatus for manipulating graphical objects
US6570594B1 (en) User interface with non-intrusive display element
US6337703B1 (en) Method and apparatus for screen object manipulation
EP0938040B1 (en) An apparatus for manipulating an object displayed on a display device
JP5356849B2 (en) Touch screen image scrolling system and method
US5917486A (en) System and method for client program control of a computer display cursor
JP5230733B2 (en) Pointer control unit
JP4653075B2 (en) Method, system and computer program for adjusting the speed of a graphical pointer
US8370764B2 (en) Scrolling web pages using direct interaction
US5943052A (en) Method and apparatus for scroll bar control
US20090079740A1 (en) Navigation system for a 3d virtual scene
US20020118168A1 (en) Positional scrolling
US5686937A (en) User interface system and method for creating and removing a scrolling icon from a display based upon user past and present interaction with the icon
US5900872A (en) Method and apparatus for controlling the tracking of movable control elements in a graphical user interface
JPH06259193A (en) Computer input device
JP2004234662A (en) Method for triggering function by computer application by using digitizer having stylus; and digitizer system
DE112012007203T5 (en) Information display device, display information operation method
JP2000039947A (en) Method for linking two or more display window and computer system
JPH1040018A (en) Controller for mouse cursor and recording medium for recording control program of mouse cursor
JPH0697430B2 (en) Coordinate point designating means and screen display device using the same
JPH09198223A (en) Computer system
CN110249289A (en) The input equipment and method for rolling and being input to application program are provided
JPH08115197A (en) Scroll method for graphic processor
JP2630196B2 (en) Animation icon display device and animation icon display method