JPH0659802A - Device for controlling pen input - Google Patents

Device for controlling pen input

Info

Publication number
JPH0659802A
JPH0659802A JP21017792A JP21017792A JPH0659802A JP H0659802 A JPH0659802 A JP H0659802A JP 21017792 A JP21017792 A JP 21017792A JP 21017792 A JP21017792 A JP 21017792A JP H0659802 A JPH0659802 A JP H0659802A
Authority
JP
Japan
Prior art keywords
area
input
pen
distance
region
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
JP21017792A
Other languages
Japanese (ja)
Inventor
Hiroaki Hayashi
弘章 林
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP21017792A priority Critical patent/JPH0659802A/en
Publication of JPH0659802A publication Critical patent/JPH0659802A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the operation not intended by the operator from being caused even when a pen input comes from an area at the outside of a certain area. CONSTITUTION:An area discrimination section 2 and an area storage section 3 are both connected to an area comparison section 4, which compares an area identifier being an output from the area discrimination section 2 with an area identifier stored in the area storage section 3 and gives an output representing whether or not the identifiers are coincident with each other. The area discrimination section 2, the area storage section 3 and the area comparison section 4 are respectively connected to the area decision section 5, and before an entry end discrimination section 6 discriminates it that the coordinate entry is finished when the area comparison section 4 discriminates the difference from the area, the area decision section 5 decides the area stored in the area storage section 4 to be an area to which a current coordinate input belongs.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ペンによる入力手段を
持つ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus having pen input means.

【0002】[0002]

【従来の技術】パーソナルコンピュータやワークステー
ションのマンマシンインタフェースは従来のコマンド入
力型からGUI(グラフィカルユーザインタフェース)
を使用したアイコン操作やメニュー操作に移ってきてい
る。GUIにおける主な入力手段はマウスやトラックボ
ールで、これらはボタンと共に使用し、カーソルを画面
上の目的の領域に持って行きボタンを押す、ボタンを押
しながらカーソルを移動する等、ボタンを押している時
の入力座標が意味を持っている。ところで、最近コンピ
ュータの新しい形態として、キーボードを持たない、ペ
ンのみで操作を行うコンピュータが登場してきている。
つまり、マウス・トラックボール等のポインティング機
能と、キーボードの文字入力機能をペンという1つのデ
バイスで取り扱おうとする試みである。ここで、ペンに
よる入力の特徴として、直接ポインティングがあげられ
る。つまり、マウスやトラックボールの場合は、人間が
画面上の目的物を指し示すのではなく、画面上に表示さ
れているカーソルを移動させることにより間接的に指し
示すことになるが、ペンは直接画面上の目的物を指し示
すことができるので、操作性が向上する。
2. Description of the Related Art Man-machine interfaces for personal computers and workstations have changed from the conventional command input type to GUI (graphical user interface).
We are moving to icon operation and menu operation using. The main input means in the GUI is a mouse or a trackball, and these are used together with a button to move the cursor to the target area on the screen and press the button, or move the cursor while pressing the button, etc. The input coordinates at time have meaning. By the way, recently, as a new form of a computer, a computer which does not have a keyboard and is operated only by a pen has appeared.
In other words, it is an attempt to handle a pointing function such as a mouse / trackball and a character input function of a keyboard by one device called a pen. Here, direct pointing can be mentioned as a feature of input with a pen. In other words, in the case of a mouse or a trackball, a human does not directly point to an object on the screen, but indirectly by moving the cursor displayed on the screen, but the pen directly touches the screen. Since the target object can be pointed out, the operability is improved.

【0003】[0003]

【発明が解決しようとする課題】しかし、操作性が向上
したために逆に手書き入力等は入力が雑になり、あらか
じめ規定された入力領域を越えてしまうことがある。あ
るウインドウの中で描画を行っていて、ペンが一時的
に、ウインドウの外に出て、スクロールバーの領域に入
ってしまうことなどがその例である。この時、スクロー
ルバーの処理が実行されるとウインドウ内の表示はスク
ロールされ、ペンが元のウインドウに戻ってきたときに
は、ユーザが描こうとしていた場所とは異なる場所に描
画が行われてしまう、という欠点を持つ。
However, since the operability is improved, the handwriting input, etc. may be rough and the input area may exceed a predetermined input area. An example is when you are drawing in a window and the pen temporarily moves out of the window and into the scroll bar area. At this time, when the scroll bar processing is executed, the display in the window is scrolled, and when the pen returns to the original window, drawing is performed in a place different from the place where the user was trying to draw, Has the drawback.

【0004】したがって、本発明の目的は、ペンの入力
がある領域からはずれても、操作者が意図しない動作を
起こすことのない、さらに言えば、操作者の意図を汲ん
だ動作を行う、ペン入力制御装置を提供することにあ
る。
Therefore, an object of the present invention is to provide a pen that does not cause an operation unintended by the operator even when the input of the pen deviates from an area where the input is made, and more specifically, an operation in which the operation intended by the operator is taken into consideration. It is to provide an input control device.

