JPH01123316A - Cursor displaying processing system by mouse device - Google Patents

Cursor displaying processing system by mouse device

Info

Publication number
JPH01123316A
JPH01123316A JP62281045A JP28104587A JPH01123316A JP H01123316 A JPH01123316 A JP H01123316A JP 62281045 A JP62281045 A JP 62281045A JP 28104587 A JP28104587 A JP 28104587A JP H01123316 A JPH01123316 A JP H01123316A
Authority
JP
Japan
Prior art keywords
mouse
cursor
mouse device
movement
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62281045A
Other languages
Japanese (ja)
Inventor
Masanobu Nagaoka
長岡 正伸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62281045A priority Critical patent/JPH01123316A/en
Publication of JPH01123316A publication Critical patent/JPH01123316A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To hold and move a mouse in a state of an operator can easily handle it by determining a cursor moving direction on a display picture in a mouse moving direction while a mouse device is rotated in an arbitrary angle. CONSTITUTION:The rotation angle of a mouse device 4 is set beforehand by a method in which, for example, a motion of the device is executed in the X direction which is a new coordinate axis with the device itself rotated at a fixed angle, then, when the rotation angle is assumed as alpha based on an X direction moving quantity and a Y direction moving quantity outputted from the mouse device 4, rotation angles sin alpha and cos alpha of the coordinate axis are determined. For the moving quantity of the mouse device 4 in new coordinate axis X and Y directions to display the cursor to a picture, when the mouse device 4 is moved, operation is executed by using X and Y direction moving quantity components to the inherent X and Y direction coordinate axes outputted from the mouse and the rotation angle obtained earlier, and moving quantity components X' and Y' for the new coordinate axis are obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ポインティングデバイスであるマウス装置よ
るカーソル表示処理方式に関するものであり、さらに詳
細には、ワードプロセッサやパソコンなどで使用される
マウス装置の移動に対応するディスプレイ画面上のカー
ソル表示処理方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a cursor display processing method using a mouse device, which is a pointing device. This invention relates to a cursor display processing method on a display screen that corresponds to movement.

〔従来の技術〕[Conventional technology]

従来、ワードプロセッサやパソコンなどで使用されるポ
インティングデバイスとしては、トラックボール装置や
、例えば特開昭51−83737号に示′されるマウス
装置などがある。
Conventionally, pointing devices used in word processors, personal computers, and the like include trackball devices and mouse devices, such as those disclosed in Japanese Patent Laid-Open No. 51-83737.

そして、マウス装置は、ディスプレイ画面上のカーソル
を自由に移動させ、画面上のメニューを選択したり、任
意の図形を描くことができ、グラフィック機能を十分活
用するのに便利である。
The mouse device is convenient for fully utilizing graphic functions, as it allows the user to freely move a cursor on the display screen, select menus on the screen, and draw arbitrary shapes.

ところで、従来から、マウスの移動方向と画面上におけ
るカーソルの移動方向には、一定の関係が設定されてい
る。具体的には、マウス装置自身が一定方向を向いた状
態で、当該マウス装置全体が例えばX方向に移動すれば
、画面上のカーソルもX方向に移動するような関係とな
っていた。
Incidentally, conventionally, a certain relationship has been set between the moving direction of a mouse and the moving direction of a cursor on a screen. Specifically, when the mouse device itself is oriented in a certain direction and the entire mouse device moves in the X direction, the cursor on the screen also moves in the X direction.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、前記した従来技術においては、例えば画
面上でカーソルをX方向に一直線状に移動させるように
した場合、マウス自身の角度は。
However, in the above-mentioned conventional technology, when the cursor is moved in a straight line in the X direction on the screen, the angle of the mouse itself is, for example.

あらかじめ定められた角度とした上で、マウス装置を操
作机上の、X方向へ移動しなければならなかった。また
、X方向へカーソルを表示移動させようとする場合にも
、マウス装置自身の角度は、前記のX方向へ移動した場
合と同じ角度に保ち、その状態でマウスを操作机上のX
方向へ移動しなければならなかった。すなわち、従来に
あっては、カーソルの移動方向とマウス装置自身の保つ
角度とが固定的関係にあるということであり、マウスの
持ち方には個人差があるに対し、操作者のマウス装置を
保持する角度はシステムで強制されることになり、操作
の面から使いすらいものであった。
The mouse device had to be moved in the X direction on the operating desk after setting the angle to a predetermined angle. Also, when trying to display and move the cursor in the X direction, the angle of the mouse device itself should be kept at the same angle as when moving in the X direction, and in that state, move the mouse to the
I had to move in the direction. In other words, in the past, there was a fixed relationship between the direction of movement of the cursor and the angle maintained by the mouse device itself, and while there were individual differences in how the mouse was held, The holding angle was forced by the system, making it difficult to use from an operational standpoint.

