JP2014021954A - Touch panel input device and program - Google Patents
Touch panel input device and program Download PDFInfo
- Publication number
- JP2014021954A JP2014021954A JP2012163476A JP2012163476A JP2014021954A JP 2014021954 A JP2014021954 A JP 2014021954A JP 2012163476 A JP2012163476 A JP 2012163476A JP 2012163476 A JP2012163476 A JP 2012163476A JP 2014021954 A JP2014021954 A JP 2014021954A
- Authority
- JP
- Japan
- Prior art keywords
- touch panel
- distance
- touch
- contact surface
- edge
- 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
Links
Images
Abstract
Description
本発明は、パーソナルコンピュータ等の種々の情報端末装置に備えられたタッチパネル入力装置およびその制御プログラムに関する。 The present invention relates to a touch panel input device provided in various information terminal devices such as a personal computer and a control program thereof.
近年、ハンドヘルド型のパーソナルコンピュータ、電子辞書装置、携帯電話等の情報端末装置では、その表示画面がタッチパネルとして機能するものが主流となっており、表示された内容に応じてユーザが指でタッチして操作することで、所望の入力処理を行うことができる。 In recent years, in information terminal devices such as handheld personal computers, electronic dictionary devices, and mobile phones, the display screen functions as a touch panel, and the user touches the displayed content with a finger. To perform a desired input process.
このタッチパネルをタッチした際にユーザ指示位置として検出されるタッチ位置(XY座標)は、タッチされた指との接触面積の中心点とするのが一般的である。 In general, the touch position (XY coordinates) detected as the user-designated position when the touch panel is touched is the center point of the contact area with the touched finger.
静電容量型のタッチ位置検出機能を備えた座標入力装置が考えられている(例えば、特許文献1参照。)。 A coordinate input device having an electrostatic capacitance type touch position detection function is considered (for example, see Patent Document 1).
タッチパネル付き表示部を備えた電子機器において、当該機器の構造上、表示画面とその表示画面を囲むフレームとの間に段差がある場合、ユーザが表示画面の隅をタッチしたつもりでも、そのタッチ位置がうまく検出できないことがある。 In an electronic device having a display unit with a touch panel, if there is a step between the display screen and a frame surrounding the display screen due to the structure of the device, even if the user intends to touch the corner of the display screen, the touch position May not be detected well.
本発明は、このような課題に鑑みなされたもので、表示画面とその表示画面を囲むフレームとの間に段差があるような場合でも、表示画面の隅に対するタッチ指定を適切に実行することが可能になるタッチパネル入力装置およびその制御プログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and even when there is a step between a display screen and a frame surrounding the display screen, it is possible to appropriately execute touch designation for a corner of the display screen. An object of the present invention is to provide a touch panel input device and a control program for the touch panel input device.
本発明に係るタッチパネル入力装置は、タッチパネルと、このタッチパネルが接触された部分を検出するタッチ部分検出手段と、このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段と、を備えたことを特徴としている。 The touch panel input device according to the present invention includes a touch panel, a touch part detection unit that detects a part touched by the touch panel, and the center of the contact part detected by the touch part detection unit that is closest to the edge of the touch panel. Input position determination for determining an input position of the touch panel based on a first distance to the outer edge of the touch part and a second distance from the outer edge of the touch part closest to the edge of the touch panel to the edge of the touch panel Means.
本発明に係るプログラムは、タッチパネルを備えた電子機器のコンピュータを制御するためのプログラムであって、前記コンピュータを、前記タッチパネルが接触された部分を検出するタッチ部分検出手段、このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段として機能させることを特徴としている。 A program according to the present invention is a program for controlling a computer of an electronic device provided with a touch panel, and the computer detects a portion where the touch panel is touched by the touch portion detection means, and the touch portion detection means. A first distance from the center of the detected contact portion to the outer edge of the contact portion closest to the edge of the touch panel, and a second distance from the outer edge of the contact portion closest to the edge of the touch panel to the edge of the touch panel Based on the above, it is characterized by functioning as an input position determining means for determining the input position of the touch panel.
本発明によれば、表示画面とその表示画面を囲むフレームとの間に段差があるような場合で、画面エッジに近い部分がタッチ指定し難いときであっても、表示画面の隅に対するタッチ指定を適切に実行することが可能になる。 According to the present invention, even when there is a step between the display screen and the frame surrounding the display screen, even when it is difficult to specify a touch near the edge of the screen, the touch specification for the corner of the display screen is performed. Can be properly executed.
以下図面により本発明の実施の形態について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の実施形態に係るタッチパネル入力装置を搭載した携帯情報端末装置10の外観構成を示す斜視図である。
FIG. 1 is a perspective view showing an external configuration of a portable
この携帯情報端末装置10は、以下に説明するタッチパネル式のPC(handheld personal computer)として構成されるか、電子辞書、携帯電話、電子ブック、携帯ゲーム機等として構成される。
The portable
この携帯情報端末装置10は、その本体ケース11と蓋体ケース12とがヒンジ部13を介して展開/閉塞可能な折り畳み型ケースを備えて構成される。この折り畳み型ケースを展開した本体ケース11の表面には、文字/記号入力キーなどを備えたキー入力部14が備えられる。
The portable
また蓋体ケース12の表面には、そのほぼ全面を対象に表示部フレーム15Fに嵌められたタッチパネル付き表示部15が設けられる。
Further, on the surface of the
このタッチパネル付き表示部15は、ユーザが指等でタッチした位置を検出するタッチ位置検出装置と表示装置が一体となった構造であり、バックライト付きカラー液晶表示画面15dに透明タッチパネル15tを重ねて構成される。本実施形態においては、透明タッチパネル15tは静電容量式とし、X方向に延在する複数列の第1の透光性電極パターンと、Y方向に延在する複数列の第2の透光性電極パターンとが交差するように形成し、指が接触した位置が分かるものとする。
This
ここで、本実施形態の表示部15の表示画面の高さに対し表示部フレーム15Fは高いので、表示画面のエッジには段差が存在する。
Here, since the
そして、この携帯情報端末装置10は、タッチパネル付き表示部15の通常の画面領域におけるタッチ操作に伴うタッチ位置を高精度に検出するのは勿論、表示部フレーム15Fに近い表示画面の隅近傍にてタッチ操作が検出された場合でも、ユーザが意図するタッチ位置を適切に検出するためのタッチ位置検出機能を有する。
And this portable
図2は、前記携帯情報端末装置10の電子回路の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an electronic circuit of the portable
この携帯情報端末装置10は、各種の記録媒体に記録されたプログラムを読み込んで、その読み込んだプログラムによって動作が制御されるコンピュータによって構成され、その電子回路には、CPU(central processing unit)21が備えられる。
The portable
CPU21は、記憶装置22内に予め記憶された装置制御プログラム、あるいはROMカードなどの外部記録媒体23から記録媒体読み取り部24を介して前記記憶装置22に読み込まれた装置制御プログラム、あるいはインターネットN上のWebサーバ(この場合はプログラムサーバ)30から通信部25を介して前記記憶装置22に読み込まれた装置制御プログラムに応じて、RAM26を作業用メモリとして回路各部の動作を制御する。
The
前記記憶装置22に記憶された装置制御プログラムは、キー入力部14、タッチパネル付き表示部15からのユーザ操作に応じた入力信号、あるいは通信部25を介して接続されるインターネットN上の各Webサーバ30…との通信信号に応じて起動される。
The device control program stored in the
このように、前記CPU21には、前記記憶装置22、記録媒体読み取り部24、通信部25、RAM26、キー入力部14、タッチパネル付き表示部15が接続される。
In this way, the
そして、前記記憶装置22には、装置制御プログラムとして、当該携帯情報端末装置10の全体の動作を司るシステムプログラム、通信部25を介してインターネットN上の各Webサーバ30…や図示しない他の端末装置などとデータ通信するための通信プログラム等が記憶される。また、前記装置制御プログラムとして、タッチパネル付き表示部15における全ての表示画面領域でのタッチ位置を適切に検出するためのタッチ位置検出プログラム22aが記憶される。
In the
前記RAM26には、接触面(Ts)メモリ26a、接触面中心位置(Cx,Cy)メモリ26b、接触面端距離(rx,ry)メモリ26c、接触面−エッジ間距離(dx,dy)メモリ26d、タッチ位置(X,Y)メモリ26eなどが確保される。
The
接触面(Ts)メモリ26aには、タッチパネル付き表示部15に対するタッチ操作が検出された際に、当該タッチ操作に伴う指の接触面データ(タッチパネル15tにより接触が検出された全座標データ:図4参照)Tsあるいは接触面積Sが計算されて記憶される。
In the contact surface (Ts)
接触面中心位置(Cx,Cy)メモリ26bには、前記接触面データTs(又は接触面積S)の中心(重心)位置(Cx,Cy)が計算されて記憶される。
The center (center of gravity) position (Cx, Cy) of the contact surface data Ts (or contact area S) is calculated and stored in the contact surface center position (Cx, Cy)
接触面端距離(rx,ry)メモリ26cには、前記接触面データTsにおける前記中心(重心)位置(Cx,Cy)からの表示画面のエッジ(表示部フレーム15F)が近い方のX方向の端までの距離rxとY方向の端までの距離ryとが計算されて記憶される。以下、rxとryを接触面端距離と称する。
In the contact surface end distance (rx, ry)
接触面−エッジ間距離(dx,dy)メモリ26dには、前記接触面データTsにおける表示画面のエッジが近い方のX方向の接触面−エッジ間距離dxとY方向の接触面−エッジ間距離dyとが計算されて記憶される。 In the contact surface-to-edge distance (dx, dy) memory 26d, the contact surface-to-edge distance dx in the X direction and the contact surface-to-edge distance in the Y direction closer to the edge of the display screen in the contact surface data Ts. dy is calculated and stored.
タッチ位置(X,Y)メモリ26eには、前記接触面中心位置(Cx,Cy)と前記接触面端距離(rx,ry)と前記接触面−エッジ間距離(dx,dy)とに基づき、ユーザ所望の指定位置として判断・計算されたタッチ位置(X,Y)が記憶される。
The touch position (X, Y)
このように構成された携帯情報端末装置10は、CPU21が前記装置制御プログラム(タッチ位置検出プログラム22a含む)に記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べるタッチ位置検出機能を実現する。
In the portable
次に、前記構成のタッチパネル入力装置を搭載した携帯情報端末装置10の動作について説明する。
Next, the operation of the portable
図3は、前記携帯情報端末装置10のタッチ位置検出処理を示すフローチャートである。
FIG. 3 is a flowchart showing a touch position detection process of the portable
図4は、前記携帯情報端末装置10のタッチ位置検出処理に伴い接触面端距離(rx,ry)よりも接触面−エッジ間距離(dx,dy)が長い場合の接触面中心位置(Cx,Cy)とタッチ位置(X,Y)との関係を示す図である。
FIG. 4 shows the contact surface center position (Cx, dy) when the contact surface-edge distance (dx, dy) is longer than the contact surface edge distance (rx, ry) due to the touch position detection processing of the portable
図5は、前記携帯情報端末装置10のタッチ位置検出処理に伴い接触面端距離(rx)に対し接触面−エッジ間距離(dx)が等しいか又は短い場合の接触面中心位置(Cx,Cy)とタッチ位置(X,Y)との関係を示す図であり、同図(A)は接触面−エッジ間距離(dx)が等しい場合を示す図、同図(B)は接触面−エッジ間距離(dx)が短い場合を示す図である。 FIG. 5 illustrates the contact surface center position (Cx, Cy) when the contact surface-edge distance (dx) is equal to or shorter than the contact surface end distance (rx) in accordance with the touch position detection processing of the portable information terminal device 10. ) And the touch position (X, Y). FIG. 11A shows a case where the contact surface-edge distance (dx) is the same, and FIG. It is a figure which shows the case where a distance (dx) is short.
タッチパネル付き表示部15におけるタッチパネル15tからの出力信号に基づき、ユーザ操作に応じてタッチパネル15tがタッチされたと判断されると(ステップS1(Yes))、例えば図4あるいは図5(A)又は(B)に示すように、タッチされたユーザの指との接触面データTsが特定され接触面メモリ26aに記憶される(ステップS2)。
If it is determined that the
すると、前記接触面データTsに基づきその中心位置(Cx,Cy)が算出され、接触面中心位置メモリ26bに記憶される(ステップS3)。この中心位置は、接触面データTsとして記憶された全座標で定まる形状の重心を算出することで決定する。
Then, the center position (Cx, Cy) is calculated based on the contact surface data Ts and stored in the contact surface
また、前記指の接触面(Ts)からX方向に近い方の表示画面のエッジ(“右”又は“左”)とY方向に近い方の表示画面のエッジ(“上”または“下”)が特定される(ステップS4)。図4および図5(A)(B)で示す具体例では、X方向は“右”、Y方向は“上”として特定される。 Also, the edge of the display screen closer to the X direction (“right” or “left”) and the edge of the display screen closer to the Y direction (“up” or “lower”) from the contact surface (Ts) of the finger. Is identified (step S4). In the specific examples shown in FIGS. 4 and 5A and 5B, the X direction is specified as “right” and the Y direction is specified as “up”.
すると、前記接触面(Ts)における中心位置(Cx,Cy)から前記特定された画面エッジ方向へのX方向の接触面端距離rxとY方向の接触面端距離ryとが計算され、接触面端距離メモリ26cに記憶される(ステップS5)。
Then, the contact surface end distance rx in the X direction and the contact surface end distance ry in the Y direction from the center position (Cx, Cy) on the contact surface (Ts) to the specified screen edge direction are calculated, and the contact surface It is stored in the
さらに、前記接触面(Ts)の端部から前記特定された画面エッジ方向へのX方向の接触面−エッジ間距離dxとY方向の接触面−エッジ間距離dyとが計算され、接触面−エッジ間距離メモリ26dに記憶される(ステップS6)。 Further, the X-direction contact surface-edge distance dx and the Y-direction contact surface-edge distance dy from the end of the contact surface (Ts) to the specified screen edge direction are calculated, and the contact surface- It is stored in the edge distance memory 26d (step S6).
ここで、先ずX方向の接触面端距離rxと接触面−エッジ間距離dxと大きさが比較判断され(ステップS7、S9)、図4又は図5(A)に示すように、接触面−エッジ間距離dxが接触面端距離rx以上の長さであると判断された場合には(ステップS7(Yes))、X方向は接触面(Ts)の中心位置Cxがタッチ位置Xに決定されタッチ位置メモリ26eに記憶される(ステップS8)。
Here, first, the contact surface end distance rx in the X direction and the contact surface-edge distance dx are compared and determined (steps S7 and S9), and as shown in FIG. 4 or FIG. When it is determined that the edge distance dx is longer than the contact surface edge distance rx (step S7 (Yes)), the center position Cx of the contact surface (Ts) is determined as the touch position X in the X direction. It is stored in the
一方、図5(B)に示すように、接触面−エッジ間距離dxが接触面端距離rxより短いと判断された場合には(ステップS9(Yes))、X方向は、エッジから前記接触面−エッジ間距離dxを2倍に延長した2dxの位置がタッチ位置Xに決定されタッチ位置メモリ26eに記憶される(ステップS10)。
On the other hand, as shown in FIG. 5B, when it is determined that the contact surface-to-edge distance dx is shorter than the contact surface end distance rx (step S9 (Yes)), the X direction is changed from the edge to the contact. A position 2dx obtained by doubling the surface-to-edge distance dx is determined as the touch position X and stored in the
また同様に、Y方向の接触面端距離ryと接触面−エッジ間距離dyとについて、図4又は図5(A)(B)に示すように、接触面−エッジ間距離dyが接触面端距離ry以上離れていると判断された場合には(ステップS11(Yes))、Y方向は接触面(Ts)の中心位置Cyがタッチ位置Yに決定されタッチ位置メモリ26eに記憶される(ステップS12)。
Similarly, with respect to the contact surface end distance ry and the contact surface-edge distance dy in the Y direction, as shown in FIG. 4 or FIG. If it is determined that the distance ry is greater than or equal to the distance ry (step S11 (Yes)), in the Y direction, the center position Cy of the contact surface (Ts) is determined as the touch position Y and stored in the
一方、接触面−エッジ間距離dyが接触面端距離ryより短いと判断された場合には(ステップS13(Yes))、Y方向は、エッジから前記接触面−エッジ間距離dyを2倍に延長した2dyの位置がタッチ位置Yに決定されタッチ位置メモリ26eに記憶される(ステップS14)。
On the other hand, when it is determined that the contact surface-edge distance dy is shorter than the contact surface end distance ry (step S13 (Yes)), the Y direction doubles the contact surface-edge distance dy from the edge. The extended 2dy position is determined as the touch position Y and stored in the
これにより、前記タッチ位置メモリ26eに記憶されたタッチ位置(X,Y)がユーザの指定位置として処理される(ステップS15)。
As a result, the touch position (X, Y) stored in the
ここで、前記タッチパネル15tからの出力信号の有無に基づき、タッチパネル15tへのタッチ操作が離れたか否かが判断され(ステップS16)、未だタッチ操作の継続中と判断された場合には(ステップS16(No))、再び前記ステップS2からの処理に戻り、ユーザ操作に応じたタッチ位置(X,Y)に更新される(ステップS2〜S15)。
Here, based on the presence or absence of an output signal from the
したがって、前記構成のタッチパネル入力装置を搭載した携帯情報端末装置10のタッチ位置検出機能によれば、タッチパネル15tにタッチされたユーザの指の接触面(Ts)からのX方向とY方向の直近の表示画面エッジまで接触面−エッジ間距離(dx,dy)が、前記指の接触面(Ts)における中心位置(Cx,Cy)からの同X方向とY方向の接触面の端までの距離(rx,ry)以上の長さである場合には、当該指の接触面(Ts)の中心位置(Cx,Cy)がユーザ指定のタッチ位置(X,Y)として決定される。また、前記指の接触面(Ts)からの接触面−エッジ間距離(dx,dy)が、同指の接触面(Ts)の接触面の端までの距離(rx,ry)よりも短い場合には、エッジから当該接触面−エッジ間距離(dx,dy)を2倍に延長した位置がユーザ指定のタッチ位置(X,Y)として決定される。
Therefore, according to the touch position detection function of the portable
これにより、タッチパネル15tにタッチした指が表示部フレーム15Fとの境目の画面エッジから離れている場合には、当該指の接触面(Ts)の中心位置(Cx,Cy)をタッチ位置(X,Y)としてユーザ入力処理を行うことができるのは勿論、例えば画面エッジに極めて接近した位置をタッチ指定したい場合には、当該指の接触面(Ts)の中心位置(Cx,Cy)よりも画面エッジ寄りになる位置をタッチ位置(X,Y)に決定するので、ユーザの意図に沿った適切なタッチ入力処理を行うことができる。
Accordingly, when the finger touching the
よって、表示画面とその表示画面を囲むフレームとの間に段差があり、画面エッジの近くをタッチ指定し難い場合でも、表示画面の隅に対するタッチ位置を適切に検出することが可能になる。 Therefore, there is a step between the display screen and the frame surrounding the display screen, and even when it is difficult to specify the touch near the screen edge, it is possible to appropriately detect the touch position with respect to the corner of the display screen.
なお、前記実施形態では、指の接触面端距離(rx,ry)よりも接触面−エッジ間距離(dx,dy)が短い場合に、エッジから当該接触面−エッジ間距離(dx,dy)を2倍に延長した位置をタッチ位置(X,Y)に決定する構成としたが、接触面−エッジ間距離(dx,dy)に一定の比率Rを乗算したRdx,Rdyの位置、さらには同比率Rを接触面−エッジ間距離(dx,dy)に応じて変動した位置を、タッチ位置(X,Y)として決定する構成としてもよい。 In the embodiment, when the contact surface-edge distance (dx, dy) is shorter than the finger contact surface end distance (rx, ry), the contact surface-edge distance (dx, dy) from the edge. The position where X is doubled is determined as the touch position (X, Y), but the contact surface-edge distance (dx, dy) is multiplied by a fixed ratio R, and the position of Rdx, Rdy, A position where the ratio R is changed according to the contact surface-edge distance (dx, dy) may be determined as the touch position (X, Y).
さらに、前記接触面−エッジ間距離(dx,dy)が所定値Dよりも短く、ユーザの指の一部が段差のある表示部フレーム15Fに明らかに載っていると判断される場合には、指の接触面(Ts)より外側になる接触面−エッジ間上の位置をタッチ位置(X,Y)として決定してもよい。
Further, when it is determined that the distance (dx, dy) between the contact surface and the edge is shorter than the predetermined value D and a part of the user's finger is clearly placed on the
また、前記実施形態のタッチ位置検出処理(図3参照)では、タッチパネル15tに対してユーザのタッチ操作が継続している間は、繰り返し種々の判断要素を算出しタッチ位置(X,Y)を更新して決定する構成としたが、次の他の実施形態のタッチ位置決定処理(図6〜図8参照)において説明するように、タッチパネル15tに対する指の接触面積Sが最大となったときに検出された前記タッチ位置(X,Y)をユーザ指定位置として決定する構成としてもよい。
Further, in the touch position detection process (see FIG. 3) of the embodiment, while the user's touch operation is continued on the
(他の実施形態)
図6は、前記携帯情報端末装置10の他の実施形態のタッチ位置決定処理を示すフローチャートである。
(Other embodiments)
FIG. 6 is a flowchart showing a touch position determination process according to another embodiment of the portable
図7は、前記携帯情報端末装置10の他の実施形態のタッチ位置決定処理に応じたタッチ位置メモリ26eでのタッチ位置(X,Y)の保存状態と接触面メモリ26aでの接触面積Sの保存状態を示す図である。
FIG. 7 shows the storage state of the touch position (X, Y) in the
図8は、前記携帯情報端末装置10のタッチパネル付き表示部15におけるタッチパネル15tに対しユーザの指先Hがタッチされその接触面積Sが広がって行く過程を示す側面図である。
FIG. 8 is a side view showing a process in which a user's fingertip H is touched on the
なお、図8に示す具体例では、前記図4、図5で示した具体例と同様に、指先Hの接触面に対し直近となる表示画面エッジ(表示部フレーム15F)のX方向は“右”、Y方向は“上”として特定される。
In the specific example shown in FIG. 8, the X direction of the display screen edge (
この実施形態のタッチ位置決定処理では、前記図3におけるタッチ位置検出処理に従いユーザ操作に応じたタッチ位置(X,Y)が検出される都度(ステップS1〜S15)、当該検出されたタッチ位置(Xn,Yn)とそのときの指の接触面積Snとが、図7に示すように、前記タッチ位置メモリ26eと接触面メモリ26aとにそれぞれ少なくとも最新のデータを含めた2回分以上蓄積されて保存される(ステップA1)。
In the touch position determination process of this embodiment, every time a touch position (X, Y) corresponding to a user operation is detected according to the touch position detection process in FIG. 3 (steps S1 to S15), the detected touch position ( Xn, Yn) and the finger contact area Sn at that time are accumulated and stored in the
そして、前記タッチ位置メモリ26eと接触面メモリ26aとに新たなタッチ位置(Xn,Yn)とそのときの指の接触面積Snとが保存される都度、当該指の接触面積Snが前回計算された接触面積Sn−1より増加しているか(広がっているか)否か判断される(ステップA2)。
Each time the new touch position (Xn, Yn) and the finger contact area Sn at that time are stored in the
ここで、今回保存された指の接触面積Snが前回計算された接触面積Sn−1より増加していると判断された場合には(ステップA2(Yes))、さらに、前記タッチパネル15tによりユーザのタッチ操作に応じた次のデータが出力さているか否か判断される(ステップA3)。
Here, when it is determined that the finger contact area Sn stored this time is larger than the previously calculated contact area Sn-1 (step A2 (Yes)), the
そして、ユーザの継続したタッチ操作に応じた次のデータが出力されていると判断された場合は(ステップA3(Yes))、前記タッチ位置検出処理(ステップS1〜S15)に従い次に検出されたタッチ位置(Xn,Yn)と接触面積Snとが新たに保存され(ステップA1)、その接触面積Snがさらに増加したか否か判断される(ステップA2)。 If it is determined that the next data corresponding to the user's continued touch operation is output (step A3 (Yes)), the next data is detected according to the touch position detection process (steps S1 to S15). The touch position (Xn, Yn) and the contact area Sn are newly stored (step A1), and it is determined whether or not the contact area Sn has further increased (step A2).
この後、例えば図8(A)〜(D)に示すように、タッチパネル15tに対するユーザの指先Hの接触面積Sが次第に広がって行く過程において(ステップA1〜A3→S1〜S15→A1)、当該指先Hが素早く離されて次のデータが出力されてないと判断されると(ステップA3(No))、前記タッチ位置メモリ26eに保存された最新(直近)のタッチ位置(Xn,Yn)がユーザの指定位置(X,Y)として出力される(ステップA4)。
Thereafter, for example, as shown in FIGS. 8A to 8D, in the process of gradually increasing the contact area S of the user's fingertip H with respect to the
一方、前記ステップA2において、今回検出保存された指の接触面積Snが前回計算された接触面積Sn−1より増加していない、つまり指先Hがタッチパネル15tから離れる方向に操作されたと判断された場合には(ステップA2(No))、前記タッチ位置メモリ26eに前回検出されて保存されたタッチ位置(Xn−1,Yn−1)がユーザの指定位置(X,Y)として出力される(ステップA5)。
On the other hand, when it is determined in step A2 that the finger contact area Sn detected and stored this time is not larger than the previously calculated contact area Sn-1, that is, the fingertip H is operated in a direction away from the
したがって、前記構成のタッチパネル入力装置を搭載した携帯情報端末装置10における他の実施形態のタッチ位置決定機能によれば、タッチパネル15tに対する指先Hとの接触面積Sが最大となったときに前記タッチ位置検出処理(ステップS1〜S15)に従い検出されたタッチ位置(X,Y)がユーザの指定位置として決定される。
Therefore, according to the touch position determination function of the other embodiment in the portable
これにより、前記実施形態と同様に、表示画面とその表示画面を囲むフレームとの間に段差がある場合でも、表示画面の隅に対するタッチ位置を適切に検出することができるだけでなく、特に当該表示画面の一箇所をタッチして指定する場合に、精度よくユーザの指定位置(X,Y)を得ることができる。 Accordingly, as in the above-described embodiment, even when there is a step between the display screen and the frame surrounding the display screen, not only can the touch position with respect to the corner of the display screen be detected appropriately, but particularly the display When a part of the screen is specified by touching, the user-specified position (X, Y) can be obtained with high accuracy.
なお、前記図4および図5を参照して説明したタッチパネル15tに対する指の接触面Tsは、接触面Tsの形状を円で図示して説明したが、実際には次の図9のように、円形とはならない。
Note that the contact surface Ts of the finger with respect to the
そこで、図9を用いて接触面端距離rx,ryについての説明を追記する。 Therefore, a description of the contact surface end distances rx, ry will be added using FIG.
すなわち、図9に示すような非円形の接触面を得た場合には、接触面Tsの重心を中心位置(Cx,Cy)として求め、この中心位置(Cx,Cy)から画面エッジ(表示部フレーム15F)に近い方の接触面端部のY方向に延びる接線TLyまでの距離を接触面端距離rx、中心位置(Cx,Cy)から画面エッジに近い方の接触面端部のX方向に延びる接線TLxまでの距離を接触面端距離ryとする。また、同接触面端部の接線(TLy,TLx)から画面エッジ(表示部フレーム15F)までを接触面−エッジ間距離(dx,dy)として計算すればよい。
That is, when a non-circular contact surface as shown in FIG. 9 is obtained, the center of gravity of the contact surface Ts is obtained as the center position (Cx, Cy), and the screen edge (display unit) is displayed from the center position (Cx, Cy). The distance to the tangent TLy extending in the Y direction at the end of the contact surface closer to the
これにより、前記実施形態と同様に、表示画面とその表示画面を囲むフレームとの間に段差がある場合でも、表示画面の隅に対するタッチ位置を適切に検出することが可能になる。 Thereby, similarly to the above-described embodiment, even when there is a step between the display screen and the frame surrounding the display screen, it is possible to appropriately detect the touch position with respect to the corner of the display screen.
前記各実施形態において記載したタッチパネル入力装置を搭載した携帯情報端末装置10による各処理の手法、すなわち、図3のフローチャートに示すタッチ位置検出処理、図6のフローチャートに示す他の実施形態のタッチ位置決定処理などの各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリ・カード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録媒体23に格納して配布することができる。そして、タッチパネル付き表示部(15)を備えた電子機器のコンピュータは、この外部記録媒体23に記録されたプログラムを記憶装置22に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明したタッチ位置検出機能を実現し、前述した手法による同様の処理を実行することができる。
Each processing method by the portable
また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワークN上を伝送させることができ、このプログラムデータを、タッチパネル付き表示部(15)を備えた電子機器のコンピュータに通信部25によって取り込むことで、前述したタッチ位置検出機能を実現することもできる。 Further, program data for realizing each of the above methods can be transmitted on the network N in the form of a program code, and this program data can be transmitted to a computer of an electronic apparatus having a display unit (15) with a touch panel. By capturing by the communication unit 25, the touch position detection function described above can also be realized.
なお、本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 Note that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention at the stage of implementation. Further, each of the embodiments includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in each embodiment or some constituent elements are combined in different forms, the problems described in the column of the problem to be solved by the invention If the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Hereinafter, the invention described in the scope of claims of the present application will be appended.
[1]
タッチパネルと、
このタッチパネルが接触された部分を検出するタッチ部分検出手段と、
このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段と、
を備えたことを特徴とするタッチパネル入力装置。
[1]
A touch panel;
Touch part detecting means for detecting a part touched by the touch panel;
A first distance from the center of the contact part detected by the touch part detection means to the outer edge of the contact part closest to the edge of the touch panel, and an edge of the touch panel from the outer edge of the contact part closest to the edge of the touch panel Input position determining means for determining an input position of the touch panel based on the second distance to
A touch panel input device comprising:
[2]
前記入力位置決定手段は、
前記第1の距離と、前記第2の距離とを比較し、前記第2の距離が第1の距離よりも長い場合は、前記タッチされた部分の中心をタッチパネルの入力位置として決定する、
ことを特徴とする[1]に記載のタッチパネル入力装置。
[2]
The input position determining means includes
The first distance is compared with the second distance, and when the second distance is longer than the first distance, the center of the touched portion is determined as the input position of the touch panel.
The touch panel input device according to [1], wherein
[3]
前記入力位置決定手段は、
前記第2の距離が前記第1の距離よりも短い場合は、前記タッチパネルのエッジから前記タッチされた部分の中心の方向へ前記第2の距離を所定倍率した距離にある位置をタッチパネルの入力位置として決定する、
ことを特徴とする[2]に記載のタッチパネル入力装置。
[3]
The input position determining means includes
When the second distance is shorter than the first distance, the input position of the touch panel is a position that is a distance obtained by multiplying the second distance by a predetermined magnification from the edge of the touch panel toward the center of the touched portion. As determined,
The touch panel input device according to [2], wherein
[4]
前記入力位置決定手段は、
前記第2の距離が前記第1の距離よりも短く且つ所定値未満と判断された場合は、前記タッチされた部分の外縁から前記タッチパネルのエッジまでの間の位置をタッチパネルの入力位置として決定する、
ことを特徴とする[3]に記載のタッチパネル入力装置。
[4]
The input position determining means includes
When it is determined that the second distance is shorter than the first distance and less than a predetermined value, a position from the outer edge of the touched portion to the edge of the touch panel is determined as an input position of the touch panel. ,
The touch panel input device according to [3], wherein
[5]
前記タッチ部分検出手段により検出された接触部分の面積をその検出開始から繰り返し取得する面積取得手段を備え、
前記入力位置決定手段は、前記面積取得手段により取得されたタッチされた部分の面積が最大となったときに、前記第1の距離と、前記第2の距離とに基づいて、当該タッチパネルの入力位置を決定する、
ことを特徴とする[1]ないし[4]の何れかに記載のタッチパネル入力装置。
[5]
An area acquisition means for repeatedly acquiring the area of the contact portion detected by the touch part detection means from the start of detection;
The input position determination unit is configured to input the touch panel based on the first distance and the second distance when the area of the touched portion acquired by the area acquisition unit becomes maximum. Determine the position,
The touch panel input device according to any one of [1] to [4], wherein:
[6]
タッチパネルを備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
前記タッチパネルが接触された部分を検出するタッチ部分検出手段、
このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段
として機能させるためのプログラム。
[6]
A program for controlling a computer of an electronic device equipped with a touch panel,
The computer,
Touch part detecting means for detecting a part touched by the touch panel;
A first distance from the center of the contact part detected by the touch part detection means to the outer edge of the contact part closest to the edge of the touch panel, and an edge of the touch panel from the outer edge of the contact part closest to the edge of the touch panel The program for functioning as an input position determination means which determines the input position of the said touch panel based on the 2nd distance to.
10 …携帯情報端末装置
11 …本体ケース
12 …蓋体ケース
13 …ヒンジ部
14 …キー入力部
15 …タッチパネル付き表示部
15d…カラー液晶表示部(バックライト付き)
15t…透明タッチパネル
15F…表示部フレーム
21 …CPU
22 …記憶装置
22a…タッチ位置検出プログラム
23 …外部記録媒体
24 …記録媒体読み取り部
25 …通信部
26 …RAM
26a…接触面(Ts)メモリ
26b…接触面中心位置(Cx,Cy)メモリ
26c…接触面端距離(rx,ry)メモリ
26d…接触面−エッジ間距離(dx,dy)メモリ
26e…タッチ位置(X,Y)メモリ
30 …Webサーバ
N …通信ネットワーク
H …指先
DESCRIPTION OF
15t ...
DESCRIPTION OF
26a ... Contact surface (Ts)
Claims (6)
このタッチパネルが接触された部分を検出するタッチ部分検出手段と、
このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段と、
を備えたことを特徴とするタッチパネル入力装置。 A touch panel;
Touch part detecting means for detecting a part touched by the touch panel;
A first distance from the center of the contact part detected by the touch part detection means to the outer edge of the contact part closest to the edge of the touch panel, and an edge of the touch panel from the outer edge of the contact part closest to the edge of the touch panel Input position determining means for determining an input position of the touch panel based on the second distance to
A touch panel input device comprising:
前記第1の距離と、前記第2の距離とを比較し、前記第2の距離が第1の距離よりも長い場合は、前記タッチされた部分の中心をタッチパネルの入力位置として決定する、
ことを特徴とする請求項1に記載のタッチパネル入力装置。 The input position determining means includes
The first distance is compared with the second distance, and when the second distance is longer than the first distance, the center of the touched portion is determined as the input position of the touch panel.
The touch panel input device according to claim 1.
前記第2の距離が前記第1の距離よりも短い場合は、前記タッチパネルのエッジから前記タッチされた部分の中心の方向へ前記第2の距離を所定倍率した距離にある位置をタッチパネルの入力位置として決定する、
ことを特徴とする請求項2に記載のタッチパネル入力装置。 The input position determining means includes
When the second distance is shorter than the first distance, the input position of the touch panel is a position that is a distance obtained by multiplying the second distance by a predetermined magnification from the edge of the touch panel toward the center of the touched portion. As determined,
The touch panel input device according to claim 2.
前記第2の距離が前記第1の距離よりも短く且つ所定値未満と判断された場合は、前記タッチされた部分の外縁から前記タッチパネルのエッジまでの間の位置をタッチパネルの入力位置として決定する、
ことを特徴とする請求項3に記載のタッチパネル入力装置。 The input position determining means includes
When it is determined that the second distance is shorter than the first distance and less than a predetermined value, a position from the outer edge of the touched portion to the edge of the touch panel is determined as an input position of the touch panel. ,
The touch panel input device according to claim 3.
前記入力位置決定手段は、前記面積取得手段により取得されたタッチされた部分の面積が最大となったときに、前記第1の距離と、前記第2の距離とに基づいて、当該タッチパネルの入力位置を決定する、
ことを特徴とする請求項1ないし請求項4の何れか1項に記載のタッチパネル入力装置。 An area acquisition means for repeatedly acquiring the area of the contact portion detected by the touch part detection means from the start of detection;
The input position determination unit is configured to input the touch panel based on the first distance and the second distance when the area of the touched portion acquired by the area acquisition unit becomes maximum. Determine the position,
The touch panel input device according to claim 1, wherein the touch panel input device is a touch panel input device.
前記コンピュータを、
前記タッチパネルが接触された部分を検出するタッチ部分検出手段、
このタッチ部分検出手段により検出された接触部分の中心から前記タッチパネルのエッジに最も近い前記接触部分の外縁までの第1の距離と、前記タッチパネルのエッジに最も近い接触部分の外縁から前記タッチパネルのエッジまでの第2の距離とに基づいて、当該タッチパネルの入力位置を決定する入力位置決定手段
として機能させるためのプログラム。 A program for controlling a computer of an electronic device equipped with a touch panel,
The computer,
Touch part detecting means for detecting a part touched by the touch panel;
A first distance from the center of the contact part detected by the touch part detection means to the outer edge of the contact part closest to the edge of the touch panel, and an edge of the touch panel from the outer edge of the contact part closest to the edge of the touch panel The program for functioning as an input position determination means which determines the input position of the said touch panel based on the 2nd distance to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012163476A JP2014021954A (en) | 2012-07-24 | 2012-07-24 | Touch panel input device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012163476A JP2014021954A (en) | 2012-07-24 | 2012-07-24 | Touch panel input device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014021954A true JP2014021954A (en) | 2014-02-03 |
Family
ID=50196705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012163476A Pending JP2014021954A (en) | 2012-07-24 | 2012-07-24 | Touch panel input device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014021954A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017506399A (en) * | 2014-02-21 | 2017-03-02 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | System and method for improved touch screen accuracy |
CN111194434A (en) * | 2017-10-11 | 2020-05-22 | 三菱电机株式会社 | Operation input device, information processing system, and operation determination method |
-
2012
- 2012-07-24 JP JP2012163476A patent/JP2014021954A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017506399A (en) * | 2014-02-21 | 2017-03-02 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | System and method for improved touch screen accuracy |
CN111194434A (en) * | 2017-10-11 | 2020-05-22 | 三菱电机株式会社 | Operation input device, information processing system, and operation determination method |
CN111194434B (en) * | 2017-10-11 | 2024-01-30 | 三菱电机株式会社 | Operation input device, information processing system, and operation determination method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5873942B2 (en) | Mobile terminal device | |
JP5611763B2 (en) | Portable terminal device and processing method | |
US9035883B2 (en) | Systems and methods for modifying virtual keyboards on a user interface | |
JP5590342B2 (en) | Electronic device using touch panel and method for changing set value | |
JP6381032B2 (en) | Electronic device, control method thereof, and program | |
KR100928902B1 (en) | Touch screen to adapt the information provided by the use of a touching tool or finger | |
EP3336677B1 (en) | Method and apparatus for controlling touch screen of terminal, and terminal | |
JP4952733B2 (en) | Content display terminal and content display control program | |
RU2576472C2 (en) | Display device, user interface method and programme | |
JP5806822B2 (en) | Portable electronic device, contact operation control method, and contact operation control program | |
JP2012174250A (en) | Mobile electronic device, contact operation control method, and contact operation control program | |
JP2010287121A (en) | Information processor, program, recording medium and display controller | |
JP2012174248A (en) | Mobile electronic device, contact operation control method, and contact operation control program | |
JP2012174247A (en) | Mobile electronic device, contact operation control method, and contact operation control program | |
JP7244231B2 (en) | ELECTRONIC DEVICE, CONTROL PROGRAM AND DISPLAY CONTROL METHOD | |
US20150091836A1 (en) | Touch control input method and system, computer storage medium | |
JP2014021954A (en) | Touch panel input device and program | |
JP5777915B2 (en) | Electronic device and display method thereof | |
JP2012208614A (en) | Portable electronic equipment | |
JP5671895B2 (en) | Handwritten information recognition apparatus and handwritten information recognition program | |
JP6318794B2 (en) | Information processing apparatus and information processing program | |
JP6011114B2 (en) | Character input device, character input method, and character input program | |
JP6127401B2 (en) | Information processing apparatus, program, and information processing method | |
JP6236818B2 (en) | Portable information terminal | |
WO2015111332A1 (en) | Information processing device, control method, control program, and recording medium |