【0005】[0005]

【課題を解決するための手段】前記目的は、ペンによる
座標入力手段と、前記座標入力手段による入力が可能な
領域を分割し、前記座標入力がどの領域に属するかを判
定する領域判定手段と、以前の座標入力に対する前記領
域判定手段による判定結果を保持する領域記憶手段と、
現在の座標入力に対する前記領域判定手段の判定結果と
前記領域記憶手段に保持されている判定結果を比較する
領域比較手段と、ペンによる座標入力が終了したことを
確認する終了確認手段と、前記終了確認手段が座標入力
を終了したと判断する以前に前記領域比較手段により領
域が異なると判断された場合に、前記領域記憶手段に保
持されている領域を現在の座標入力の属する領域とする
手段を具備してなることを特徴とするペン入力制御装置
によって達成される。
The object is to provide coordinate input means by a pen and area determination means for dividing an area in which input by the coordinate input means is possible and determining to which area the coordinate input belongs. An area storage unit for holding a result of the determination made by the area determination unit with respect to the previous coordinate input,
Area comparison means for comparing the judgment result of the area judgment means with respect to the current coordinate input and the judgment result held in the area storage means, end confirmation means for confirming that the coordinate input by the pen is completed, and the end When the area comparing means determines that the areas are different before the confirming means determines that the coordinate input is completed, the area stored in the area storing means is set as the area to which the current coordinate input belongs. It is achieved by a pen input control device characterized by comprising.

【0006】また、前記目的は、一定時間を計時する計
時手段と、前記領域比較手段により領域が異なると判断
された場合に、前記計時手段を起動し、一定時間経過す
るまでの座標入力は、前記領域記憶手段に保持されてい
る領域に属する入力として扱い、一定時間経過後は前記
領域判定手段によって判定された領域に属する入力とし
て扱う手段とを更に具備してなることを特徴とするペン
入力制御装置によっても達成される。
Further, the above-mentioned object is to start the time measuring means when the time measuring means for measuring a fixed time and the area comparing means determine that the areas are different from each other, and to input coordinates until a predetermined time elapses. Pen input, further comprising means for handling as an input belonging to the area held in the area storage means and for handling as an input belonging to the area determined by the area determination means after a lapse of a certain time. It is also achieved by the control device.

【0007】さらに、前記目的は前記領域記憶手段に保
持されている領域と現在の入力座標との距離を求める距
離判定手段と、前記距離測定手段によって判定された距
離が一定の距離を越えているか否かを判定する距離判定
手段と、前記領域比較手段により領域が異なると判断さ
れた場合に、前記距離判定手段が一定の距離内に含まれ
ると判断した場合は、前記領域記憶手段に保持されてい
る領域に属する入力として扱い、一定の距離を越えると
判断した場合は前記領域判定手段によって判定された領
域に属する入力として扱う手段とを更に具備してなるこ
とを特徴とするペン入力制御装置によっても達成され
る。
Further, the purpose is to determine a distance between the area held in the area storage means and the current input coordinate, and whether the distance determined by the distance measuring means exceeds a certain distance. If it is determined by the distance determining means for determining whether or not the area is different from the area comparing means, and if the distance determining means determines that the area is within a certain distance, the area is stored in the area storage means. A pen input control device, further comprising means for treating the input as an input belonging to a certain area and treating it as an input belonging to the area determined by the area determining means when it is determined that the distance exceeds a certain distance. Also achieved by.

【0008】[0008]

【作用】前記構成において、ペン入力がある領域内で行
なわれていて、領域外にはみ出た場合、前記領域比較手
段が今まで入力が行われていた領域から出たことを検出
するが、前記終了確認手段が座標入力を終了したと判断
するまでは元の領域に対する入力として処理するため、
新たに入った領域に対する入力としては処理されない。
In the above structure, when the pen input is performed in a certain area and the pen is pushed out of the area, the area comparison means detects that the pen is out of the area in which the input is made. Until the end confirmation means determines that the coordinate input is completed, it is processed as input to the original area,
It is not processed as input for the newly entered area.

【0009】また、計時手段を備える場合は一定時間内
のはみ出しは、元の領域に対する入力として処理される
が、一定時間を越えてはみ出した場合は、終了確認手段
が座標入力を終了したと判断する前でも新たな領域に対
する入力として取り扱う。
Further, when the time measuring means is provided, the protrusion within a certain period of time is processed as an input to the original area, but when the protrusion exceeds the certain period of time, the end confirming means judges that the coordinate input is completed. Even before it is handled as input to a new area.

【0010】また、距離判定手段を備える場合は一定距
離以内のはみ出しは、元の領域に対する入力として処理
されが、一定距離を越えてはみ出した場合は、終了確認
手段が座標入力を終了したと判断する前でも新たな領域
に対する入力として取り扱う。
Further, when the distance determining means is provided, the protrusion within a certain distance is processed as an input to the original area, but when the distance exceeds the certain distance, the end confirming means determines that the coordinate input is completed. Even before it is handled as input to a new area.