本発明は、以上の点を考慮してなされたものであって、
その目的とするところは、マウス装置自身の保つ角度は
どのような角度であっても、−度その傾き角度を設定す
れば、マウス装置自身の角度が傾いていても、マウスの
移動方向とカーソルの移動方向とを一致させることので
きる、操作性を向上させたマウス装置によるカーソル表
示処理方式を提供しようとするものである。
The present invention has been made in consideration of the above points, and includes:
The purpose of this is that no matter what angle the mouse device itself maintains, if you set the tilt angle by - degrees, even if the mouse device itself is tilted, the direction of mouse movement and the cursor will be fixed. The object of the present invention is to provide a cursor display processing method using a mouse device with improved operability, which can match the moving direction of the mouse.

〔問題点を解決するための手段〕[Means for solving problems]

前記目的は1本来マウス装置が有しているX方向および
X方向座標軸に対する任意の回転角度を、あらかじめ制
御装置に検知、記憶させておき、この任意回転角度の分
だけ、マウス装置の移動方向に対して基準となるX方向
およびX方向座標軸を回転させたものを、新たなX方向
およびX方向座標軸と仮定し、カーソル表示に対応する
マウス移動量は、前記の新たな座標軸に対する移動量を
決定することにより達成される。
The purpose is 1 to have the control device detect and store in advance an arbitrary rotation angle with respect to the X direction and the X direction coordinate axis that the mouse device originally has, and to change the movement direction of the mouse device by this arbitrary rotation angle. The rotation of the reference X direction and X direction coordinate axes is assumed to be the new X direction and X direction coordinate axes, and the amount of mouse movement corresponding to the cursor display determines the amount of movement with respect to the new coordinate axes. This is achieved by

〔作用〕[Effect]

しかして、本発明において、あらかじめ設定するマウス
装置の回転角度は1例えばマウス装置自身を一定角度回
転させた状態において、新たな座標軸であるX方向に移
動する動作を実行させることにより、その時にマウス装
置から出力されるX方向移動量およびX方向移動量にも
とづき、回転角度をαとすると、座標軸の回転角Sin
α およびcosα が決定される。
Therefore, in the present invention, the rotation angle of the mouse device that is preset is 1. For example, when the mouse device itself is rotated by a certain angle, by moving the mouse device in the X direction, which is a new coordinate axis, the mouse device can be moved at that time. Based on the amount of X-direction movement and the amount of X-direction movement output from the device, if the rotation angle is α, the rotation angle of the coordinate axis is
α and cosα are determined.

また、カーソルを画面に表示するための新たな座標軸x
、Y方向に対するマウス装置の移動量は、マウス装置を
移動した場合に、マウスより出力される本来のX、X方
向座標軸に対するx、X方向移動量成分と、先に求めで
ある回転角度αとを用いて演算をおこなうことにより、
新たな座標軸に対する移動量成分X′およ及びY′を求
めることができる。
Also, a new coordinate axis x to display the cursor on the screen
, the movement amount of the mouse device in the Y direction is determined by the original X output from the mouse when the mouse device is moved, the x and X direction movement amount components relative to the X direction coordinate axis, and the rotation angle α obtained earlier. By performing calculations using
The movement amount components X' and Y' with respect to the new coordinate axes can be determined.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面を参照しつつ詳細に説
明すると、第2図は本発明を適用して好適なワードプロ
セッサの外観構成を示す斜視図である。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 is a perspective view showing the external configuration of a preferred word processor to which the present invention is applied.

第2図において、1は本体、2はディスプレイ装置、3
はキーボード装置、4はマウス装置である。
In Fig. 2, 1 is the main body, 2 is the display device, and 3 is the main body.
is a keyboard device, and 4 is a mouse device.

