Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0350287B2 - - Google Patents
[go: Go Back, main page]

JPH0350287B2 - - Google Patents

Info

Publication number
JPH0350287B2
JPH0350287B2 JP60095924A JP9592485A JPH0350287B2 JP H0350287 B2 JPH0350287 B2 JP H0350287B2 JP 60095924 A JP60095924 A JP 60095924A JP 9592485 A JP9592485 A JP 9592485A JP H0350287 B2 JPH0350287 B2 JP H0350287B2
Authority
JP
Japan
Prior art keywords
axis
cursor
movement amount
storage unit
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.)
Expired - Lifetime
Application number
JP60095924A
Other languages
Japanese (ja)
Other versions
JPS61255428A (en
Inventor
Ryoji Oono
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
Hitachi KE Systems Ltd
Original Assignee
Hitachi Ltd
Hitachi Keiyo Engineering 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 Hitachi Ltd, Hitachi Keiyo Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP60095924A priority Critical patent/JPS61255428A/en
Publication of JPS61255428A publication Critical patent/JPS61255428A/en
Publication of JPH0350287B2 publication Critical patent/JPH0350287B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はコンピユータ装置等に備えた表示装置
の表示画面上の位置座標を入力する座標入力装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a coordinate input device for inputting position coordinates on a display screen of a display device provided in a computer device or the like.

〔発明の背景〕[Background of the invention]

コンピユータ装置等においては、データの入出
力等のため表示装置を備えている。そして、この
表示装置の表示画面のどの位置が処理対象位置で
あるかを示すマークとしてカーソル、あるいはア
イコンと呼ばれる表示記号等(以下、これらを総
称してカーソルという。)が使用される。このカ
ーソルを表示画面の任意の座標位置に移動するた
めには、種々の座標入力装置が利用される。中で
も、一般的に、マウス、ジヨイステイツク、トラ
ツクボール等と呼ばれるものは、操作部の操作に
より、表示画面上のX軸座標、Y軸座標を各々独
立して意識することなく、カーソルを表示画面上
の任意の方向に移動可能であることから、実用上
その操作が容易であり、効果大なるものである。
Computer devices and the like are equipped with display devices for inputting and outputting data. A cursor or a display symbol called an icon (hereinafter collectively referred to as a cursor) is used as a mark indicating which position on the display screen of this display device is a processing target position. Various coordinate input devices are used to move this cursor to any coordinate position on the display screen. Among these, what is generally called a mouse, joystick, track ball, etc. allows you to move the cursor on the display screen by operating the operation unit without being aware of the X-axis coordinates and Y-axis coordinates on the display screen independently. Since it can be moved in any direction, it is easy to operate in practice and has great effects.

マウスとは、一般的には、底に3つのベアリン
グのついた装置で、これを机上で転がしながら操
作し、ベアリングの回転角より座標値を得るもの
である。ジヨイステイツクとは、一般的には、操
作棒のついた装置で、この操作棒を握り、これを
前後左右等任意の位置に傾けることにより座標値
を得るものである。更に、トラツクボールとは、
いずれの方向にも回転可能なボールを備え、この
ボールを手のひらや指先で回転し、このボールの
回転角より座標値を得るものである。これらのも
のは、その操作により、カーソルの移動方向と移
動量を決定するX軸移動量信号とY軸移動量信号
とを同時に出力する。コンピユータ本体はこれら
各軸の移動量信号を入力し、これに見合つた分だ
け表示画面上におけるカーソルを移動制御する。
A mouse is generally a device with three bearings on the bottom, and is operated by rolling it on a desk to obtain coordinate values from the rotation angle of the bearings. A joy stick is generally a device with an operating rod that is gripped and tilted to any desired position, such as front, rear, left, or right, to obtain coordinate values. Furthermore, what is a track ball?
It is equipped with a ball that can be rotated in any direction, and by rotating this ball with the palm or fingertips, coordinate values are obtained from the rotation angle of this ball. When these devices are operated, they simultaneously output an X-axis movement amount signal and a Y-axis movement amount signal that determine the direction and amount of movement of the cursor. The computer main body inputs the movement amount signals of these respective axes and controls the movement of the cursor on the display screen by an amount commensurate with the movement amount signals.

マウス、ジヨイステイツク、トラツクボール等
の座標入力操作装置は、前記したように表示画面
上におけるカーソルの移動に当り、X軸、Y軸を
個別に入力する必要がないことから非常に有用な
ものである。これらの参考となるものとしては、
実開昭59−23828号、実開昭58−90433号がある。
しかしながら、これがため不都合が生じる場合が
ある。例えば、表示画面のX軸方向、あるいはY
軸方向に沿つてカーソルを移動したいような場合
である。これは例えば、X軸あるいはY軸と平行
に直線等を引くために、その始点、終点を入力す
る等の要求があつた場合等である。すなわち、こ
のような場合、前記したような座標入力操作装置
により、目的とする軸と異なる軸方向に信号を発
生しないように当該装置を操作することはかなり
の困難が伴なう。
Coordinate input operating devices such as a mouse, joystick, and track ball are extremely useful because they do not require separate input of the X and Y axes when moving the cursor on the display screen, as described above. . As a reference for these,
There are Utility Model Application No. 59-23828 and Utility Model Application No. 58-90433.
However, this may cause inconvenience. For example, in the X-axis direction of the display screen, or in the Y-axis direction.
This is the case when you want to move the cursor along the axial direction. This is the case, for example, when a request is made to input the starting point and ending point in order to draw a straight line parallel to the X-axis or Y-axis. That is, in such a case, it is quite difficult to operate the coordinate input operating device as described above so as not to generate a signal in an axial direction different from the intended axis.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複数の軸の座標を同時入力可
能な座標入力操作手段を備えたものにおいて、入
力軸を任意に選択可能な座標入力装置を得ること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a coordinate input device that is equipped with a coordinate input operation means that can input coordinates of a plurality of axes at the same time, and can arbitrarily select an input axis.

〔発明の概要〕[Summary of the invention]

上記の目的を達成するため、本発明の特徴とす
るところは、表示画面上に表示するカーソルのX
軸方向位置を記憶するX軸方向位置記憶部と前記
カーソルのY軸方向位置を記憶するY軸方向位置
記憶部とを有し、これら両記憶部に記憶した位置
情報に基づいて、前記カーソルを前記表示画面上
の所定位置に表示する表示制御手段と、前記表示
画面上におけるカーソルの移動方向とその移動量
を任意に指示する操作部を備え、当該操作部の操
作によつて前記カーソルの移動方向と移動量を決
定するX軸移動量信号とY軸移動量信号とを出力
する座標入力操作手段と、前記座標入力操作手段
からの前記X軸移動量信号を入力し、当該X軸移
動量信号に基づいて前記X軸方向位置記憶部の記
憶内容を更新するX軸位置更新手段と、前記座標
入力操作手段からの前記Y軸移動量信号を入力
し、当該Y軸移動量信号に基づいて前記Y軸方向
位置記憶部の記憶内容を更新するY軸位置更新手
段と、前記X軸位置更新手段と前記Y軸位置更新
手段とのいずれか一方の更新動作を選択的に無効
とする無効選択手段とを具備したことにある。
In order to achieve the above object, the present invention is characterized by
It has an X-axis position storage unit that stores the axial position and a Y-axis position storage unit that stores the Y-axis position of the cursor, and the cursor is moved based on the position information stored in both storage units. a display control means for displaying at a predetermined position on the display screen; and an operation section for arbitrarily instructing the direction and amount of movement of the cursor on the display screen; the cursor can be moved by operating the operation section; A coordinate input operation means that outputs an X-axis movement amount signal and a Y-axis movement amount signal that determine the direction and amount of movement; and a coordinate input operation means that inputs the X-axis movement amount signal from the coordinate input operation means, X-axis position updating means for updating the storage contents of the X-axis direction position storage section based on the signal; and inputting the Y-axis movement amount signal from the coordinate input operation means, and based on the Y-axis movement amount signal. Y-axis position updating means for updating the storage contents of the Y-axis position storage section, and invalidation selection for selectively disabling the updating operation of either the X-axis position updating means or the Y-axis position updating means. The key is to have the means.

〔発明の実施例〕[Embodiments of the invention]

以下、第1図から第5図に示す本発明の一実施
例について説明する。この実施例においては、座
標入力操作装置として前記したマウスを使用した
場合について示してある。
An embodiment of the present invention shown in FIGS. 1 to 5 will be described below. In this embodiment, a case is shown in which the above-mentioned mouse is used as the coordinate input operation device.

第8図および第9図はマウスの概要を説明する
ための図である。この図において、Mはマウス、
2はマツト、3はパーソナルコンピユータ等の処
理装置、4は表示装置である。マウスMは操作部
である全体をマツト2上で移動することにより、
表示装置4の画面SC上に表示されたカーソルCS
等の画面SC上における座標位置を決定する。今、
第9図において表示装置4の画面SC上でカーソ
ルCSが点A′を指しているものとし、これに対応
してマウスもマツト上の点Aに位置するものとす
る。ここで、マウスMをマツト2上の点Bに移動
すると、マウスMはX軸方向の移動量△x、Y軸
方向の移動量△yを検出し、それらの情報を処理
装置3へ送る。処理装置3はその情報を元にカー
ソルCSの座標値を計算し、その結果を表示装置
4のX軸座標記憶部XV、Y軸座標記憶部YVへ
格納する。表示装置4はこれら記憶部XV、YV
の内容に基づき、カーソルCSを結果的に画面SC
上の点B′へ移動表示する。
FIG. 8 and FIG. 9 are diagrams for explaining the outline of the mouse. In this figure, M is a mouse,
2 is a mat, 3 is a processing device such as a personal computer, and 4 is a display device. By moving the entire operation part of the mouse M on the mouse 2,
Cursor CS displayed on screen SC of display device 4
Determine the coordinate position on the screen SC. now,
In FIG. 9, it is assumed that the cursor CS is pointing to a point A' on the screen SC of the display device 4, and the mouse is correspondingly positioned at the point A on the mat. Here, when the mouse M is moved to point B on the mat 2, the mouse M detects the amount of movement Δx in the X-axis direction and the amount Δy of movement in the Y-axis direction, and sends these information to the processing device 3. The processing device 3 calculates the coordinate values of the cursor CS based on the information, and stores the results in the X-axis coordinate storage section XV and the Y-axis coordinate storage section YV of the display device 4. The display device 4 stores these storage units XV and YV.
Based on the contents of , the cursor CS is changed to the screen SC as a result
Move and display to point B′ above.

以下、第1図について説明する。Mはマウスで
あり、第10図にその外観を示すように、ケース
15と、このケース15に回転自在に保持された
ボール5を有する。ケース15の内部にはボール
5と接触し、ボール5の回転によつて回動される
X軸方向検出用ローラ6、およびこれと直角な位
置に設けた同様構成のY軸方向検出用ローラ7と
を設けてある。8はローラ6に連結したパルスジ
エネレータであり、ローラ6の回転方向に伴な
い、正方向パルス8P、負方向パルス8Nを発生
する。9はローラ7に連結したパルスジエネレー
タであり、ローラ7の回転方向に伴ない、正方向
パルス9P、負方向パルス9Nを発生する。10
はX軸方向の移動量を計測するためのアツプ・ダ
ウンカウンタであり、そのカウントアツプ信号入
力端子Uにはパルス8Pを入力し、カウントダウ
ン信号入力端子Dにはパルス8Nを入力するよう
にしてある。同様に、11はY軸方向の移動量を
計測するためのアツプ・ダウンカウンタであり、
そのカウントアツプ信号入力端子Uにはパルス9
Pを入力し、カウントダウン信号入力端子Dには
パルス9Nを入力するようにしてある。図示しな
いが、これらアツプ・ダウンカウンタ10,11
はカウント・ホールド端子を備え、この端子に信
号を印加することによつて、その計数動作が停止
するものを使用している。
Below, FIG. 1 will be explained. M is a mouse, and as shown in FIG. 10, it has a case 15 and a ball 5 rotatably held in the case 15. Inside the case 15 are an X-axis direction detection roller 6 that contacts the ball 5 and is rotated by the rotation of the ball 5, and a Y-axis direction detection roller 7 of the same configuration provided at a right angle thereto. and is provided. A pulse generator 8 is connected to the roller 6, and generates a positive direction pulse 8P and a negative direction pulse 8N in accordance with the rotation direction of the roller 6. A pulse generator 9 is connected to the roller 7, and generates a positive direction pulse 9P and a negative direction pulse 9N in accordance with the rotation direction of the roller 7. 10
is an up/down counter for measuring the amount of movement in the X-axis direction, and a pulse 8P is input to its count-up signal input terminal U, and a pulse 8N is input to its count-down signal input terminal D. . Similarly, 11 is an up/down counter for measuring the amount of movement in the Y-axis direction,
The count up signal input terminal U has a pulse of 9.
P is input, and pulse 9N is input to the countdown signal input terminal D. Although not shown, these up/down counters 10 and 11
is equipped with a count/hold terminal, and the counting operation is stopped by applying a signal to this terminal.

このような構成により、マウスMを移動する
と、その移動に応じてボール5が回転し、X軸お
よびY軸方向に接触したローラ6,7が回転す
る。この回転はパルスジエネレータ8,9に伝達
され、パルスジエネレータ8,9はその回転量と
方向に応じたパルス8P,8N,9P,9Nを発
生する。これらのパルス8P,8N,9P,9N
はそれぞれ対応するパルスカウンタ10,11に
入力され、カウントされる。したがつて、カウン
タ10,11のカウント値を参照すればマウスM
の移動量を検知することができる。
With this configuration, when the mouse M is moved, the ball 5 rotates in accordance with the movement, and the rollers 6 and 7 that are in contact with each other in the X-axis and Y-axis directions rotate. This rotation is transmitted to the pulse generators 8 and 9, and the pulse generators 8 and 9 generate pulses 8P, 8N, 9P, and 9N according to the amount and direction of rotation. These pulses 8P, 8N, 9P, 9N
are respectively input to the corresponding pulse counters 10 and 11 and counted. Therefore, by referring to the count values of counters 10 and 11, the mouse M
The amount of movement can be detected.

カウンタ10,11のカウント値がマイクロコ
ンピユータ等で構成した処理装置3によつて参照
可能なように、また処理装置3によつてそのカウ
ント値が制御可能なように、カウンタ10,11
は処理装置3に接続する。マウスMは現在のカー
ソルCSが位置する位置への種々の指令を与える
ため、通常複数個のキースイツチSW1,SW2
を備えている。実施例の場合、これは2個のもの
について示してある。これらスイツチSW1,
SW2も処置装置3によつてそのON、OFFが確
認し得るよう、処理装置3に入力する。処理装置
3は内部に、リード・オンリ・メモリ(以下、
ROMという。)3aおよびランダム・アクセ
ス・メモリ(以下、RAMという。)3bを備え
る。これらメモリ3a,3bには所定のプログラ
ムおよびデータ等が記憶され、処理装置3はこれ
らプログラムを実行することによつて所定の処理
を実現する。表示装置4は前記のように表示画面
SC、X軸座標記憶部XV、Y軸座標記憶部YVを
備える。
The counters 10, 11 are arranged so that the count values of the counters 10, 11 can be referenced by the processing device 3 composed of a microcomputer or the like, and so that the count values can be controlled by the processing device 3.
is connected to the processing device 3. The mouse M usually has multiple key switches SW1 and SW2 in order to give various commands to the position where the current cursor CS is located.
It is equipped with In the example, this is shown for two. These switches SW1,
SW2 is also input to the processing device 3 so that it can confirm whether it is ON or OFF. The processing device 3 has an internal read-only memory (hereinafter referred to as
It is called ROM. ) 3a and a random access memory (hereinafter referred to as RAM) 3b. Predetermined programs, data, etc. are stored in these memories 3a and 3b, and the processing device 3 realizes predetermined processing by executing these programs. The display device 4 has a display screen as described above.
SC, an X-axis coordinate storage section XV, and a Y-axis coordinate storage section YV.

第2図、第3図、第4図、第5図は各種の処理
手段を示すフローチヤートであり、第2図はメイ
ンルーチンを示すフローチヤート、第3図、第4
図、第5図はこのメインルーチンで参照されるサ
ブルーチンを示すフローチヤートである。このよ
うに、フローチヤートで示されたものは、プログ
ラムの形で処理装置3内のROM3a、あるいは
RAM3bに格納する。そして、処理装置3がこ
のプログラムを実行することにより、所定の機能
手段が達成される。
2, 3, 4, and 5 are flowcharts showing various processing means, and FIG. 2 is a flowchart showing the main routine, and FIGS.
5 are flowcharts showing subroutines referred to in this main routine. In this way, what is shown in the flowchart is stored in the ROM 3a in the processing device 3 in the form of a program, or
Store in RAM3b. Then, when the processing device 3 executes this program, predetermined functional means are achieved.

第6図はこれら各処理の実行に必要な一時記憶
部等を示したものであり、これらは各処理を実行
するプログラムの初期時点でRAM2内の予め定
めた所定番地に設定される。この図において、
XVLUはX軸カウンタ10の移動量を記憶する
記憶部、YVLUはY軸カウンタ11の移動量を
記憶する記憶部、SW1CはスイツチSW1の
ON、OFF状態を記憶する記憶部、SW2Cはス
イツチSW2のON、OFF状態を記憶する記憶部、
MFLGはモードフラグ記憶部である。
FIG. 6 shows the temporary storage unit etc. necessary for executing each of these processes, and these are set at predetermined locations in the RAM 2 at the initial point of the program for executing each process. In this diagram,
XVLU is a storage unit that stores the amount of movement of the X-axis counter 10, YVLU is a storage unit that stores the amount of movement of the Y-axis counter 11, and SW1C is a storage unit that stores the amount of movement of the Y-axis counter 11.
A memory unit that stores ON and OFF states; SW2C is a storage unit that stores ON and OFF states of switch SW2;
MFLG is a mode flag storage unit.

以下、第6図を参照し、第2図から第5図につ
いて説明する。これらの図に示す例は、処理装置
3の電源がONされたときのようなイニシヤル状
態では、従来通り、X軸、Y軸両方向について同
時に移動量信号を入力することができ、スイツチ
SW1,SW2を同時に押下すると、その時点で
入力モードが変更され、X軸方向のみ、またはY
軸方向のみの入力モードになるような場合につい
て示してある。
Hereinafter, FIGS. 2 to 5 will be explained with reference to FIG. 6. In the example shown in these figures, in the initial state such as when the power of the processing device 3 is turned on, movement amount signals can be input simultaneously in both the X-axis and Y-axis directions as before, and the switch
If you press SW1 and SW2 at the same time, the input mode will change at that point, and the input mode will change to only the X-axis direction or Y
A case is shown in which the input mode is only in the axial direction.

第2図に示すルーチンは、例えば周期的なタイ
マ割込等によつて一般的には20ミリ秒程度の周期
で起動される。そして、一連の処理を行つて割込
前の処理へリターンする。このルーチンが起動さ
れると、まずステツプ2aにおいてはX軸、Y軸
カウンタ10,11をホールド状態に制御し、こ
れらのカウント動作を停止する。続く、ステツプ
2bにおいてはスイツチSW1,SW2の状態を読
み出し、これがONかOFFかに応じて、この状態
を記憶部SW1C,SW2Cにそれぞれ記憶する。
次に、ステツプ2cでX軸カウンタ10のカウント
値を読み込み、この値を記憶部XVLUに記憶し、
ステツプ2dでY軸カウンタ11のカウント値を
読み込み、この値を記憶部YVLUに記憶する。
その後、ステツプ2eでX軸、Y軸カウンタ10,
11をリセツトし、ステツプ2fでステツプ2aにて
実行したカウンタ10,11のホールドを解除す
る。
The routine shown in FIG. 2 is generally activated at a cycle of about 20 milliseconds, for example, by a periodic timer interrupt. Then, it performs a series of processes and returns to the process before the interrupt. When this routine is started, first in step 2a, the X-axis and Y-axis counters 10 and 11 are controlled to a hold state, and their counting operations are stopped. Continuing steps
In step 2b, the states of the switches SW1 and SW2 are read, and depending on whether they are ON or OFF, these states are stored in the storage units SW1C and SW2C, respectively.
Next, in step 2c, the count value of the X-axis counter 10 is read, and this value is stored in the storage section XVLU,
In step 2d, the count value of the Y-axis counter 11 is read and this value is stored in the storage unit YVLU.
After that, in step 2e, the X-axis and Y-axis counters 10,
In step 2f, the hold on counters 10 and 11 executed in step 2a is released.

すなわち、ステツプ2aからステツプ2fまでは、
マウスMから情報を読み出す処理を行つている。
ステツプ20bからステツプ2dまでが実際に情報の
読み出しを行つており、読み出し後、次回の読み
出しのためにステツプ2eでカウンタ10,11を
リセツトする。実際にはこれらの処理をする間に
もわずかな時間を要するので、ステツプ2cとステ
ツプ2dで読み出した値は同値のものではない。
そこで、本実施例ではステツプ2aとステツプ2fの
ように読み出し中はカウンタ10,11のカウン
ト値が変わらないように処理操作している。この
ようにすれば、読み出しの処理が行われている間
はカウンタ10,11が更新されないことになる
が、これは瞬時であるので実用上は何ら支障がな
い。次にステツプ2gでスイツチSW1,SW2が
とも押下、すなわちONかどうかを記憶部SW1
C,SW2Cの内容に基づいて判断し、もしそう
であればステツプ2hにおいて現在の入力モード
を反転する。入力モードとは、従来と同様X軸と
Y軸を同時に入力する通常のモードと、X軸の
み、またはY軸のみの入力を可能とする無効選択
モードの2つである。この入力モードは、フラグ
記憶部MFLGに記憶する。スイツチSW1,SW
2が2つ同時に押下されていない場合は後述する
ステツプ2iのカウント処理を実行する。ステツプ
2h、2iのいずれかが実行されることによつて一連
の処理が終了し、割り込み前の処理に復帰する。
In other words, from step 2a to step 2f,
A process is being performed to read information from the mouse M.
Steps 20b to 2d actually read information, and after reading, counters 10 and 11 are reset in step 2e for the next reading. In reality, it takes a short amount of time to perform these processes, so the values read in step 2c and step 2d are not the same.
Therefore, in this embodiment, processing operations are performed such that the count values of the counters 10 and 11 do not change during reading as in steps 2a and 2f. If this is done, the counters 10 and 11 will not be updated while the read process is being performed, but since this is instantaneous, there is no practical problem. Next, in step 2g, memory section SW1 checks whether switches SW1 and SW2 are both pressed, that is, ON.
It is determined based on the contents of C and SW2C, and if so, the current input mode is reversed in step 2h. There are two input modes: a normal mode in which the X-axis and Y-axis are input simultaneously as in the past, and an invalid selection mode in which only the X-axis or only the Y-axis can be input. This input mode is stored in the flag storage unit MFLG. Switch SW1, SW
If two buttons 2 are not pressed at the same time, the counting process of step 2i, which will be described later, is executed. step
When either 2h or 2i is executed, the series of processing ends and the process returns to the one before the interrupt.

第3図は第2図におけるステツプ2iのカウント
処理の詳細を示すフローチヤートである。以下、
この図について説明する。この処理は、第2図の
ステツプ2gからも明らかなように、スイツチSW
1,SW2が同時にONされていないことによつ
て実行される。まず、ステツプ3aにおいては、
入力モードの判定を行なう。これはモードフラグ
記憶部MFLGの記憶内容によつて判定する。こ
の結果、通常入力モードであれば、ステツプ3b、
3cを実行する。ステツプ3bは後述するX軸位置
更新手段XACT、ステツプ3cは後述するY軸位
置更新手段YACTである。これら各手段XACT、
YACTは要するに表示装置4が参照するX軸方
向位置記憶部XV、Y軸方向位置記憶部YVの記
憶内容の更新であり、これについて詳細は後述す
る。ステツプ3aにおいて無効選択モードである
と判断されると、ステツプ3d、3fによつてスイツ
チSW1,SW2のいずれが押下されているか否
かを判定する。この2つのステツプは、無効判定
手段を構成するものであり、いずれのスイツチ
SW1,SW2が押下されているかによつてX軸
位置更新手段XACT、Y軸位置更新手段YACT
のいずれかを無効とする。本実施例の場合、スイ
ツチSW1を押下することによつてX軸位置更新
手段XACTを無効にし、スイツチSW2を押下す
ることによつてY軸位置更新手段YACTを無効
にするものを例としている。したがつて、ステツ
プ3dにおいてスイツチSW1が記憶部SW1Cの
記憶内容の判定により、ONであるとすると、ス
テツプ3eでY軸位置更新手段YACTのみが実行
され、第2図のメインルーチンに復帰する。スイ
ツチSW1がOFFの場合、ステツプ3fによつて同
様にスイツチSW2のON、OFF状態を判定し、
その結果スイツチSW2がONしておればステツ
プ3gにおいてX軸位置更新手段XACTのみを実
行し、第2図のメインルーチンに復帰する。そし
て、いずれのスイツチSW1,SW2も押下され
ていなければ、ステツプ3h、3iでX軸位置更新手
段XACT、Y軸位置更新手段YACTを実行し、
第2図のメインルーチンに復帰する。
FIG. 3 is a flowchart showing details of the counting process in step 2i in FIG. below,
This figure will be explained. As is clear from step 2g in Figure 2, this process
1. Executed because SW2 is not turned on at the same time. First, in step 3a,
Determine input mode. This is determined based on the storage contents of the mode flag storage unit MFLG. As a result, in normal input mode, step 3b,
Run 3c. Step 3b is an X-axis position updating means XACT, which will be described later, and step 3c is a Y-axis position updating means YACT, which will be described later. Each of these means XACT,
In short, YACT is an update of the storage contents of the X-axis direction position storage section XV and the Y-axis direction position storage section YV referred to by the display device 4, and the details will be described later. If it is determined in step 3a that the mode is the invalid selection mode, it is determined in steps 3d and 3f whether or not the switch SW1 or SW2 is pressed. These two steps constitute the invalidity determination means, and any switch
Depending on whether SW1 or SW2 is pressed, X-axis position update means XACT and Y-axis position update means YACT
invalidate any of the following. In this embodiment, the X-axis position updating means XACT is disabled by pressing the switch SW1, and the Y-axis position updating means YACT is disabled by pressing the switch SW2. Therefore, if the switch SW1 is ON based on the determination of the storage contents of the storage section SW1C in step 3d, only the Y-axis position updating means YACT is executed in step 3e, and the process returns to the main routine of FIG. 2. If switch SW1 is OFF, similarly determine the ON or OFF state of switch SW2 in step 3f,
As a result, if the switch SW2 is ON, only the X-axis position updating means XACT is executed in step 3g, and the process returns to the main routine shown in FIG. If neither switch SW1 or SW2 is pressed, the X-axis position updating means XACT and Y-axis position updating means YACT are executed in steps 3h and 3i.
The process returns to the main routine shown in FIG.

第4図は第3図におけるX軸位置更新手段
XACTの詳細を示すフローチヤートである。こ
の手段XACTが起動されることにより、ステツ
プ4aでは、表示装置4が参照するX軸方向位置
記憶部XVに、第2図のステツプ2cで読み取り、
記憶部XVLUに記憶したX軸方向の移動量△x
を加算し、その結果をX軸方向位置記憶部XVに
格納する。ここで、移動量△xは正とは限らない
ので、カーソルCSは正負両方向への移動に対応
することができる。なお、表示装置4の表示画面
SCは大きさが限られ、画面SC上で無限にカーソ
ルCSを移動することはできない。そこで、X軸
方向位置記憶部XVの記憶した値が、画面SCによ
つて予め規制された上限、下限の範囲に入つてい
るかを、ステツプ4b、4cで判定する。ステツプ
4bによつて判定の結果、X軸方向位置記憶部XV
の値が上限値Xmaxを越えていれば、ステツプ4d
でX軸方向位置記憶部XVの値を強性的に上限値
Xmaxに設定し、第3図の処理に戻る。また、ス
テツプ4cによつて判定の結果、X軸方向記憶部
XVの値が下限値Xminiを越えていれば、ステツ
プ4eでX軸方向位置記憶部XVの値を強制的に下
限値Xminiに設定し、第3図の処理に戻る。そし
て、上限値Xmaxと下限値Xminiとの間である場
合には、ステツプ4d、4eのいずれをも実行する
ことなく、第3図の処理に戻る。
Figure 4 shows the means for updating the X-axis position in Figure 3.
This is a flowchart showing details of XACT. By activating this means
Movement amount in the X-axis direction stored in the storage unit XVLU △x
are added and the result is stored in the X-axis direction position storage section XV. Here, since the movement amount Δx is not necessarily positive, the cursor CS can move in both positive and negative directions. In addition, the display screen of the display device 4
The SC has a limited size, and the cursor CS cannot be moved infinitely on the screen SC. Therefore, it is determined in steps 4b and 4c whether the value stored in the X-axis direction position storage section XV is within the upper and lower limit ranges regulated in advance by the screen SC. step
As a result of judgment by 4b, the X-axis direction position storage section XV
If the value of exceeds the upper limit Xmax, step 4d
to forcefully set the value of the X-axis position memory section XV to the upper limit value.
Set Xmax and return to the process shown in FIG. Also, as a result of the determination in step 4c, the X-axis direction storage section
If the value of XV exceeds the lower limit value Xmini, the value in the X-axis position storage section XV is forcibly set to the lower limit value Xmini in step 4e, and the process returns to the process shown in FIG. If the value is between the upper limit value Xmax and the lower limit value Xmini, the process returns to the process of FIG. 3 without executing either steps 4d or 4e.

第5図は第3図におけるY軸位置更新手段
YACTの詳細を示すフローチヤートである。こ
の手段YACTが起動されることにより、ステツ
プ5aでは、表示装置4が参照するY軸方向位置
記憶部YVに、第2図のステツプ2dで読み取り、
記憶部YVLUに記憶したY軸方向の移動量△y
を加算し、その結果をY軸方向位置記憶部YVに
格納する。ここで、移動量△yは正とは限らない
ので、カーソルCSは正負両方向への移動に対応
することができる。なお表示装置4の表示画面
SCは大きさが限られ、画面SC上で無限にカーソ
ルCSを移動することはできない。そこで、Y軸
方向位置記憶部YVの記憶した値が、画面SCによ
つて予め規制された上限、下限の範囲に入つてい
るかを、ステツプ5b、5cで判定する。ステツプ
5bによつて判定の結果、Y軸方向位置記憶部YV
の値が上限値Ymaxを越えていれば、ステツプ5d
でY軸方向位置記憶部YVの値を強性的に上限値
Ymaxに設定し、第3図の処理に戻る。また、ス
テツプ5cによつて判定の結果、Y軸方向記憶部
YVの値が下限値Yminiを越えていれば、ステツ
プ5eでY軸方向位置記憶部YVの値を強制的に下
限値Yminiに設定し、第3図の処理に戻る。そし
て、上限値Ymaxと下限値Yminiとの間である場
合には、ステツプ5d、5eのいずれをも実行する
ことなく、第3図の処理に戻る。
Figure 5 shows the Y-axis position update means in Figure 3.
This is a flowchart showing details of YACT. By activating this means YACT, in step 5a, the position is read in the Y-axis direction position storage section YV referred to by the display device 4 in step 2d of FIG.
Amount of movement in the Y-axis direction stored in the storage unit YVLU △y
are added and the result is stored in the Y-axis direction position storage section YV. Here, since the movement amount Δy is not necessarily positive, the cursor CS can move in both positive and negative directions. Note that the display screen of the display device 4
The SC has a limited size, and the cursor CS cannot be moved infinitely on the screen SC. Therefore, it is determined in steps 5b and 5c whether the value stored in the Y-axis direction position storage section YV is within the upper and lower limit ranges regulated in advance by the screen SC. step
As a result of judgment by 5b, the Y-axis direction position storage unit YV
If the value of exceeds the upper limit Ymax, step 5d
to forcefully set the value of Y-axis position memory section YV to the upper limit value.
Set Ymax and return to the process shown in FIG. Also, as a result of the determination in step 5c, the Y-axis direction memory section
If the value of YV exceeds the lower limit value Ymini, the value in the Y-axis position storage unit YV is forcibly set to the lower limit value Ymini in step 5e, and the process returns to the process shown in FIG. If the value is between the upper limit value Ymax and the lower limit value Ymini, the process returns to the process of FIG. 3 without executing either steps 5d or 5e.

以上のようにすれば、まず第2図から明らかな
ように、マウスMに設けたスイツチSW1,SW
2を同時に押下することにより、通常入力モード
から無効選択モードへ、また無効選択モードから
通常選択モードへそのモードを切換えることがで
きる。そして、これを通常モードとした場合に
は、従来と同様であるが、これを無効選択モード
とした場合には、スイツチSW1,SW2のいず
れかの選択により、表示画面SC上におけるカー
ソルCSのX軸、Y軸のいずれか一方への移動を
無効にすることができる。したがつて、例えば、
ここで第7図に示すような表示画面SC上におけ
るカーソルCS移動を考えてみる。カーソルCSの
点Aから点Bへの移動については従来通り行えば
良い。点Aから点Cへの移動は、まず、スチツチ
SW1,SW2の2つを同時に押下し、次にスチ
ツチSW2のみを押下したままマウスMを右方向
へ動かす。すると、例えマウスMが上下方向に移
動したとしても、表示画面SC上におけるカーソ
ルCSは点Cへ向つてまつすぐ移動する。また、
点Aから点Dへの移動は、スイツチSW1のみを
押下したままマウスMを上方向へ動かす。する
と、例えマウスMが左右方向に移動したとして
も、表示画面SC上におけるカーソルCSは点Dへ
向つてまつすぐ移動することとなる。
By doing the above, first, as is clear from Fig. 2, the switches SW1 and SW provided on the mouse M
By pressing 2 at the same time, the mode can be switched from the normal input mode to the invalid selection mode, and from the invalid selection mode to the normal selection mode. When this is set to the normal mode, it is the same as before, but when this is set to the invalid selection mode, by selecting either switch SW1 or SW2, the X of the cursor CS on the display screen SC is Movement in either the axis or the Y axis can be disabled. Therefore, for example,
Let us now consider the movement of the cursor CS on the display screen SC as shown in FIG. The movement of the cursor CS from point A to point B can be carried out in the conventional manner. To move from point A to point C, first
Press both SW1 and SW2 at the same time, then move the mouse M to the right while only pressing SW2. Then, even if the mouse M moves in the vertical direction, the cursor CS on the display screen SC moves straight toward point C. Also,
To move from point A to point D, move mouse M upward while holding down only switch SW1. Then, even if the mouse M moves in the left-right direction, the cursor CS on the display screen SC will move directly toward the point D.

以上、実施例のようにすれば、複数の軸の座標
を同時入力可能な座標入力操作手段を備えたもの
において、入力軸を任意に選択可能な座標入力装
置を得ることができる。また、実施例において、
マウスMはX軸方向の移動量△x、Y軸方向の移
動量△yを検出し、それらの情報を処理装置3へ
送るものであるため、マウスMは市販されている
一般的なもので使用可能であり、何らの変更も必
要がない。なお、実施例においては、スイツチ
SW1によつてX軸方向の入力を無効にし、スイ
ツチSW2によつてY軸方向の入力を無効にする
場合について説明したが、これの関係は逆であつ
てもよく、この場合においては第3図においてス
テツプ3dとステツプ3fを入れ換えればよい。ま
た、実施例においては、通常モードから無効選択
モード、および無効選択モードから通常モードへ
の切り換えを、マウスMに設けた2個のスイツチ
SW1,SW2を同時に押下ることにより行うよ
うにしたが、これは例えば、表示画面SC上の予
め定めた特定の位置にカーソルCSを移動し、こ
の状態で特定のスイツチが押下されたときに入力
モードを切り換えるようにしてもよい。
As described above, according to the embodiment, it is possible to obtain a coordinate input device that is equipped with a coordinate input operation means that can input the coordinates of a plurality of axes at the same time, and can arbitrarily select an input axis. In addition, in the examples,
Since the mouse M detects the amount of movement △x in the X-axis direction and the amount △y of movement in the Y-axis direction, and sends this information to the processing device 3, the mouse M is a common one that is commercially available. It is usable and does not require any modification. In addition, in the example, the switch
Although we have explained the case where SW1 disables the input in the X-axis direction and switch SW2 disables the input in the Y-axis direction, this relationship may be reversed, and in this case, the third In the figure, step 3d and step 3f may be interchanged. In addition, in the embodiment, two switches provided on the mouse M are used to switch from the normal mode to the invalid selection mode and from the invalid selection mode to the normal mode.
This is done by pressing SW1 and SW2 at the same time, but this can be done, for example, by moving the cursor CS to a specific predetermined position on the display screen SC, and inputting when a specific switch is pressed in this state. The mode may also be switched.

また、以上の実施例においては、座標入力操作
手段としてマウスMを使用した場合について説明
したが、前記したジヨイステイツク、トラツクボ
ール等、同等の機能を有するものであれば種々の
ものが利用可能である。更に、実施例においては
X軸方向位置記憶部XV、Y軸方向位置記憶部
YVは表示装置4内に設けてあるものについて説
明したが、これはRAM2の予め定めた所定のア
ドレスに設定したものであつてもよく、これらの
位置に制限はない。
Furthermore, in the above embodiments, a case has been described in which a mouse M is used as a coordinate input operation means, but various devices having equivalent functions can be used, such as the above-mentioned joy stick and track ball. . Furthermore, in the embodiment, an X-axis position storage section XV and a Y-axis position storage section
Although YV has been described as being provided in the display device 4, it may be set at a predetermined address in the RAM 2, and there are no restrictions on these locations.

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

以上の説明から明らかなように、本発明によれ
ば、複数の軸の座標を同時入力可能な操作手段を
備えたものにおいて、入力軸を任意に選択可能な
座標入力装置を得ることができる また、本発明によれば、座標入力操作手段はX
軸位置更新手段、Y軸位置更新手段に、X軸移動
量信号、Y軸移動量信号を入力するようにしてい
るため、市販されている一般的なものを使用する
ことが可能となる。
As is clear from the above description, according to the present invention, it is possible to obtain a coordinate input device in which an input axis can be arbitrarily selected in an apparatus equipped with an operation means capable of simultaneously inputting coordinates of a plurality of axes. , according to the present invention, the coordinate input operation means is
Since the X-axis movement amount signal and the Y-axis movement amount signal are input to the axis position updating means and Y-axis position updating means, it is possible to use commercially available general ones.

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

第1図は本発明の一実施例を示す全体構成図、
第2図は処理動作のメインルーチンを示すフロー
チヤート、第3図は第2図のサブルーチンを示す
フローチヤート、第4図、第5図は第3図のサブ
ルーチンを示すフローチヤート、第6図は各種記
憶の配置構成を示す図、第7図は表示画面の一例
を示す正面図、第8図は座標入力操作手段を使用
した座標入力装置の一例を示す図、第9図は表示
画面の一例を示す正面図、第10図は座標入力操
作手段の一例を示す外観図である。 XV:X軸方向位置記憶部、YV:Y軸方向位
置記憶部、4:表示手段、SC:表示画面、CS:
カーソル、M:座標入力操作手段、XACT:X
軸位置更新手段、YACT:Y軸位置更新手段、
3d,3f,SW3,SW4:無効選択手段。
FIG. 1 is an overall configuration diagram showing an embodiment of the present invention;
Fig. 2 is a flowchart showing the main routine of processing operations, Fig. 3 is a flowchart showing the subroutine of Fig. 2, Figs. 4 and 5 are flowcharts showing the subroutine of Fig. 3, and Fig. 6 is a flowchart showing the subroutine of Fig. 3. FIG. 7 is a front view showing an example of a display screen; FIG. 8 is a diagram showing an example of a coordinate input device using a coordinate input operation means; FIG. 9 is an example of a display screen. FIG. 10 is an external view showing an example of the coordinate input operation means. XV: X-axis position storage unit, YV: Y-axis position storage unit, 4: Display means, SC: Display screen, CS:
Cursor, M: Coordinate input operation means, XACT: X
Axis position update means, YACT: Y-axis position update means,
3d, 3f, SW3, SW4: Invalid selection means.

Claims (1)

【特許請求の範囲】 1 表示画面上に表示するカーソルのX軸方向位
置を記憶するX軸方向位置記憶部と前記カーソル
のY軸方向位置を記憶するY軸方向位置記憶部と
を有し、これら両記憶部に記憶した位置情報に基
づいて、前記カーソルを前記表示画面上の所定位
置に表示する表示制御手段と、 前記表示画面上におけるカーソルの移動方向と
その移動量を任意に指示する操作部を備え、当該
操作部の操作によつて前記カーソルの移動方向と
移動量を決定するX軸移動量信号とY軸移動量信
号とを出力する座標入力操作手段と、 前記座標入力操作手段からの前記X軸移動量信
号を入力し、当該X軸移動量信号に基づいて前記
X軸方向位置記憶部の記憶内容を更新するX軸位
置更新手段と、 前記座標入力操作手段からの前記Y軸移動量信
号を入力し、当該Y軸移動量信号に基づいて前記
Y軸方向位置記憶部の記憶内容を更新するY軸位
置更新手段と、 前記X軸位置更新手段と前記Y軸位置更新手段
とのいずれか一方の更新操作を選択的に無効とす
る無効選択手段と を具備して成る座標入力装置。
[Scope of Claims] 1. An X-axis position storage unit that stores the X-axis position of a cursor displayed on a display screen, and a Y-axis position storage unit that stores the Y-axis position of the cursor, Display control means for displaying the cursor at a predetermined position on the display screen based on the position information stored in both storage units; and an operation for arbitrarily instructing the direction and amount of movement of the cursor on the display screen. a coordinate input operation means for outputting an X-axis movement amount signal and a Y-axis movement amount signal for determining the movement direction and movement amount of the cursor by operating the operation portion; and from the coordinate input operation means. an X-axis position update means for inputting the X-axis movement amount signal and updating the storage contents of the X-axis direction position storage unit based on the X-axis movement amount signal; and Y-axis position updating means for inputting a movement amount signal and updating the storage contents of the Y-axis direction position storage unit based on the Y-axis movement amount signal; the X-axis position updating means and the Y-axis position updating means; a coordinate input device comprising invalidation selection means for selectively invalidating one of the update operations.
JP60095924A 1985-05-08 1985-05-08 Coordinate inputting device Granted JPS61255428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60095924A JPS61255428A (en) 1985-05-08 1985-05-08 Coordinate inputting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60095924A JPS61255428A (en) 1985-05-08 1985-05-08 Coordinate inputting device

Publications (2)

Publication Number Publication Date
JPS61255428A JPS61255428A (en) 1986-11-13
JPH0350287B2 true JPH0350287B2 (en) 1991-08-01

Family

ID=14150824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60095924A Granted JPS61255428A (en) 1985-05-08 1985-05-08 Coordinate inputting device

Country Status (1)

Country Link
JP (1) JPS61255428A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02149436U (en) * 1989-05-15 1990-12-20

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985913A (en) * 1982-11-09 1984-05-18 Matsushita Electric Ind Co Ltd Position input device

Also Published As

Publication number Publication date
JPS61255428A (en) 1986-11-13

Similar Documents

Publication Publication Date Title
JP4229244B2 (en) Cursor control unit
EP0938037B1 (en) An apparatus for manipulating an object displayed on a display device
JPH1115596A (en) Data input device
JP2619383B2 (en) Coordinate input device
WO2014147668A1 (en) Video game processing device, video game processing method, and video game processing program
JP6228267B2 (en) Video game processing apparatus, video game processing method, and video game processing program
JP3744116B2 (en) Display input device
US5309172A (en) Computer data and command entry device
US4852055A (en) Forming lines in computer aided pattern generating systems
JPH0350287B2 (en)
JPH07116351A (en) Controller for game machine
JPS62150477A (en) display device
JP3270241B2 (en) Portable information processing device
JPH0823799B2 (en) Coordinate input device
JP2004252730A (en) controller
JP4097368B2 (en) Trackball
JP7557153B2 (en) Information processing device, information processing method, and program
JPH06332618A (en) Cursor control method
JPS62165233A (en) Key input device
JP6830473B2 (en) Video game processor, video game processing method, and video game processing program
JPH07160416A (en) Information processing equipment
JPH08249117A (en) Cursor switching device
KR100373101B1 (en) Human Interface Multi-access Mouse and method for operating the Mouse
JPS6186829A (en) Cursor movement trajectory storage/display device
CA1232685A (en) Video game with control of movement and rate of movement of a plurality of game objects

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term