【0011】[0011]

【実施例】以下に、本発明の実施例を、表示素子(液晶
・EL等)とタブレットを一体化した表示一体型タブレ
ットを入力デバイスとし、矩形のウインドウを使用した
場合を例に取って、図を交えて説明する。
EXAMPLES Examples of the present invention will be described below by taking a case where a rectangular window is used as an input device of a display-integrated tablet in which a display element (liquid crystal, EL, etc.) and a tablet are integrated. It will be described with reference to the drawings.

【0012】図1は、本発明によるペン入力制御装置の
構成図の一例で、1は一定時間間隔でペンの入力をサン
プリングし、ペン入力があればその座標を出力するペン
入力部で表示一体型タブレットが相当する。ペン入力部
1には領域判定部2が接続しており、該領域判定部2は
ペン入力部1より与えられた座標が、図示されない領域
設定手段によって設定されたどの矩形領域に属するかを
判定し、その領域に対応する識別子を出力する。3は領
域判定部2で判定された領域識別子を後記する領域決定
部5の制御のもとで保存する領域保存部である。領域判
定部2と領域保存部3とはともに領域比較部4に接続
し、該領域比較部4は領域判定部2の出力の領域識別子
と領域保存部3に保存されている領域識別子を比較し、
一致するか否かを出力する。領域判定部2、領域保存部
3、領域比較部4はそれぞれ領域決定部5に接続し、該
領域決定部5は領域比較部4の結果と後記する終了判定
部6の入力終了判定結果を基に領域を決定し、領域保存
部3への領域の格納を制御する一方で、領域保存部3に
格納されている領域識別子を後記する座標変換部7に出
力する。領域決定部5の動作については後に詳述する。
ペン入力部1には更に終了判定部6、及び座標変換部7
にそれぞれ接続している。終了判定部6はペン入力部1
に入力が行われる度にタイマを再起動すると共に入力中
信号を生成し、タイムアウトした場合に入力終了信号を
生成する。座標変換部7はペン入力部1の出力座標を領
域決定部5で決定された領域内の相対座標に変換し出力
する。
FIG. 1 is an example of a block diagram of a pen input control device according to the present invention. Reference numeral 1 denotes a pen input section for sampling the input of the pen at a constant time interval and outputting the coordinates of the pen input if any. A body tablet is equivalent. A region determination unit 2 is connected to the pen input unit 1, and the region determination unit 2 determines to which rectangular region the coordinates given by the pen input unit 1 belong to a region setting unit (not shown). Then, the identifier corresponding to the area is output. An area storage unit 3 stores the area identifier determined by the area determination unit 2 under the control of the area determination unit 5, which will be described later. The area determination unit 2 and the area storage unit 3 are both connected to the area comparison unit 4, and the area comparison unit 4 compares the area identifier output from the area determination unit 2 with the area identifier stored in the area storage unit 3. ,
Output whether or not they match. The area determination unit 2, the area storage unit 3, and the area comparison unit 4 are each connected to the area determination unit 5, and the area determination unit 5 is based on the result of the area comparison unit 4 and the input end determination result of the end determination unit 6 described later. The area is determined and the storage of the area in the area storage unit 3 is controlled, while the area identifier stored in the area storage unit 3 is output to the coordinate conversion unit 7 described later. The operation of the area determination unit 5 will be described later in detail.
The pen input unit 1 further includes an end determination unit 6 and a coordinate conversion unit 7.
Are connected to each. The end determination unit 6 is the pen input unit 1
The timer is restarted each time an input is made, an input signal is generated, and an input end signal is generated when a time-out occurs. The coordinate conversion unit 7 converts the output coordinates of the pen input unit 1 into relative coordinates within the area determined by the area determination unit 5, and outputs the relative coordinates.

【0013】また、一般に、はみ出す場合は、長い時間
別の領域にとどまることはないので、一定時間内のはみ
出しは、もとの領域に対する入力として処理してもかま
わないという点に着目して、本発明の第2の実施例とし
て、計時部8aを領域比較部4と領域決定部5の間に配
置してある。この場合計時部8aは領域比較部4が領域
が一致しないと判定した場合にタイマを起動し、一定時
間以上一致しない状態が連続した場合、領域決定部5の
領域決定のための情報を与える。一定時間内にもとの領
域に戻った場合、または一定時間以上一致しない状態が
連続していて領域決定部5の領域決定の為の情報を与え
た場合は、その時点でタイマはクリアされる。
Further, in general, in the case of protruding, the area does not stay in each area for a long time, so that the protruding within a certain time may be processed as an input to the original area, As a second embodiment of the present invention, the time measuring unit 8a is arranged between the region comparing unit 4 and the region determining unit 5. In this case, the timer unit 8a activates a timer when the area comparison unit 4 determines that the areas do not match, and gives information for the area determination of the area determination unit 5 when the statuses where the areas do not match for a certain time or more continue. When returning to the original area within a certain period of time, or when the information for determining the area of the area determining unit 5 has been given in the state where the areas do not match for a certain time or more continuously, the timer is cleared at that point. .