本体1は、キーボード装置3およびポインティングデバ
イスであるマウス装置4からの信号を処理する処理装置
であり、本体1には、記録媒体であるフレキシブルディ
スク装置5も収納されている。表示部であるディスプレ
イ装置2には、作成文章およびメニューやカーソルなど
の状態表示がなされ、なお前記カーソルは、現在入力可
能である位置、を示したり、メニューの領域指定などに
用いられる。そして、前記カーソルの位置指定は、キー
ボード装置3上にあるスクロールキーの打鍵、またはマ
ウス装置4を操作卓上で移動することによりおこなわれ
る。マウス装置4上には、スイッチ41が設けられてお
り、スイッチ41は、カーソルによって指定された対象
領域の設定、削除などのために用いられる。
The main body 1 is a processing device that processes signals from a keyboard device 3 and a mouse device 4, which is a pointing device.The main body 1 also houses a flexible disk device 5, which is a recording medium. The display device 2, which is a display section, displays the created text and the status of a menu, a cursor, etc. The cursor is used to indicate the position where input is currently possible, to designate a menu area, and the like. The position of the cursor is specified by pressing a scroll key on the keyboard device 3 or by moving the mouse device 4 on the console. A switch 41 is provided on the mouse device 4, and the switch 41 is used for setting, deleting, etc. the target area specified by the cursor.

第3図は第2図に示したワードプロセッサ中、マウス装
置4に関する処理の概要を示すブロック図である。
FIG. 3 is a block diagram showing an overview of processing related to the mouse device 4 in the word processor shown in FIG.

第3図において、マウスデータ処理部11およびカーソ
ル表示処理部12は、第1図の本体1内における制御装
置に内在する。マウスデータ処理部11は、マウス装置
4に対してその位置情報を要求する場合は、データリク
エスト信号Aを送出する。マウス装置4は、その内部に
制御回路42を有しており、マウス装置4が移動した分
の位置情報や、当該マウス装置4内に納められているス
イッチ41のオン・オフ情報を一連のデータ形式に整え
る。マウス装置4がデータリクエスト信号Aを受信した
場合は、前記のごとく整えられたデータを、シリアルま
たはパラレル信号の形で、マウスデータ信号Bとして、
マウスデータ処理部11へ送出する。マウスデータ処理
部11は、受信したマウスの位置情報により、マウスの
移動量や絶対位置を計算し、それらのデータをマウス位
置データ部13に格納する。マウス装置4から得られた
マウス位置データは、ディスプレイ上におけるマウスと
等価な位置に、カーソルとして表示され、メニューの選
択などに用いられる。カーソル表示制御部12は、マウ
ス位置データ部13によって得られるディスプレイ画面
上のアドレス、すなわちマウス位置にもとづいてディス
プレイ画面上に表示すべきカーソルのアドレスを計算し
、その結果をカーソル位置データ部14に格納する。
In FIG. 3, a mouse data processing section 11 and a cursor display processing section 12 are included in the control device within the main body 1 of FIG. The mouse data processing unit 11 sends a data request signal A when requesting the mouse device 4 for its position information. The mouse device 4 has a control circuit 42 inside thereof, and stores a series of data such as position information of the movement of the mouse device 4 and on/off information of the switch 41 housed in the mouse device 4. Arrange it into a format. When the mouse device 4 receives the data request signal A, it sends the data arranged as described above as a mouse data signal B in the form of a serial or parallel signal.
The data is sent to the mouse data processing section 11. The mouse data processing unit 11 calculates the movement amount and absolute position of the mouse based on the received mouse position information, and stores the data in the mouse position data unit 13. The mouse position data obtained from the mouse device 4 is displayed as a cursor on the display at a position equivalent to that of the mouse, and is used for menu selection and the like. The cursor display control section 12 calculates the address of the cursor to be displayed on the display screen based on the address on the display screen obtained by the mouse position data section 13, that is, the mouse position, and sends the result to the cursor position data section 14. Store.

そして、カーソルは、カーソル位置データ部14の値に
したがって、ディスプレイ画面上に表示される。なお、
以上の処理は、通常、CPUなどの論理演算素子によっ
ておこなわれる。
The cursor is then displayed on the display screen according to the value of the cursor position data section 14. In addition,
The above processing is normally performed by a logic operation element such as a CPU.

第4図はマウス機構部の構成を示す図である。FIG. 4 is a diagram showing the configuration of the mouse mechanism section.

第4図において、4はマウス装置、40は接続ケーブル
、43はマウス本体の底面部に一部を突き出して自在に
回転可能なボール、44Xおよび44Yはそれぞれボー
ル43に接触して位置している摩擦ローラである。45
X、45YはそれぞれX方向、Y方向の移動量を検知す
るエンコーダであり、エンコーダ45Xは、回転円板4
6Xと検出スイッチ47Xとから構成されている。また
In FIG. 4, 4 is a mouse device, 40 is a connection cable, 43 is a ball that partially protrudes from the bottom of the mouse body and can be freely rotated, and 44X and 44Y are located in contact with the ball 43, respectively. It is a friction roller. 45
X and 45Y are encoders that detect the amount of movement in the X direction and Y direction, respectively, and the encoder 45X is
6X and a detection switch 47X. Also.

