JP2004070843A - Processing method by computer, and mouse - Google Patents

Processing method by computer, and mouse Download PDF

Info

Publication number
JP2004070843A
JP2004070843A JP2002232238A JP2002232238A JP2004070843A JP 2004070843 A JP2004070843 A JP 2004070843A JP 2002232238 A JP2002232238 A JP 2002232238A JP 2002232238 A JP2002232238 A JP 2002232238A JP 2004070843 A JP2004070843 A JP 2004070843A
Authority
JP
Japan
Prior art keywords
mouse
moved
movement
pointer
processing method
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
JP2002232238A
Other languages
Japanese (ja)
Inventor
Akifumi Ichihara
市原 昌文
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2002232238A priority Critical patent/JP2004070843A/en
Publication of JP2004070843A publication Critical patent/JP2004070843A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To turn graphics or the like on the spot, or move it, turn it and drop it by drag and drop editing. <P>SOLUTION: Position detectors 1a and 1b are provided on the mouse 1, and positions of the position detectors 1a and 1b in horizontal coordinates before and after movement of the mouse 1 on a horizontal plane are detected. It is composed so that the movement of the mouse 1 is separated into parallel displacement and turning around the position detector 1a, a moved direction, a moved distance, and turning angle of the mouse 1 are calculated from the detected coordinates, and a pointer on a display is moved and rotated on the basis of the moved direction, moved distance and turning angle of the mouse 1. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、コンピュータによる処理方法およびマウスに関する。
【0002】
【従来の技術】
パソコンは、パソコン本体と、画面に表示するためのディスプレイと、入力機器としてのキーボードおよびマウス等により構成されている。図3に示すように、マウス1は操作者の前の机2の上に配置されたキーボード3の右または左に配置され、図示しないパソコン本体とマウス1とを繋ぐケーブル4は、操作者の前方から導かれている。そして、マウス1を机2の上で動かした方向へ動かした距離だけ、図示しないディスプレイ上のポインタが移動する。
【0003】
そして、例えばドラッグ・アンド・ドロップ編集により、グラフィックスなどを移動させる場合は、マウス1を机上で動かすことによりディスプレイ上のポインタをグラフィックスまで移動させ、マウス1を左クリックした状態でマウス1を机上で動かし(ドラッグ)、ポインタをディスプレイ上の希望する位置まで移動し、その位置で左クリックを解除する(ドロップ)。
【0004】
【発明が解決しようとする課題】
ところが、ポインタはマウス1を動かした方向へ動かした距離だけ移動するだけで、マウスの回転角度を検出してマウスの回転角度と対応する分だけポインタの方向を変えるようにしたものはなく、例えばグラフィックスなどをドラッグ・アンド・ドロップ編集によりその場で回転させたり、あるいは移動させると共に回転させてドロップするようにしたものはない。
【0005】
そこで本発明は、グラフィックスなどをドラッグ・アンド・ドロップ編集する際にマウスの回転角度を検出してポインタをマウスの回転角度と同じ角度だけ回転させるためのコンピュータによる処理方法とマウスとを提供することを目的とする。
【0006】
【課題を解決するための手段】
斯かる目的を達成するための請求項1に係るコンピュータによる処理方法の構成は、マウス上に特定点を一対設け、水平面上でマウスが移動した前後における前記一対の特定点の水平座標上での位置を検出し、前記マウスの移動を平行移動といずれかの前記特定点を中心とする回転とに分け、検出した前記座標から移動方向と移動距離と回転角度とを算出し、当該移動方向と当該移動距離と当該回転角度とに基づいて、ディスプレイ上のポインタが移動・回転するようにしたことを特徴とする。
【0007】
斯かるコンピュータによる処理方法では、グラフィックス等をドラッグ・アンド・ドロップ編集する際に、従来ではグラフィックスを単に平行移動できるのみであったが、これに加えて、グラフィックス自体を回転させてドロップすることができる。
【0008】
請求項2に係るマウスの構成は、マウスの相互にはなれた位置に一対の特定点を設け、当該一対の特定点ごとに現在の位置を検出する位置検出手段を設けたことを特徴とする。
【0009】
斯かるマウスでは、マウスが移動した前後での一対の特定点の座標を検出することにより、マウスの移動方向・移動距離だけでなく、マウスの回転角度までも算出することができる。
【0010】
【発明の実施の形態】
以下、本発明によるコンピュータによる処理方法およびマウスの実施の形態を説明する。この発明は、マウスを動かしてマウスの位置を変えた場合に、マウスの移動方向と移動距離だけでなく、動かした後のマウスの回転角度をも算出し、これらの数値に基づいてディスプレイ上のポインタが、マウスの移動方向・移動距離・回転角度と対応した分だけ、移動しかつ回転するようにしたものである。
【0011】
図1のようにマウス1の2箇所に位置検出器(位置検出手段)1a,1bが設けられている。これらの位置検出器1a,1bとしては、既存のものが用いられる。例えば従来から用いられている球体を回転させる構成のものが2組設けられている。位置検出器1a,1bの位置をA,Bとし、A,Bの長さ方向と平行にy軸を取って直交座標軸を設け、A,Bがy軸方向に距離rだけ離れて配置されているものとする。
【0012】
マウス1を平行移動させた場合はA,BはA,Bとなって姿勢は変化せず、A,Bが移動した前後の4点の位置は平行四辺形を描くため、A,Bの移動量はいずれもx方向へx、y方向へyだけ、同じ値ずつ移動することになる。
【0013】
次に、マウス1の姿勢が変化する場合について考えてみる。この場合は、A,Bを結ぶ直線と直交するx軸方向および平行なy軸方向へのA,Bの移動量が一致しなくなる。図1においてABがAへ移動したとすると、A,Bのx軸方向への移動量はx,xであり、y方向へ移動量はy,yとなる。この場合は、マウス1がA,Bまで平行移動した後に、BがA点を中心として反時計方向へ角度θだけ回転することでBに至ったものとみることができる。マウス1が移動した方向と距離については、マウス1の移動の前後の座標を検出してディスプレイ上のポインタをマウスの移動方向・移動距離と対応した分だけ動かすことが従来から行なわれており、ここでは説明を省略する。そして、マウス1が回転した角度θを算出することについてのみ検討する。
【0014】
この角度θ(ラジアン)は、以下のようにして求めることができる。θ(ラジアン)の定義は、二等辺三角形である△Aについて考えると、θと対応する円弧Bの長さが半径rの何倍であるかを示すものであり、
θ=(円弧B)/(半径r)・・・(1)
なので、(円弧B)に代えて(弦B)に着目し、△BCにピタゴラスの定理を適用すると、
(弦B=(x−x+(y−y
(弦B)=√〔(x−x+(y−y〕・・・(2)
となることから、(1)式の(円弧B)に(2)式を代入すると
θ≒√〔(x−x+(y−y〕/r・・・(3)
となる。但し、(3)式は角度θの値が小さい場合にのみ成立するものであり、rの値は(弦B)の長さを求めたのと同様にしてA,B点の座標から求めることができる。
【0015】
マウス上のA,B点の(x,y)座標を、マウスが動いた前後で読み取ることにより、A,B点の移動方向・移動量を算出し、A,B点が平行移動した後に例えばA点を中心として回転したものとしてとらえることにより、マウスの回転量を上記の(3)式から算出することができる。なお、θの値が大きくなると(弦B)と(円弧B)との長さの差が大きくなるが、マウスでポインタを操作する作業なので、実用上は全く問題は生じない。
【0016】
このようにマウスの回転量を(3)式より算出できることから、ディスプレイに表示されるポインタをマウスの移動方向・移動距離だけ移動させ、しかもマウスの回転した量だけポインタを回転させてポインタの方向をマウスの方向に追従させて表示することが可能になる。マウスの角度の変化量を算出できるので、x・y軸方向でのマウスの移動量に加え、マウスが回転した角度のアナログ量が利用できるようになる。
【0017】
マウスの回転をポインタの回転に反映できるので、グラフィックス等をドラッグ・アンド・ドロップ編集する際に、従来ではグラフィックスを単に平行移動できるのみであったが、これに加えて、グラフィックス自体をその場で回転させてドロップすることが可能になる。
【0018】
前記のようにマウスを回転させることでディスプレイ上のポインタを回転させる構成にするには、マウスが今まで以上に円滑に動くように配慮する必要がある。このため、図2のようにマウス1に繋がるケーブル4は、操作者の前方からではなく、机2の下を介して手前側から引き出すのが好ましい。図3のように操作者の前方からケーブル4を引き出すのに対して手前側から引き出すと、ケーブル4は従来よりも若干長く必要になる。
【0019】
図3のようにケーブル4が前方から引き出されていると、ケーブル4が障害物5に引っ掛かって引き出せず、マウス1を手前へ引いたり回転させたりできない場合がある。これは、ケーブル4自体に加わる力は小さいものの、ケーブル4と障害物5との作用点からマウス1までの距離Lが長くなることによって、マウス1に加わるモーメントが大きくなるのが原因である。このため従来は、その都度にケーブル4の配置状態を確認し、ケーブル4を移動させて問題を解決している。
【0020】
一方、無線でデータを転送するコードレスのマウスが実用化されているが、マウス自体に電源が必要なことからサイズや重量が大きくなるだけでなく、通信手段を追加していることでコスト高になる。
【0021】
この点、図2のように机2の下を介して手前側からケーブルを引き出すことによって、上記の問題は解決される。
【0022】
【発明の効果】
以上の説明からわかるように、請求項1,2に係るコンピュータによる処理方法およびマウスによれば、マウスの回転角度を算出してマウスが回転した角度だけディスプレイのポインタが回転するようにしたので、グラフィックス等をドラッグ・アンド・ドロップ編集する際に、従来ではグラフィックスを単に平行移動できるのみであったが、これに加えて、グラフィックス自体を回転させてドロップすることができる。
【図面の簡単な説明】
【図1】本発明によるコンピュータによる処理方法の説明図。
【図2】本発明を実施するのに好適なマウスのケーブル配置を示す平面図。
【図3】従来のマウスのケーブル配置を示す平面図。
【符号の説明】
1…マウス
1a,1b…位置検出器
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a computer processing method and a mouse.
[0002]
[Prior art]
The personal computer includes a personal computer main body, a display for displaying on a screen, a keyboard and a mouse as input devices, and the like. As shown in FIG. 3, the mouse 1 is arranged on the right or left side of a keyboard 3 arranged on a desk 2 in front of the operator, and a cable 4 connecting the personal computer (not shown) and the mouse 1 is connected to the operator. You are led from the front. Then, the pointer on the display (not shown) moves by the distance moved in the direction in which the mouse 1 is moved on the desk 2.
[0003]
When moving graphics, for example, by drag-and-drop editing, the pointer on the display is moved to the graphics by moving the mouse 1 on the desk, and the mouse 1 is left-clicked and the mouse 1 is moved. Move it on the desk (drag), move the pointer to the desired position on the display, and release the left click at that position (drop).
[0004]
[Problems to be solved by the invention]
However, the pointer only moves by the distance moved in the direction in which the mouse 1 is moved, and there is no device that detects the rotation angle of the mouse and changes the pointer direction by an amount corresponding to the rotation angle of the mouse. There is no such thing that graphics and the like are rotated on the spot by drag-and-drop editing, or are moved and rotated and dropped.
[0005]
Therefore, the present invention provides a computer processing method and a mouse for detecting the rotation angle of a mouse and rotating the pointer by the same angle as the rotation angle of the mouse when performing drag-and-drop editing of graphics and the like. The purpose is to:
[0006]
[Means for Solving the Problems]
The configuration of the processing method by the computer according to claim 1 for achieving such an object is such that a pair of specific points are provided on a mouse, and the pair of the specific points on a horizontal coordinate before and after the mouse moves on a horizontal plane. Detecting the position, dividing the movement of the mouse into parallel movement and rotation around any one of the specific points, calculating the movement direction, the movement distance and the rotation angle from the detected coordinates, and The pointer on the display moves and rotates based on the moving distance and the rotation angle.
[0007]
In such a processing method using a computer, when a graphic or the like is drag-and-drop-edited, in the past, the graphic could only be simply translated, but in addition, the graphic itself was rotated and dropped. can do.
[0008]
According to a second aspect of the present invention, in the mouse configuration, a pair of specific points are provided at positions separated from each other by the mouse, and position detecting means for detecting a current position is provided for each of the pair of specific points.
[0009]
In such a mouse, not only the moving direction and the moving distance of the mouse but also the rotation angle of the mouse can be calculated by detecting the coordinates of a pair of specific points before and after the mouse moves.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of a computer processing method and a mouse according to the present invention will be described. According to the present invention, when the position of the mouse is changed by moving the mouse, not only the moving direction and the moving distance of the mouse, but also the rotation angle of the mouse after the movement is calculated, and on the display on the display based on these numerical values. The pointer is moved and rotated by an amount corresponding to the moving direction, the moving distance, and the rotation angle of the mouse.
[0011]
As shown in FIG. 1, two position detectors (position detecting means) 1a and 1b are provided on the mouse 1. Existing position detectors 1a and 1b are used. For example, two sets of conventionally used rotating spheres are provided. Positions of the position detectors 1a and 1b are A and B, and a rectangular coordinate axis is provided by taking the y-axis parallel to the length direction of A and B, and A and B are arranged at a distance r in the y-axis direction. Shall be
[0012]
When the mouse 1 is moved in parallel, A and B become A 1 and B 1 and the posture does not change, and the positions of the four points before and after A and B move draw a parallelogram. amount of movement both the x-direction x a, the y-direction y a only, will move by the same value.
[0013]
Next, consider a case where the posture of the mouse 1 changes. In this case, the amounts of movement of A and B in the x-axis direction and the parallel y-axis direction orthogonal to the straight line connecting A and B do not match. When AB is has moved to the A 1 B 2 in FIG. 1, A, the amount of movement of the x-axis direction of B is x a, x b, the amount of movement in the y direction is y a, y b. In this case, after the mouse 1 has moved parallel to A 1 and B 1, it can be regarded that B 1 has reached B 2 by rotating B 1 counterclockwise around the point A 1 by an angle θ. Regarding the direction and distance of the movement of the mouse 1, it has been conventionally performed to detect coordinates before and after the movement of the mouse 1 and move the pointer on the display by an amount corresponding to the moving direction and the moving distance of the mouse. Here, the description is omitted. Then, only the calculation of the angle θ at which the mouse 1 is rotated will be considered.
[0014]
This angle θ (radian) can be obtained as follows. The definition of θ (radian) indicates how many times the length of the arc B 1 B 2 corresponding to θ is the radius r, when considering an isosceles triangle △ A 1 B 1 B 2 . ,
θ = (arc B 1 B 2 ) / (radius r) (1)
Therefore, if we focus on (chord B 1 B 2 ) instead of (arc B 1 B 2 ) and apply Pythagorean theorem to △ B 1 B 2 C,
(Chord B 1 B 2) 2 = ( x b -x a) 2 + (y b -y a) 2
(Chord B 1 B 2) = √ [(x b -x a) 2 + (y b -y a) 2 ] (2)
Since the equation (1) of Substituting into (arc B 1 B 2) (2) where theta ≒ √ [(x b -x a) 2 + (y b -y a) 2 ] / r ·・ ・ (3)
It becomes. However, the expression (3) holds only when the value of the angle θ is small, and the value of r is the coordinates of the points A and B in the same manner as the length of the (chord B 1 B 2 ) is obtained. Can be obtained from
[0015]
By reading the (x, y) coordinates of points A and B on the mouse before and after the mouse moves, the moving direction and amount of movement of points A and B are calculated. The rotation amount of the mouse can be calculated from the above expression (3) by considering the rotation around the point A as the center. When the value of θ increases, the difference between the length of (string B 1 B 2 ) and the length of (arc B 1 B 2 ) increases. However, since the operation of operating the pointer with a mouse, there is no practical problem at all. Absent.
[0016]
Since the rotation amount of the mouse can be calculated from the equation (3), the pointer displayed on the display is moved by the moving direction and the moving distance of the mouse, and the pointer is rotated by the amount of the mouse rotation. Can be displayed following the direction of the mouse. Since the amount of change in the angle of the mouse can be calculated, the analog amount of the angle at which the mouse is rotated can be used in addition to the amount of movement of the mouse in the x and y axes.
[0017]
Since the rotation of the mouse can be reflected on the rotation of the pointer, when dragging and dropping graphics, etc., in the past, graphics could only be translated in the past. You can rotate and drop on the spot.
[0018]
In order to rotate the pointer on the display by rotating the mouse as described above, it is necessary to consider that the mouse moves more smoothly than ever. For this reason, it is preferable that the cable 4 connected to the mouse 1 be pulled out from the near side through the bottom of the desk 2 instead of from the front of the operator as shown in FIG. When the cable 4 is pulled out from the front side of the operator as shown in FIG. 3, the cable 4 is required to be slightly longer than in the related art.
[0019]
If the cable 4 is pulled out from the front as shown in FIG. 3, the cable 4 may be caught by the obstacle 5 and cannot be pulled out, so that the mouse 1 may not be pulled forward or rotated. This is because although the force applied to the cable 4 itself is small, the moment applied to the mouse 1 increases as the distance L from the point of action of the cable 4 and the obstacle 5 to the mouse 1 increases. For this reason, conventionally, the arrangement state of the cable 4 is checked each time, and the problem is solved by moving the cable 4.
[0020]
On the other hand, cordless mice that transfer data wirelessly have been put to practical use.However, the size and weight of the mouse itself are increased due to the necessity of power supply, and the cost is increased due to the addition of communication means. Become.
[0021]
In this regard, the above problem can be solved by pulling out the cable from the near side under the desk 2 as shown in FIG.
[0022]
【The invention's effect】
As can be understood from the above description, according to the processing method by the computer and the mouse according to the first and second aspects, since the rotation angle of the mouse is calculated and the pointer of the display is rotated by the angle at which the mouse is rotated, Conventionally, when dragging and drop-editing a graphic or the like, the graphic can simply be moved in parallel. In addition, the graphic itself can be rotated and dropped.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of a processing method by a computer according to the present invention.
FIG. 2 is a plan view showing a cable arrangement of a mouse suitable for carrying out the present invention.
FIG. 3 is a plan view showing a cable arrangement of a conventional mouse.
[Explanation of symbols]
1. Mouse 1a, 1b Position detector

Claims (2)

マウス上に特定点を一対設け、水平面上でマウスが移動した前後における前記一対の特定点の水平座標上での位置を検出し、前記マウスの移動を平行移動といずれかの前記特定点を中心とする回転とに分け、検出した前記座標から移動方向と移動距離と回転角度とを算出し、
当該移動方向と当該移動距離と当該回転角度とに基づいて、ディスプレイ上のポインタが移動・回転するようにしたことを特徴とするコンピュータによる処理方法。
A pair of specific points are provided on the mouse, and the positions on the horizontal coordinates of the pair of specific points before and after the mouse moves on a horizontal plane are detected. Calculate the movement direction, the movement distance and the rotation angle from the detected coordinates,
A processing method by a computer, wherein a pointer on a display is moved / rotated based on the moving direction, the moving distance, and the rotation angle.
マウスの相互にはなれた位置に一対の特定点を設け、当該一対の特定点ごとに現在の位置を検出する位置検出手段を設けたことを特徴とするマウス。A mouse, comprising: a pair of specific points provided at positions separated from each other by a mouse; and position detecting means for detecting a current position for each of the pair of specific points.
JP2002232238A 2002-08-09 2002-08-09 Processing method by computer, and mouse Pending JP2004070843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002232238A JP2004070843A (en) 2002-08-09 2002-08-09 Processing method by computer, and mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002232238A JP2004070843A (en) 2002-08-09 2002-08-09 Processing method by computer, and mouse

Publications (1)

Publication Number Publication Date
JP2004070843A true JP2004070843A (en) 2004-03-04

Family

ID=32017708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002232238A Pending JP2004070843A (en) 2002-08-09 2002-08-09 Processing method by computer, and mouse

Country Status (1)

Country Link
JP (1) JP2004070843A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100948771B1 (en) 2007-12-11 2010-03-24 팅크웨어(주) Positioning method of touch screen panel and apparatus for executing the method
CN117008741A (en) * 2023-10-07 2023-11-07 深圳锐爱电子有限公司 High-precision control method and device for mouse direction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100948771B1 (en) 2007-12-11 2010-03-24 팅크웨어(주) Positioning method of touch screen panel and apparatus for executing the method
CN117008741A (en) * 2023-10-07 2023-11-07 深圳锐爱电子有限公司 High-precision control method and device for mouse direction

Similar Documents

Publication Publication Date Title
CN205080520U (en) Touch -control pen and electronic equipment
CN102483674B (en) Methods and apparatus for pressure-based manipulation of content on a touch screen
CN1303500C (en) A method of providing a display for a GUI
JP2022540315A (en) Virtual User Interface Using Peripheral Devices in Artificial Reality Environment
US20140210748A1 (en) Information processing apparatus, system and method
KR101095851B1 (en) Touch screen apparatus and method for controlling touch screen
JP5705767B2 (en) Operation information input system and content search method executed by operation information input system
EP2539797B1 (en) Representative image
JP5213183B2 (en) Robot control system and robot control program
CN103616972B (en) Touch screen control method and terminal device
WO2017172498A1 (en) Guide objects for drawing in user interfaces
JP2004513443A (en) Electronic user mounting interface device and method using the same
CN103270485A (en) Touch input processing device, information processing device, and touch input control method
US11392224B2 (en) Digital pen to adjust a 3D object
CN108681453A (en) The implementation method and device of engine map
TWI621037B (en) Touch sensitive system and stylus for commanding by maneuvering and method thereof
KR20130099570A (en) System and method for implemeting 3-dimensional user interface
CN105988710A (en) Method for assisting user input with touch display
Löchtefeld et al. Evaluation of hybrid front-and back-of-device interaction on mobile devices
US20160191875A1 (en) Image projection apparatus, and system employing interactive input-output capability
JP2005046931A (en) Robot arm-hand operation control method and robot arm-hand operation control system
JP2007079673A (en) Drawing device
JP2014115876A (en) Remote operation method of terminal to be operated using three-dimentional touch panel
JP2004070843A (en) Processing method by computer, and mouse
JP2016024804A (en) Touch device