【0014】また、一般に、はみ出す場合は、もとの領
域の近傍にとどまるはずなので、一定距離以内のはみ出
しは、元の領域に対する入力として処理してもかまわな
いという点に着目して、本発明の第3の実施例として、
前記した第1の実施例に、ペン入力部1、領域保存部
3、領域比較部4に接続する距離判定部8bを付加して
ある。この場合、距離判定部8bは領域保存部3に保存
されている領域と、ペン入力部1の出力座標の距離を求
め、その距離が一定の距離を越えたかどうか判定し、領
域決定部5の領域決定のための情報を与える。
Further, in general, in the case of protrusion, the protrusion should stay in the vicinity of the original region, so that the protrusion within a certain distance may be processed as an input to the original region. As a third embodiment of
The distance determining section 8b connected to the pen input section 1, the area storing section 3, and the area comparing section 4 is added to the first embodiment. In this case, the distance determination unit 8b determines the distance between the area stored in the area storage unit 3 and the output coordinate of the pen input unit 1, determines whether the distance exceeds a certain distance, and the area determination unit 5 Gives information for area determination.

【0015】次に領域決定部5の動作について、図2の
フローチャートを参照しながら説明する。
Next, the operation of the area determining section 5 will be described with reference to the flowchart of FIG.

【0016】まず、前提条件として、ペン入力部1から
与えられる座標は、領域判定部2に設定されている領域
のいずれか1つに必ず属することが保証されているもの
とし、領域識別子は1からN(Nは領域の数)の値を取
るものとする。
First, as a precondition, it is assumed that the coordinates given from the pen input unit 1 are guaranteed to belong to any one of the regions set in the region determination unit 2, and the region identifier is 1. To N (N is the number of areas).

【0017】初めに第1の実施例、即ち計時部8a及び
距離判定部8bをともに備えない場合を説明する。
First, a description will be given of the first embodiment, that is, a case where neither the time measuring unit 8a nor the distance determining unit 8b is provided.

【0018】まず、ステップ1にて入力終了状態の設定
が行われる。次いでステップS2にて領域保存部3に0
が設定される。この場合、設定される0は何れの領域の
領域識別子でもなく、まだ入力が成されていないことを
表す。
First, in step 1, the input end state is set. Next, in step S2, the area storage unit 3 is set to 0.
Is set. In this case, the set 0 is not the area identifier of any area and represents that no input has been made yet.

【0019】ステップS3にて入力中か否かの判定を行
い、否と判定された場合は、入力中になるまでこのステ
ップを繰り返す。入力中(Yes)と判定されると、ス
テップS4に進み、領域比較部4にて行われる領域判定
部2の領域識別子と領域保存部3の領域識別子との比較
の結果を参照する。領域が一致していない(No)と判
定されていると、ステップS5に進み領域保存部3に保
存されている値が0か否かを判定する。ステップS5は
入力が初期設定後または前回の入力終了後の最初の入力
か否かを判断するためのもので、ここで0(Yes)と
判定されると領域判定部2からの領域識別子を領域保存
部3に設定し、次いでステップS7にて領域保存部3に
保存されている領域識別子を出力する。ステップS4に
て領域比較部4が領域判定部2からの領域識別子と領域
保存部3の領域識別子との比較の結果、領域が一致して
いる(Yes)と判定した場合はステップS5、S6を
実行することなく直接ステップS7に進み領域保存部3
に保存されている領域識別子を出力する。また同様にス
テップS5にて領域保存部3に保存されている値が0で
ない(No)と判定された場合も、ステップS6を実行
することなく直接ステップS7に進み領域保存部3に保
存されている領域識別子を出力する。ステップS7にて
領域識別子を出力した後はステップS8に進み終了判定
部6にて入力が終了していると判定しているか否かを参
照する。ここで終了判定部6が入力がまだ終了していな
い(No)と判定していればステップS4に戻り以降の
ステップを繰り返し、また終了判定部6が入力は終了し
ている(Yes)と判定した場合はステップS2に戻り
以降のステップを繰り返す。
In step S3, it is determined whether or not input is in progress. If it is determined that the input is not in progress, this step is repeated until the input is in progress. When it is determined that the input is in progress (Yes), the process proceeds to step S4, and the result of the comparison between the region identifier of the region determination unit 2 and the region identifier of the region storage unit 3 performed by the region comparison unit 4 is referred to. If it is determined that the areas do not match (No), the process proceeds to step S5, and it is determined whether the value stored in the area storage unit 3 is 0 or not. Step S5 is for determining whether or not the input is the first input after the initial setting or the end of the previous input, and when it is determined to be 0 (Yes), the region identifier from the region determination unit 2 is set to the region. The area identifier stored in the area storage unit 3 is output in step S7. When the area comparison unit 4 determines in step S4 that the areas match from the area identifier from the area determination unit 2 and the area identifier of the area storage unit 3 (Yes), steps S5 and S6 are performed. The process proceeds directly to step S7 without execution and the area storage unit 3
The area identifier stored in is output. Similarly, when it is determined in step S5 that the value stored in the area storage unit 3 is not 0 (No), the process directly proceeds to step S7 without executing step S6 and is stored in the area storage unit 3. Output the area identifier. After the area identifier is output in step S7, the process proceeds to step S8, and it is referred to whether the end determination unit 6 determines that the input is completed. If the end determination unit 6 determines that the input is not yet finished (No), the process returns to step S4 and repeats the subsequent steps, and the end determination unit 6 determines that the input is finished (Yes). If so, the process returns to step S2 and the subsequent steps are repeated.