エンコーダ45Yは、回転円板46Yと検出スイッチ4
7Yとから構成されている。回転円板46X、46Y1
.:は、それぞれ摩擦0−544X、44Yの回転が伝
達され、したがって各回転円板46X、46Yは、それ
ぞれ摩擦0−ラ44X、44Yの動きに追従して回転す
る。また、回転円板46X、46Yは、それぞれ環状導
電部と放射状導電部とを有し、各導電部に前記検出スイ
ッチ47X、47Yがそれぞれ接触しており、回転円板
46X、46Yの回転にともなうオン・オフをスイッチ
47X、47Yが検出する。マウス装置4の移動量に比
例した形で出力されるオン・オフ数は、当該マウス装置
4内の制御回路(第3図の符号42)がカウントし、X
方向およびY方向の一定時間当りのパルス数を、第2図
の本体1側に送出する。摩擦ローラ44X、44Yは、
マウス本体のX方向およびY方向に直角に取り付けられ
ており、その位置を機械的に回転して移動することはで
きない。したがって、マウス装置4を、例えば第4図の
X方向に移動した場合は、44Xの摩擦ローラのみが回
転し、X方向のみの移動パルス数のみがマウス装置4か
ら出力される。
The encoder 45Y includes a rotating disk 46Y and a detection switch 4.
It is composed of 7Y. Rotating disc 46X, 46Y1
.. : The rotation of friction 0-544X, 44Y is transmitted, respectively, and therefore, each rotating disk 46X, 46Y rotates following the movement of friction 0-ra 44X, 44Y, respectively. Further, the rotating discs 46X, 46Y each have an annular conductive part and a radial conductive part, and the detection switches 47X, 47Y are in contact with each conductive part, respectively, and as the rotating discs 46X, 46Y rotate. Switches 47X and 47Y detect on/off. The on/off number outputted in proportion to the amount of movement of the mouse device 4 is counted by the control circuit (numeral 42 in FIG. 3) within the mouse device 4, and
The number of pulses per fixed time in the direction and Y direction is sent to the main body 1 side in FIG. The friction rollers 44X and 44Y are
It is attached at right angles to the X and Y directions of the mouse body, and its position cannot be mechanically rotated and moved. Therefore, when the mouse device 4 is moved, for example, in the X direction in FIG. 4, only the 44X friction roller rotates, and only the number of movement pulses in the X direction is output from the mouse device 4.

なお、第8図は従来形マウス装置の移動方向とディスプ
レイ画面上におけるカーソル移動方向との関係を示す図
である。
FIG. 8 is a diagram showing the relationship between the moving direction of a conventional mouse device and the cursor moving direction on the display screen.

そして、操作机上におけるマウスの移動量は、第4図の
マウス構成図に示すように、X方向とX方向とに分解さ
れて、移動パルス数がマウス装置4より出力されるもの
であって、第8図のマウス移動図に示すごとく、マウス
がX方向座標軸に対してθの方向に趙対移動量りだけ移
動した場合、X方向の移動量Xは、 X=Lcosθ X方向の移動量Yは、 Y = L sin θ 分のパルス数が出力されることになり、前記のマウス移
動量XおよびYの値にもとづいて、第3図で説明したよ
うに、第2図の本体1側では、ディスプレイ画面上にお
けるカーソルの位置を計算し、カーソルをマウスの移動
に追従させて所定の表示をおこなう。
The amount of movement of the mouse on the operating desk is divided into the X direction and the X direction, and the number of movement pulses is output from the mouse device 4, as shown in the mouse configuration diagram in FIG. As shown in the mouse movement diagram in Figure 8, when the mouse moves in the direction of θ with respect to the X-direction coordinate axis, the amount of movement X in the X direction is: X=Lcosθ The amount of movement Y in the X direction is , Y = L sin θ The number of pulses will be output, and based on the values of the mouse movement amount X and Y, as explained in FIG. 3, on the main body 1 side of FIG. 2, The position of the cursor on the display screen is calculated, the cursor follows the movement of the mouse, and a predetermined display is performed.

しかして、第8図に示すごとく、従来、マウス操作机上
における移動X方向は、ディスプレイ画面上における水
平方向と一致し、マウス操作机上における移動X方向は
、ディスプレイ画面上における垂直方向と一致する関係
を有している。また、カーソルの移動は、画面サイズに
対応した適当なマウス移動量に対する比率でもってなさ
れる。
As shown in FIG. 8, conventionally, the X direction of movement on the mouse operating desk matches the horizontal direction on the display screen, and the X direction of movement on the mouse operating desk matches the vertical direction on the display screen. have. Further, the cursor is moved at an appropriate ratio to the amount of mouse movement corresponding to the screen size.

第1図は本発明方式によるマウスの移動方向とディスプ
レイ画面上におけるカーソル移動方向との関係を示す図
である。
FIG. 1 is a diagram showing the relationship between the moving direction of a mouse and the moving direction of a cursor on a display screen according to the method of the present invention.

第1図において、角度αは、操作者があらかじめ設定し
たマウス本体の補正回転角度である。また、第1図にお
いて、マウス操作机上におけるX座標軸およびX座標軸
は、それぞれマウス本体内のエンコーダ位置によって決
定されるパルス出力基準軸である。このXt’!基準軸
に対し、操作者が角度αだけマウスを回転させた形で補
正角度を設定すると、操作者は、操作机上に新たな移動
基準軸であるX′座標軸とy′座標軸とが設定された想
定のもとてマウスを移動し、ディスプレイ画面上にカー
ソルを描くことが可能となる。そして、前記のごとくし
て補正をおこなった後のマウスとカーソルとの移動方向
の関係は、新たなy′方向がディスプレイ画面上の水平
方向となり、y′方向が垂直方向となる関係にもとづい
て、カーソルの移動表示がなされる。
In FIG. 1, the angle α is a corrected rotation angle of the mouse body, which is set in advance by the operator. Further, in FIG. 1, the X coordinate axis and the X coordinate axis on the mouse operating desk are pulse output reference axes determined by the encoder position within the mouse body, respectively. This Xt'! When the operator sets the correction angle by rotating the mouse by an angle α with respect to the reference axis, the operator can set the X' coordinate axis and the y' coordinate axis, which are new movement reference axes, on the operation desk. It becomes possible to move the mouse imaginatively and draw a cursor on the display screen. The relationship between the moving directions of the mouse and the cursor after the correction is made as described above is based on the relationship that the new y' direction becomes the horizontal direction on the display screen, and the new y' direction becomes the vertical direction. , the cursor is displayed moving.

なお、第2図の本体1がカーソルを移動表示させるため
の具体的なマウスの移動量は、後に詳細に説明するよう
に、マウス自身のエンコーダより出力されるX方向カウ
ント数又と、y方向カウント数Yと、補正角度αとにも
とづいて、計算鳴より、新たな座標軸X′とy′方向成
分の移動量X′およびY′が求められ、ディスプレイ画
面上におけるカーソルの表示位置は、これに新たに求め
た値に比例した形で決定され、このように、本発明によ
れば、操作者がマウス装置を持ち易いように、一定角度
回転させた形でマウスを保持し、この状態で、マウスを
、第8図に示す従来のX方向あるいはX方向に移動させ
ると、カーソルは、その方向に対応した形でディスプレ
イ上に移動することが可能となる。
Note that the specific amount of mouse movement for the main body 1 in FIG. Based on the count number Y and the correction angle α, the movement amounts X' and Y' of the new coordinate axes X' and y' direction components are determined by calculation, and the display position of the cursor on the display screen is determined by this calculation. According to the present invention, in order to make it easier for the operator to hold the mouse device, the mouse is held rotated by a certain angle, and the mouse is held in this state. When the mouse is moved in the conventional X direction or the X direction shown in FIG. 8, the cursor can be moved on the display in a manner corresponding to that direction.

第5図は第1図に示すごとく、一定回転角度補正をおこ
なった後、マウスの新たな座標軸X′方向移動量成分の
求め方を説明する図である。
FIG. 5 is a diagram illustrating how to obtain a new movement amount component of the mouse in the coordinate axis X' direction after the fixed rotation angle correction is performed as shown in FIG.