【0020】第2の実施例として計時部8aを有する場
合または第3の実施例として距離判定部8bを有する場
合は、前述のステップS5にて領域保存部3に保存され
ている値が0でないと判定された場合に、ステップS7
に直接進まずにステップS9にて計時部8aがまだ起動
されていない場合はこれを起動し、既に起動されている
場合は、起動後一定時間内かを判定し、または距離判定
部8bによる、領域保存部3に保存されている領域とペ
ン入力部1の出力座標との距離が一定の距離を越えたか
どうかの判定を参照し、一定時間内でない(No)と判
定するか、または距離判定部8bが一定距離内でない
(No)と判定している場合は、ステップS6に進み、
領域判定部2からの領域識別子を領域保存部3に設定
し、次いでステップS7にて領域保存部3に保存されて
いる領域識別子を出力する。これにより入力終了前でも
新たな領域に切り替えることが出来る。ステップS9に
て一定距離内(Yes)または一定時間内(Yes)と
判定された場合は、ステップS6を行うことなく、ステ
ップS7に進み、領域保存部3に保存されている領域識
別子を出力する。
When the timer 8a is provided as the second embodiment or the distance determination unit 8b is provided as the third embodiment, the value stored in the area storage 3 in step S5 is not 0. If it is determined that step S7
In step S9, if the timer 8a has not been activated yet, the timer 8a is activated. If it has already been activated, it is determined whether it is within a certain time after activation, or the distance determination unit 8b Refer to the determination whether the distance between the area stored in the area storage unit 3 and the output coordinate of the pen input unit 1 exceeds a certain distance, and determine that it is not within a certain time (No), or determine the distance. If it is determined that the portion 8b is not within the constant distance (No), the process proceeds to step S6,
The area identifier from the area determination unit 2 is set in the area storage unit 3, and then the area identifier stored in the area storage unit 3 is output in step S7. As a result, it is possible to switch to a new area even before the end of input. If it is determined in step S9 that the distance is within the fixed distance (Yes) or within the fixed time (Yes), the process proceeds to step S7 without performing step S6, and the area identifier stored in the area storage unit 3 is output. .

【0021】上記したフローチャートを図3に示すよう
なディスプレイ画面にペンにより線分等を描く場合を例
に具体的に説明する。
The above flow chart will be specifically described by taking a case where a line segment or the like is drawn with a pen on a display screen as shown in FIG.

【0022】ディスプレイ画面は図に示すように周辺の
領域00、領域01、領域02、領域03と、中心部の描画領域
10と、描画領域10に隣接する領域20、領域30、領域40と
からなり、各領域には種々の機能が付与されている。中
心部の描画領域10は仮想画面に対してウインドウとして
機能しており、仮想画面上でウインドウによって切り出
された領域が対応している。描画領域10内のペン入力位
置は仮想画面上での相対座標値に対応しており、描画領
域10内でたとえば線分等をペン入力する事により、仮想
画面上に線分等を描くことが出来る。
As shown in the figure, the display screen has a peripheral area 00, an area 01, an area 02 and an area 03, and a drawing area at the center.
10 and an area 20, an area 30, and an area 40 adjacent to the drawing area 10, and various functions are given to each area. The drawing area 10 at the center functions as a window with respect to the virtual screen, and the area cut out by the window on the virtual screen corresponds. The pen input position in the drawing area 10 corresponds to the relative coordinate value on the virtual screen, and for example, by pen-inputting a line segment or the like in the drawing area 10, a line segment or the like can be drawn on the virtual screen. I can.

【0023】各領域には1から8までの領域識別子が付
与されており、領域00には1が、領域01には2が、領域
02には3が、領域03には4が、領域10には5が、領域20
には6が、領域30には7が、領域40には8がそれぞれ付
与されている。
A region identifier from 1 to 8 is assigned to each region, 1 for region 00, 2 for region 01, and
3 for 02, 4 for region 03, 5 for region 10, region 20
6 is assigned to the area, 7 is assigned to the area 30, and 8 is assigned to the area 40.