第5図において1例えば基準点OからA点までマウス装
置を移動したとすると、マウスからは、マウス自身のX
方向成分として、Xだけ移動量が出力され、またX方向
成分として、Yだけ移動量が出力される。そして、操作
者が設定した補正角度をαとすると、新たな座標軸であ
るX′方向軸に対するマウスのX′方向移動量成分はX
′となり、またx、y、αは既知であり、正弦および余
弦の関係より、下記式が得られ、 X 1 = Xcos a X2=Ysinα カーソル表示をおこなうための新たなX′座標軸に対す
る移動量成分X′は、次のようにして得られる゛。
In Fig. 5, if the mouse device is moved from the reference point O to the point A, for example, the mouse will
A movement amount of X is output as the direction component, and a movement amount of Y is output as the X direction component. Then, if the correction angle set by the operator is α, the amount of movement of the mouse in the X′ direction with respect to the new coordinate axis, the X′ direction axis, is
', and x, y, and α are known, and from the relationship between sine and cosine, the following formula is obtained: X' can be obtained as follows.

X’  =X1+X2 = Xcos α+ Y sin rt第6図は第5図
と同様、一定回転角度補正をおこなった後、マウスの新
たな座標y′方向移動量成分の求め方を説明する図であ
る。
X' = X1 + X2 = X cos α + Y sin rt FIG. 6 is a diagram illustrating how to obtain a new movement amount component of the mouse in the coordinate y' direction after the fixed rotation angle correction is performed, similar to FIG. 5.

しかして、第5図で説明したと同じように、X方向およ
びX方向のマウス移動量成分X、Yおよび補正角度αは
既知であり、第6図において、求めるべきy′方向の移
動量成分Y′は、次のようにして求められる。
Therefore, as explained in FIG. 5, the X and Y direction mouse movement components X, Y, and correction angle α are known, and in FIG. 6, the y' direction movement amount component to be determined is Y' is determined as follows.

Y1=Ycosα Y2=Xsinα Y’ =Y1−Y2 = Ycos a −X5in a 第7図は、本発明におけるマウス移動からカーソル表示
までの処理の流れを示すフローチャートであって、マウ
ス装置を移動させながらカーソルを移動表示させ、ポイ
ンティングするような通常の処理の前段階として、あら
かじめ操作者に補正角度を設定させるのが特徴である。
Y1=Ycosα Y2=Xsinα Y'=Y1−Y2=Ycos a −X5in a FIG. 7 is a flowchart showing the flow of processing from mouse movement to cursor display in the present invention. The feature is that the operator is required to set the correction angle in advance as a step before normal processing such as moving and displaying and pointing.

第7図のステップ81においては、まず、補正角度を操
作者が設定するように、メツセージを画面に出力する。
In step 81 in FIG. 7, a message is first output on the screen so that the operator can set the correction angle.

ステップ82において、操作者は、マウス装置を、マウ
ス自身のX方向に対し、補正角度αの方向に一定距離移
動させる。ステップ83において、制御装置は、この時
のX方向およびX方向の移動量XおよびYを記憶してお
き、ステップ84において、これらの値X、Yより、制
御装置が補正角度αを計算により求め、以後の計算に使
用するため、αの値を保持しておく。なお、このαの値
は、sinα、 COSαの値として記憶しておく。
In step 82, the operator moves the mouse device a certain distance in the direction of the correction angle α with respect to the X direction of the mouse itself. In step 83, the control device memorizes the X direction and the amount of movement X and Y in the X direction at this time, and in step 84, the control device calculates the correction angle α from these values X and Y. , retain the value of α for use in subsequent calculations. Note that this value of α is stored as the values of sin α and COSα.

第7図において、ステップ85以降は、通常の繰返し処
理の流れを示したものであり、制御装置は、ステップ8
5において、マウス移動時にマウス本体から出力される
マウス自身のX方向およびX方向基準軸に対するそれぞ
れの移動量成分XおよびYを検相して記憶する。ステッ
プ86において、制御装置は、ステップ84で計算・記
憶しておいたsinα、 CoSαの値およびステップ
85で記憶済みのマウス自身の移動量X、Yより、角度
をαだけ回転させた新たなx′、y′座標軸に対する移
動量成分X′およびY′を計算式にしたがって計算する
。ステップ87では、ステップ86で計算したマウスの
新たな移動量に対応するカーソルの位置をディスプレイ
に表示する。
In FIG. 7, steps 85 and subsequent steps show the flow of normal iterative processing, and the control device performs step 85.
5, the movement amount components X and Y of the mouse itself outputted from the mouse body in the X direction and with respect to the X direction reference axis are phase detected and stored in step 5. In step 86, the control device calculates a new x whose angle is rotated by α from the values of sin α and CoSα calculated and stored in step 84, and the movement amounts X and Y of the mouse itself that have been stored in step 85. The movement amount components X' and Y' with respect to the ', y' coordinate axes are calculated according to the calculation formula. In step 87, the cursor position corresponding to the new mouse movement amount calculated in step 86 is displayed on the display.