【0024】初期設定として、終了判定部6のタイマを
停止し、入力終了信号を生成している状態にする(S
1)。また、“保存領域なし”を表すために、領域保存
部3に0を設定する(S2)。
As an initial setting, the timer of the end judging section 6 is stopped so that the input end signal is generated (S
1). In addition, 0 is set in the area storage unit 3 to indicate "no storage area" (S2).

【0025】初期設定が終了すると、入力が行われるの
を待ち(S3)、入力が行われたならば、領域判定部2
と領域保存部3の出力を比較する(S4)。ここで、領
域保存部3にはステップS2で0がセットされており、
領域判定部2の出力は1から8であるので、必ず異なり
ステップS5へ進む、そして、前記のように領域保存部
3には0がセットされているので、ステップS6へ進
み、この時の領域判定部2の出力(例えば領域10内で入
力がなされているとして5)を保存する。そして、ステ
ップS7で、領域保存部3の出力を決定した領域とし、
出力する(この例では5)。終了判定部6が、入力が終
了したと判定する(S8)まではステップS4からS8
をくりかえすことになるが、領域判定部2の出力が変化
しない限り、即ちこの例ではペン入力が領域10内で行わ
れている限りはステップS4をYesで抜け、ステップ
S7で領域保存部3の出力をそのまま出力する。領域保
存部3の出力はこのループの中で変化しないので、ペン
入力が開始されたときの領域がそのまま使われることに
なり、正しく動作することが判る。
When the initial setting is completed, the system waits for an input (S3), and if the input is made, the area determination unit 2
And the output of the area storage unit 3 are compared (S4). Here, 0 is set in the area storage unit 3 in step S2,
Since the output of the area determination unit 2 is from 1 to 8, the processing always goes to step S5, which is different, and since 0 is set in the area storage unit 3 as described above, the processing proceeds to step S6 and the area at this time is set. The output of the determination unit 2 (for example, 5 when an input is made in the area 10) is saved. Then, in step S7, the output of the area storage unit 3 is set to the determined area,
Output (5 in this example). Until the end determination unit 6 determines that the input is completed (S8), steps S4 to S8 are performed.
As long as the output of the area determination unit 2 does not change, that is, as long as the pen input is performed in the area 10 in this example, the step S4 is Yes and the step S7 is performed to save the area storage unit 3. The output is output as is. Since the output of the area storage unit 3 does not change in this loop, the area at the time when the pen input is started is used as it is, and it can be seen that it operates correctly.

【0026】次に、ペン入力が終了するまでに領域が変
化した場合、例えば領域10から領域20に変化した場合を
考える。この場合は、領域判定部2からの出力は6、領
域保存部3の出力は5なのでステップS4で領域が不一
致になりステップS5へ進む、ステップS4からS8の
ループ内で領域保存部3の出力を0にすることはないの
で、ステップS5をNoで抜ける。このパスを通った場
合も領域保存部3の値を変化させることはないので、ペ
ン入力が開始された時に設定された領域保存部3の値、
この例では5が領域決定部5の出力となる。したがっ
て、ペン入力が終了するまでの間は、領域決定部5の出
力は、ペン入力を開始した時の領域の領域識別子の値5
を保つことになる。
Next, consider a case where the area changes before pen input is completed, for example, the area 10 changes to the area 20. In this case, since the output from the area determination unit 2 is 6 and the output from the area storage unit 3 is 5, the areas do not match in step S4 and the process proceeds to step S5. The output of the area storage unit 3 in the loop of steps S4 to S8 Since 0 is never set to 0, the process exits from step S5 with No. Since the value of the area storage unit 3 is not changed even when passing through this path, the value of the area storage unit 3 set when the pen input is started,
In this example, 5 is the output of the area determination unit 5. Therefore, until the pen input is completed, the output of the area determination unit 5 is the area identifier value 5 of the area when the pen input is started.
Will be kept.

【0027】一旦、ペン入力が終了すると、ステップS
4からS8のループを抜け、ステップS2に戻り、領域
保存部3の出力が0クリアされる。
Once pen input is completed, step S
After exiting the loop from S4 to S8, the process returns to step S2, and the output of the area storage unit 3 is cleared to 0.

【0028】再度ペン入力を開始した場合は、必ずステ
ップS6を1回通過する。したがって、領域決定部5の
出力は、ペンが下ろされてから上げられるまでの間、最
初にペンを下ろした領域の識別子の値を常に保持するこ
とになる。
When the pen input is started again, the step S6 is always passed once. Therefore, the output of the area determination unit 5 always holds the value of the identifier of the area in which the pen is first lowered from the time the pen is lowered to the time it is raised.