以下、前記したステップ85から87を繰返し実行する
ことにより、マウスの移動に追従して、カーソルが移動
表示される。
Thereafter, by repeatedly executing steps 85 to 87 described above, the cursor is moved and displayed in accordance with the movement of the mouse.

なお、前記説明では、角度補正をおこなうためのマウス
装置4の回転角度を、あらかじめマウスを設定角度方向
へ移動動作させることにより設定したが、マウスを移動
することなく、回転角度αの値を、操作者が直接本体1
に入力して、本体1が記憶しておく方法によっても、前
記角度αの決定が可能であることは明らかである。
In the above description, the rotation angle of the mouse device 4 for angle correction is set by moving the mouse in the set angle direction in advance, but the value of the rotation angle α can be changed without moving the mouse. Operator directly connects main unit 1
It is clear that the angle α can also be determined by a method in which the angle α is entered and stored in the main body 1.

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

以上、本発明によれば、マウス装置を任意の角度に回転
させた状態で、マウス移動方向に対するディスプレイ画
面上のカーソル移動方向を決定できるので、従来のよう
に、カーソルを動かそうとする移動方向に対し、マウス
の持ち方の角度が拘束されることなく、操作者が持ち易
い状態でマウスを保持して移動することが可能となり、
マウス装置の操作性を向上させる効果がある。
As described above, according to the present invention, it is possible to determine the moving direction of the cursor on the display screen with respect to the moving direction of the mouse while the mouse device is rotated at an arbitrary angle. However, the angle at which the mouse is held is not restricted, allowing the operator to hold and move the mouse in a comfortable manner.
This has the effect of improving the operability of the mouse device.

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

第1図〜第7図は本発明の一実施例を示し、第1図はマ
ウス装置の移動方向とディスプレイ画面上におけるカー
ソル移動方向との関係を示す図、第2図は本発明を適用
して好適なワードプロセッサの外観構成を示す斜視図、
第3図は第2図に示したワードプロセッサ中、マウス装
置4に関する処理の概要を示すブロック図、第4図はマ
ウス機構部の構成を示す図、第5図は本発明によって回
転角度補正をおこなった後におけるマウスの新たな座標
軸X′方向移動成分の求め方を説明する図、第6図は第
5図と同様、本発明によって回転角度補正をおこなった
後におけるマウズの新たな座標軸y′方向移動成分の求
め方を説明する回、第7図はマウス移動からカーソル表
示までの処理の流れを示すフローチャート、第8図は従
来形マウス装置の移動方向とディスプレイ画面上におけ
るカーソル移動方向との関係を示す図である。 2・・・ディスプレイ装置、4・・・マウス装置、11
・・・マウスデータ処理部、12・・・カーソル表示制
御部、45Xおよび45Y・・・エンコーダ。 九スアレイ*6iJ 第Z目 墳3 囚 第4図 拳′l入 第50 第ム圀 第1 口
1 to 7 show one embodiment of the present invention, FIG. 1 is a diagram showing the relationship between the moving direction of the mouse device and the cursor moving direction on the display screen, and FIG. 2 is a diagram showing an embodiment of the present invention. A perspective view showing the external configuration of a word processor suitable for
FIG. 3 is a block diagram showing an overview of processing related to the mouse device 4 in the word processor shown in FIG. 2, FIG. 4 is a diagram showing the configuration of the mouse mechanism, and FIG. FIG. 6 is a diagram illustrating how to obtain the movement component of the mouse in the new coordinate axis X' direction after the rotation angle has been corrected according to the present invention. FIG. In the section explaining how to obtain the movement component, Fig. 7 is a flowchart showing the flow of processing from mouse movement to cursor display, and Fig. 8 shows the relationship between the movement direction of a conventional mouse device and the cursor movement direction on the display screen. FIG. 2... Display device, 4... Mouse device, 11
...Mouse data processing unit, 12...Cursor display control unit, 45X and 45Y...Encoder. 9th array *6iJ Zth tomb 3 prisoner 4th figure fist'l entrance 50th mu area 1st mouth

Claims (1)