【0029】また、計時部8aもしくは距離判定部8b
を動作させる場合は、ステップS5でNoの場合、すな
わちある領域に下ろされたペンが別の領域に入ったと判
定された場合ステップS9に進み、計時部8aで一定時
間内もしくは距離判定部8bで一定距離内の判定された
場合は、計時部8aや距離判定部8bを動作させない場
合と全く同じにステップS7に進む。計時部8aで一定
時間を越えた、もしくは距離判定部8bで一定距離を越
えたと判定された場合は、ステップS6に進み、この時
の領域判定部2の出力を領域保存部3の値とする。つま
り、領域を完全にはずれてしまったと判断された場合
は、ペン入力が終了していなくても、そこから新たな入
力が始まったと考えて処理されることになる。
Further, the timer unit 8a or the distance judging unit 8b
In the case of No in step S5, that is, when it is determined that the pen lowered in one area has entered another area, the process proceeds to step S9, in which the time measuring unit 8a detects the time within a fixed time or the distance determining unit 8b. If it is determined that the distance is within the fixed distance, the process proceeds to step S7 in exactly the same manner as when the timer 8a or the distance determiner 8b is not operated. When the timer 8a determines that the time exceeds the fixed time or when the distance determiner 8b determines that the time exceeds the constant distance, the process proceeds to step S6, and the output of the region determiner 2 at this time is set as the value of the region saver 3. . In other words, if it is determined that the area has been completely shifted, even if the pen input has not ended, it is considered that a new input has started from that point and the processing is performed.

【0030】[0030]

【発明の効果】本発明によるペン入力制御装置を用いる
ことによって、領域の境界付近での入力に関する誤動作
が低減できる。
EFFECTS OF THE INVENTION By using the pen input control device according to the present invention, it is possible to reduce erroneous operation related to input near the boundary between regions.

【0031】また、お絵描きソフトのように大きなカン
バスの一部をウインドウで切り出している場合は、ペン
入力がウインドウから少し飛び出しても、同じウインド
ウに対する処理として扱えるので、ウインドウのエッジ
で描画が切れてしまうことはなく、カンバス上では連続
した描画として扱うことが可能になる。
When a part of a large canvas is cut out in a window like drawing software, even if the pen input jumps out of the window a little, it can be processed as the same window, so the drawing is cut off at the edge of the window. It will not be lost and can be treated as continuous drawing on the canvas.

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

【図1】本発明によるペン入力制御装置の1実施例の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a pen input control device according to the present invention.

【図2】図1のペン入力装置の動作を説明するためのフ
ローチャートである。
FIG. 2 is a flow chart for explaining the operation of the pen input device of FIG.

【図3】本発明の1実施例のディスプレイと領域および
仮想画面の関係を示す図である。
FIG. 3 is a diagram showing a relationship among a display, an area, and a virtual screen according to an embodiment of the present invention.

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

1 ペン入力部 2 領域判定部 3 領域保存部 4 領域比較部 5 領域決定部 6 終了判定部 7 座標変換部 8a 計時部 8b 距離判定部 DESCRIPTION OF SYMBOLS 1 Pen input section 2 Area determination section 3 Area storage section 4 Area comparison section 5 Area determination section 6 End determination section 7 Coordinate conversion section 8a Timing section 8b Distance determination section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ペンによる座標入力手段と、前記座標入
力手段による入力が可能な領域を分割し、前記座標入力
がどの領域に属するかを判定する領域判定手段と、以前
の座標入力に対する前記領域判定手段による判定結果を
保持する領域記憶手段と、現在の座標入力に対する前記
領域判定手段の判定結果と前記領域記憶手段に保持され
ている判定結果を比較する領域比較手段と、ペンによる
座標入力が終了したことを確認する終了確認手段と、前
記終了確認手段が座標入力を終了したと判断する以前に
前記領域比較手段により領域が異なると判断された場合
に、前記領域記憶手段に保持されている領域を現在の座
標入力の属する領域とする手段とを具備してなることを
特徴とするペン入力制御装置。
1. A coordinate input unit using a pen, a region determination unit that divides a region in which the coordinate input unit can input and determines which region the coordinate input belongs to, and the region for a previous coordinate input. Area storage means for holding the determination result by the determination means, area comparison means for comparing the determination result of the area determination means for the current coordinate input with the determination result held in the area storage means, and coordinate input by the pen It is held in the area storage means when the area confirmation means confirms the completion and when the area comparison means determines that the areas are different before the completion confirmation means determines that the coordinate input is completed. A pen input control device comprising means for setting a region as a region to which a current coordinate input belongs.
【請求項2】 前記請求項1のペン入力制御装置で、一
定時間を計時する計時手段と、前記領域比較手段により
領域が異なると判断された場合に、前記計時手段を起動
し、一定時間経過するまでの座標入力は、前記領域記憶
手段に保持されている領域に属する入力として扱い、一
定時間経過後は前記領域判定手段によって判定された領
域に属する入力として扱う手段とを具備してなることを
特徴とするペン入力制御装置。
2. The pen input control device according to claim 1, wherein when the time measuring means for measuring a fixed time and the area comparing means determine that the areas are different from each other, the time measuring means is activated and a predetermined time elapses. The coordinate input up to that point is handled as an input belonging to the area held in the area storage means, and is treated as an input belonging to the area determined by the area determination means after a predetermined time has elapsed. A pen input control device characterized by:
【請求項3】 前記請求項1のペン入力制御装置で、前
記領域記憶手段に保持されている領域と現在の入力座標
との距離を求める距離判定手段と、前記距離測定手段に
よって測定された距離が一定の距離を越えているか否か
を判定する距離判定手段と、前記領域比較手段により領
域が異なると判断された場合に、前記距離判定手段が一
定の距離内に含まれると判断した場合は、前記領域記憶
手段に保持されている領域に属する入力として扱い、一
定の距離を越えると判断した場合は前記領域判定手段に
よって判定された領域に属する入力として扱う手段とを
具備してなることを特徴とするペン入力制御装置。
3. The pen input control device according to claim 1, wherein the distance determination means for determining the distance between the area held in the area storage means and the current input coordinates, and the distance measured by the distance measurement means. Is determined to be within a certain distance, when the distance determining means for determining whether or not exceeds a certain distance and the area comparing means determines that the areas are different from each other, A means for handling as an input belonging to the area held in the area storage means, and for handling as an input belonging to the area determined by the area determination means when it is determined that a certain distance is exceeded. Characteristic pen input control device.
JP21017792A 1992-08-06 1992-08-06 Device for controlling pen input Pending JPH0659802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21017792A JPH0659802A (en) 1992-08-06 1992-08-06 Device for controlling pen input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21017792A JPH0659802A (en) 1992-08-06 1992-08-06 Device for controlling pen input

Publications (1)

Publication Number Publication Date
JPH0659802A true JPH0659802A (en) 1994-03-04

Family

ID=16585057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21017792A Pending JPH0659802A (en) 1992-08-06 1992-08-06 Device for controlling pen input

Country Status (1)

Country Link
JP (1) JPH0659802A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005107900A (en) * 2003-09-30 2005-04-21 Dainippon Printing Co Ltd Identification system, program, and slip for electronic pen
US7397465B2 (en) 2003-06-20 2008-07-08 Canon Kabushiki Kaisha Coordinate input control method
WO2013061499A1 (en) * 2011-10-27 2013-05-02 京セラ株式会社 Input device and control method for input device
JP2017500627A (en) * 2013-11-07 2017-01-05 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Touch control response method and apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7397465B2 (en) 2003-06-20 2008-07-08 Canon Kabushiki Kaisha Coordinate input control method
JP2005107900A (en) * 2003-09-30 2005-04-21 Dainippon Printing Co Ltd Identification system, program, and slip for electronic pen
WO2013061499A1 (en) * 2011-10-27 2013-05-02 京セラ株式会社 Input device and control method for input device
JP5519020B2 (en) * 2011-10-27 2014-06-11 京セラ株式会社 Input device and control method of input device
US9798410B2 (en) 2011-10-27 2017-10-24 Kyocera Corporation Input device and method for controlling input device
US10795492B2 (en) 2011-10-27 2020-10-06 Kyocera Corporation Input device and method for controlling input device
JP2017500627A (en) * 2013-11-07 2017-01-05 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Touch control response method and apparatus

Similar Documents

Publication Publication Date Title
KR101366723B1 (en) Method and system for inputting multi-touch characters
JPH0816313A (en) Method and device for handwriting input
JPH1078850A (en) Device for inputting coordinate and method for controlling the same
JPH11203044A (en) Information processing system
KR19990015738A (en) Handheld Computer with Touchpad Input Control
US20150277748A1 (en) Edit providing method according to multi-touch-based text block setting
JPH05216648A (en) Graphical user interface and method for recognizing gesture
JPH09319502A (en) Information equipment provided with display integrated type coordinate input device
WO2017185459A1 (en) Method and apparatus for moving icons
CN107229408B (en) Terminal, input control method thereof, and computer-readable storage medium
JPH01226020A (en) Touch screen controller and control panel apparatus
CN111580905A (en) Negative one-screen card management method, terminal and computer readable storage medium
US20040001051A1 (en) Information processing apparatus and character input assisting method for use in the same
JPH06289984A (en) Document preparing editing device
JPH0659802A (en) Device for controlling pen input
JP2000284912A (en) Touch panel input computer
JPH11175212A (en) Touch operation processing method for touch panel device
JPH07104965A (en) Message notifying method
JP2003140791A (en) Information processor and method for controlling information processor
KR101661890B1 (en) Method for providing user interface of mobile terminal
JPH06342336A (en) Information processor
JPH09282134A (en) Computer system
US10955962B2 (en) Electronic device and control method thereof that switches a touch panel between an independent mode and a dual input mode
KR101777565B1 (en) Method for providing user interface of mobile terminal
JP4038870B2 (en) Pen input computer