【特許請求の範囲】 1、自在に移動可能で、かつスイッチ入力手段を設けた
マウス装置と、ディスプレイ装置と、前記両装置の制御
をおこなう制御装置とを備え、マウス装置の移動および
スイッチ入力手段の操作にもとづき、前記制御装置がマ
ウス装置の位置に対応するディスプレイ装置画面上の位
置にカーソルを表示するとともに、メニュー領域を表示
し、マウス装置の位置にもとづいてメニュー領域の選択
、およびカーソルを希望位置に移動指定するカーソル表
示処理方式において、前記マウス装置からは当該マウス
装置自身のX方向およびY方向の各移動量成分が出力さ
れるのに対し、ディスプレイ装置に表示されるカーソル
の移動方向は、マウス装置のX方向およびY方向座標軸
が一定角度回転したかのごとく、マウス装置の移動量を
前記制御装置で補正して、カーソル表示することを特徴
とするマウス装置によるカーソル表示処理方式。 2、特許請求の範囲第1項記載の発明において、マウス
装置の移動に対応したカーソルの表示平面上におけるX
方向およびY方向座標軸の回転角度を、操作者が任意に
設定可能としたマウス装置によるカーソル表示処理方式
[Scope of Claims] 1. A mouse device that is freely movable and equipped with switch input means, a display device, and a control device that controls both devices, and that moves the mouse device and has switch input means. Based on the operation of the mouse device, the control device displays a cursor at a position on the screen of the display device corresponding to the position of the mouse device, displays a menu area, and selects the menu area and moves the cursor based on the position of the mouse device. In a cursor display processing method that specifies movement to a desired position, the mouse device outputs each movement amount component in the X direction and Y direction of the mouse device itself, whereas the movement direction of the cursor displayed on the display device is A cursor display processing method using a mouse device, characterized in that the amount of movement of the mouse device is corrected by the control device and the cursor is displayed as if the X-direction and Y-direction coordinate axes of the mouse device were rotated by a fixed angle. 2. In the invention described in claim 1, the X on the display plane of the cursor corresponding to the movement of the mouse device
A cursor display processing method using a mouse device that allows the operator to arbitrarily set the direction and rotation angle of the Y-direction coordinate axis.
JP62281045A 1987-11-09 1987-11-09 Cursor displaying processing system by mouse device Pending JPH01123316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62281045A JPH01123316A (en) 1987-11-09 1987-11-09 Cursor displaying processing system by mouse device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62281045A JPH01123316A (en) 1987-11-09 1987-11-09 Cursor displaying processing system by mouse device

Publications (1)

Publication Number Publication Date
JPH01123316A true JPH01123316A (en) 1989-05-16

Family

ID=17633531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62281045A Pending JPH01123316A (en) 1987-11-09 1987-11-09 Cursor displaying processing system by mouse device

Country Status (1)

Country Link
JP (1) JPH01123316A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0277827A (en) * 1988-09-13 1990-03-16 Sharp Corp Input system
JPWO2014073403A1 (en) * 2012-11-08 2016-09-08 アルプス電気株式会社 Input device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0277827A (en) * 1988-09-13 1990-03-16 Sharp Corp Input system
JPWO2014073403A1 (en) * 2012-11-08 2016-09-08 アルプス電気株式会社 Input device

Similar Documents

Publication Publication Date Title
US7142193B2 (en) Coordinate input device having rotating bodies capable of rotating in a direction normal to the rotation of a wheel
US7545362B2 (en) Multi-modal navigation in a graphical user interface computing system
US6326950B1 (en) Pointing device using two linear sensors and fingerprints to generate displacement signals
JP2001043010A (en) Pointing device using image to generate pointing signal
JPH0764754A (en) Compact information processor
JP4171561B2 (en) Rotary encoder
JP2005522797A (en) Closed loop sensor for solid state object position detector
JPH0667796A (en) Input device
JPH1165759A (en) Information input device
JPH01123316A (en) Cursor displaying processing system by mouse device
JP2000056897A (en) Computer system
JPH0651907A (en) Input device
JPH08314629A (en) Display system
JP3459126B2 (en) Rotary position indicator and coordinate input device and method
JP4033782B2 (en) INPUT DEVICE AND ELECTRONIC DEVICE HAVING THE SAME
JP2000155645A (en) Information processor and method
US20060170653A1 (en) Pointing device with switch
JPS6136826A (en) Graphic input device with variable shift amount
JPH0337068Y2 (en)
JP2000047812A (en) Input device
US6839051B2 (en) Two-axis cursor control apparatus
JPH10171596A (en) Mouse
TW448394B (en) Cursor device having a control rod
JPH10224840A (en) Pager equipped with mouse type operation section
JP2000066826A (en) Input device