JP6683352B2 - Program and information processing device - Google Patents

Program and information processing device Download PDF

Info

Publication number
JP6683352B2
JP6683352B2 JP2018190441A JP2018190441A JP6683352B2 JP 6683352 B2 JP6683352 B2 JP 6683352B2 JP 2018190441 A JP2018190441 A JP 2018190441A JP 2018190441 A JP2018190441 A JP 2018190441A JP 6683352 B2 JP6683352 B2 JP 6683352B2
Authority
JP
Japan
Prior art keywords
touch
area
region
characteristic
characteristic position
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.)
Active
Application number
JP2018190441A
Other languages
Japanese (ja)
Other versions
JP2020058479A (en
Inventor
岡村 憲明
憲明 岡村
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.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment 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 Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Priority to JP2018190441A priority Critical patent/JP6683352B2/en
Priority to KR1020207036930A priority patent/KR102493667B1/en
Priority to CN201980037461.7A priority patent/CN112261973A/en
Priority to PCT/JP2019/019712 priority patent/WO2019235180A1/en
Application granted granted Critical
Publication of JP6683352B2 publication Critical patent/JP6683352B2/en
Publication of JP2020058479A publication Critical patent/JP2020058479A/en
Priority to US17/111,979 priority patent/US11541304B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、プログラム、及び、情報処理装置に関する。   The present invention relates to a program and an information processing device.

タッチパネルを用いて、ユーザからの指示の入力を受け付ける機器が普及している(例えば、特許文献1参照)。このような機器は、タッチパネルにおけるタッチ位置に応じた指示をユーザから受け取る。   A device that receives an input of an instruction from a user using a touch panel is widespread (for example, see Patent Document 1). Such a device receives an instruction from the user according to the touch position on the touch panel.

特開2014−044455号公報JP, 2014-044455, A

タッチパネルを用いてユーザからの指示を受け付ける機器において、ユーザがタッチパネルに対して指示を入力しない場合、例えば、タッチパネルにおいて指示の入力を受け付けない所定の領域(以下「ニュートラル領域」とも称する)に指を位置させる態様が存在する。ところで、例えば、ユーザが、タッチパネルを見ることなく、所望の指示を入力するための所定の入力領域を複数回タッチしようとする場合、等において、タッチパネルへのタッチ位置にずれが生じる場合がある。タッチパネルへのタッチ位置にずれが生じると、例えば、ユーザが指を入力領域からニュートラル領域に戻したつもりでも、タッチパネルにおけるタッチ位置がニュートラル領域からずれてしまう場合がある。タッチパネルにおけるタッチ位置が、ニュートラル領域からずれてしまうと、タッチパネルに対して誤った指示が入力されてしまう。   In a device that receives an instruction from a user using a touch panel, if the user does not input an instruction to the touch panel, for example, place a finger on a predetermined area (hereinafter also referred to as “neutral area”) in which the input of the instruction is not received on the touch panel. There are modes of positioning. By the way, for example, when a user tries to touch a predetermined input area for inputting a desired instruction a plurality of times without looking at the touch panel, the touch position on the touch panel may be displaced in some cases. When the touch position on the touch panel deviates, the touch position on the touch panel may deviate from the neutral region even if the user intends to return the finger from the input region to the neutral region. If the touch position on the touch panel deviates from the neutral area, an incorrect instruction will be input to the touch panel.

本発明は、上述した事情を鑑みてなされてものであり、タッチパネルへのタッチ位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することを可能とする技術の提供を、解決課題の一つとする。   The present invention has been made in view of the above-mentioned circumstances, and a technique that can reduce the possibility of erroneous input even when a touch position on a touch panel may be misaligned. Providing is one of the problems to be solved.

以上の課題を解決するために、本発明の一態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、前記第1領域と前記第2領域との間に配置され、前記ゲームに係る操作方向の指示を受け付けない第3領域の位置を、前記特徴位置決定部が決定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、して機能させる、ことを特徴とする。   In order to solve the above problems, a program according to one aspect of the present invention includes a processor, an acquisition unit that acquires touch position information indicating a touch position on a touch panel, and a touch period during which a touch on the touch panel is continued. In, in the case where the touch position indicated by the touch position information acquired by the acquisition unit exists in the first region for inputting the instruction of the first operation direction related to the game, the first characteristic based on the touch position. A characteristic position that determines a position and determines the second characteristic position based on the touch position when the touch position exists in the second area for inputting a second operation direction instruction related to the game. The characteristic position determination unit determines the position of a determination unit and a third region that is arranged between the first region and the second region and that does not receive an instruction of an operation direction related to the game. Boss was on the basis of the first feature location, and the second feature location, and the placement determining unit determining, thereby to function, characterized in that.

本発明の実施形態に係る端末装置10の外観の一例を示す説明図である。It is explanatory drawing which shows an example of the external appearance of the terminal device 10 which concerns on embodiment of this invention. 操作領域Vがタッチされた場合の端末装置10の外観の一例を示す説明図である。9 is an explanatory diagram showing an example of an external appearance of the terminal device 10 when the operation area V is touched. FIG. 入力領域RDrがタッチされた場合の端末装置10の外観の一例を示す説明図である。It is explanatory drawing which shows an example of the external appearance of the terminal device 10 when the input area RDr is touched. 入力領域RDlがタッチされた場合の端末装置10の外観の一例を示す説明図である。It is explanatory drawing which shows an example of the external appearance of the terminal device 10 when the input area RD1 is touched. 端末装置10の構成の一例を示すブロック図である。3 is a block diagram showing an example of the configuration of the terminal device 10. FIG. 端末装置10のハードウェア構成の一例を示すブロック図である。3 is a block diagram showing an example of a hardware configuration of the terminal device 10. FIG. 所定のゲームが起動されてからタッチ位置Pが入力領域RDrに侵入するまでの端末装置10の動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement of the terminal device 10 after a predetermined game is started until the touch position P penetrates into the input area RDr. 特徴位置CPrが特定されてからタッチ位置Pが入力領域RDlに侵入するまでの端末装置10の動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement of the terminal device 10 after the characteristic position CPr is specified until the touch position P penetrates into the input area RD1. 特徴位置CPlの更新に応じて操作領域Vの位置の修正が繰り返される場合の端末装置10の動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement of the terminal device 10 when correction of the position of the operation area | region V is repeated according to the update of the characteristic position CPl. タッチ位置Pが入力領域RDrに再侵入する場合の端末装置10の動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement of the terminal device 10 when the touch position P invades into the input area RDr again. 端末装置10の動作の一例を示すフローチャートである。6 is a flowchart showing an example of the operation of the terminal device 10. 変形例1に係る端末装置10の動作の一例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 1. 変形例1に係る端末装置10の動作の別の例を示す説明図である。FIG. 11 is an explanatory diagram showing another example of the operation of the terminal device 10 according to the modified example 1. 変形例1に係る端末装置10の動作の別の例を示す説明図である。FIG. 11 is an explanatory diagram showing another example of the operation of the terminal device 10 according to the modified example 1. 変形例2に係る端末装置10の動作の一例を示す説明図である。11 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 2. FIG. 変形例3に係る端末装置10の動作の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 3. 変形例3に係る端末装置10の動作の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 3. 変形例4に係る端末装置10の動作の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 4. 変形例5に係る端末装置10の動作の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 5. 変形例6に係る操作領域Vの一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation area V according to Modification 6. 変形例7に係るニュートラル領域RN及び入力領域RDの一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of a neutral area RN and an input area RD according to Modification 7. 変形例8に係る方向領域の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of direction areas according to Modification 8; 変形例9に係る操作領域Vの一例を示す説明図である。14 is an explanatory diagram showing an example of an operation area V according to Modification 9. FIG. 変形例10に係る操作領域Vの一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of an operation area V according to Modification 10. 変形例18に係る端末装置10の動作の一例を示す説明図である。FIG. 21 is an explanatory diagram showing an example of an operation of the terminal device 10 according to Modification 18. 変形例19に係る情報処理システムSYSの構成の一例を示すブロック図である。21 is a block diagram showing an example of the configuration of an information processing system SYS according to Modification 19. FIG.

以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。   Embodiments for carrying out the present invention will be described below with reference to the drawings. In each drawing, the size and scale of each part are appropriately different from the actual ones. Further, the embodiment described below is a preferred specific example of the present invention, and therefore various technically preferable limitations are given, but the scope of the present invention particularly limits the present invention in the following description. Unless stated to the effect, it is not limited to these forms.

[A.実施形態]
以下、本発明の実施形態を説明する。
[A. Embodiment]
Embodiments of the present invention will be described below.

[1.端末装置の概要]
以下、図1から図4を参照しながら、本実施形態に係る端末装置10の概要の一例について説明する。
[1. Outline of terminal device]
Hereinafter, an example of an outline of the terminal device 10 according to the present embodiment will be described with reference to FIGS. 1 to 4.

図1は、端末装置10の外観の一例を説明するための説明図である。端末装置10は、例えば、スマートフォン、タブレット端末、または、携帯用のゲーム装置等の、可搬型の情報処理装置である。但し、端末装置10は、例えば、業務用のゲーム装置、または、デスクトップ型のパーソナルコンピュータ等の、据置型の情報処理装置であってもよい。   FIG. 1 is an explanatory diagram for explaining an example of the external appearance of the terminal device 10. The terminal device 10 is, for example, a portable information processing device such as a smartphone, a tablet terminal, or a portable game device. However, the terminal device 10 may be, for example, a game device for business use, or a stationary information processing device such as a desktop personal computer.

端末装置10は、タッチパネル1002を有する。タッチパネル1002は、各種画像を表示する機能(例えば、図5に示す表示部12)と、端末装置10に対するユーザからの指示の入力を受け付ける機能(例えば、図5に示す入力部13)とを有する。具体的には、タッチパネル1002は、図2に示すように、ユーザの指FG等の物体がタッチパネル1002に接触している場合に、当該物体のタッチパネル1002における接触位置であるタッチ位置Pを検出し、検出したタッチ位置Pを示すタッチ位置情報を周期的に出力する。以下では、タッチパネル1002に対して接触する物体が、ユーザの指FGである場合を、一例として想定する。   The terminal device 10 has a touch panel 1002. The touch panel 1002 has a function of displaying various images (for example, the display unit 12 shown in FIG. 5) and a function of receiving an instruction input from the user to the terminal device 10 (for example, the input unit 13 shown in FIG. 5). . Specifically, as shown in FIG. 2, when an object such as the user's finger FG is in contact with the touch panel 1002, the touch panel 1002 detects the touch position P, which is the contact position of the object on the touch panel 1002. , And periodically outputs touch position information indicating the detected touch position P. In the following, it is assumed that the object that touches touch panel 1002 is user's finger FG as an example.

本実施形態では、説明の便宜上、図1に示すように、タッチパネル1002に固定された座標系であるタッチパネル座標系ΣSを導入する。具体的には、タッチパネル座標系ΣSとは、例えば、タッチパネル1002の所定箇所に固定された原点Osを有し、互いに直交するXs軸及びYs軸を有する2軸の直交座標系である。   In the present embodiment, for convenience of explanation, as shown in FIG. 1, a touch panel coordinate system ΣS which is a coordinate system fixed to the touch panel 1002 is introduced. Specifically, the touch panel coordinate system ΣS is, for example, a two-axis orthogonal coordinate system having an origin Os fixed at a predetermined position on the touch panel 1002 and having Xs axes and Ys axes orthogonal to each other.

端末装置10は、所定のゲームに係るプログラム(「プログラム」の一例)を実行することで、所定のゲームに係る画像をタッチパネル1002に表示する。例えば、端末装置10は、所定のゲームを実行する場合、所定のゲームに係る仮想空間SPと、当該仮想空間SPに存在する所定のゲームに係るキャラクタCRと、バーチャルパッドとを、タッチパネル1002に表示する。以下では、バーチャルパッドが表示される領域を操作領域Vと称する。ここで、バーチャルパッドの表示される操作領域Vとは、ユーザによるキャラクタCRの操作に係る入力を受け付けるための領域である。   The terminal device 10 displays an image related to the predetermined game on the touch panel 1002 by executing a program related to the predetermined game (an example of the “program”). For example, when the terminal device 10 executes a predetermined game, the touch panel 1002 displays the virtual space SP related to the predetermined game, the character CR related to the predetermined game existing in the virtual space SP, and the virtual pad. To do. Hereinafter, the area where the virtual pad is displayed is referred to as an operation area V. Here, the operation area V on which the virtual pad is displayed is an area for receiving an input relating to the operation of the character CR by the user.

なお、本実施形態では、操作領域Vが、基準位置Ovを中心とする円BDvの内側の領域である場合を、一例として想定する。なお、操作領域Vは、円形に限定されない。例えば、タッチパネル1002の画面左半分が操作領域Vに設定されてもよい。また、本実施形態では、操作領域Vが、タッチパネル1002において、ユーザに視認可能な態様で表示される場合を、一例として想定する。但し、操作領域Vは、タッチパネル1002において、ユーザに視認されないように設けられた仮想的な領域であってもよい。本実施形態では、操作領域Vは、所定のゲームの起動時にタッチパネル1002上の所定の位置に設定される。   In the present embodiment, the case where the operation area V is an area inside the circle BDv centered on the reference position Ov is assumed as an example. The operation area V is not limited to the circular shape. For example, the left half of the screen of the touch panel 1002 may be set as the operation area V. Further, in the present embodiment, the case where the operation area V is displayed on the touch panel 1002 in a manner that can be visually recognized by the user is assumed as an example. However, the operation area V may be a virtual area provided on the touch panel 1002 so as not to be visually recognized by the user. In this embodiment, the operation area V is set at a predetermined position on the touch panel 1002 when a predetermined game is activated.

本実施形態では、操作領域Vが、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向の指示を入力するための領域である4個の入力領域RD(RDr、RDl、RDu、RDd)と、キャラクタCRの顔が向く方向の指示の入力を受け付けない領域であるニュートラル領域RNとを含む場合を、一例として想定する。但し、入力領域RDは、仮想空間SPにおけるキャラクタCRの顔が向く方向の指示を入力するための領域であってもよい。なお、本実施形態において、キャラクタCRの顔が向く方向とは、「ゲームに係る操作方向」の一例である。また、入力領域RDrは「第1領域」の一例であり、入力領域RDlは「第2領域」の一例であり、ニュートラル領域RNは「第3領域」の一例である。   In the present embodiment, the operation area V includes four input areas RD (RDr, RDl, RDu, RDd) which are areas for inputting a direction in which the face of the character CR in the touch panel coordinate system ΣS faces. It is assumed as an example that a case including a neutral area RN that is an area that does not receive an input of an instruction in a direction in which the face of CR faces. However, the input area RD may be an area for inputting a direction in which the face of the character CR faces in the virtual space SP. In the present embodiment, the direction in which the face of the character CR faces is an example of “the operation direction related to the game”. The input region RDr is an example of the “first region”, the input region RDl is an example of the “second region”, and the neutral region RN is an example of the “third region”.

本実施形態では、ニュートラル領域RNは、タッチパネル1002において視認可能な態様で入力領域RDrと入力領域RDlとの間に配置されるが、タッチパネル1002において視認されない態様で入力領域RDrと入力領域RDlとの間に配置されてもよい。なお、「入力領域RDrと入力領域RDlとの間にニュートラル領域RNが配置された状態」とは、入力領域RDr、入力領域RDl、およびニュートラル領域RNが、入力領域RDr内と入力領域RDl内とに端点を有し、ニュートラル領域RNを通過する直線を引くことができる位置関係となる状態である。   In the present embodiment, the neutral area RN is arranged between the input area RDr and the input area RDl in a visible manner on the touch panel 1002, but is not visible in the touch panel 1002. It may be arranged in between. The "state in which the neutral region RN is arranged between the input region RDr and the input region RDl" means that the input region RDr, the input region RDl, and the neutral region RN are in the input region RDr and the input region RDl. In this state, a straight line passing through the neutral region RN can be drawn.

以下では、説明の便宜上、基準位置Ovを原点とする座標系である操作領域座標系ΣVを導入する。具体的には、操作領域座標系ΣVとは、例えば、基準位置Ovを原点とし、互いに直交するXv軸及びYv軸を有する2軸の直交座標系である。本実施形態では、Xv軸とXs軸とが平行であり、且つ、Yv軸とYs軸とが平行である場合を、一例として想定する。但し、Xv軸がXs軸とは異なる向きを有し、Yv軸がYs軸とは異なる向きを有していてもよい。   Hereinafter, for convenience of description, an operation area coordinate system ΣV, which is a coordinate system having the reference position Ov as the origin, is introduced. Specifically, the operation area coordinate system ΣV is, for example, a biaxial orthogonal coordinate system having the reference position Ov as the origin and having the Xv axis and the Yv axis orthogonal to each other. In the present embodiment, the case where the Xv axis and the Xs axis are parallel and the Yv axis and the Ys axis are parallel is assumed as an example. However, the Xv axis may have a direction different from the Xs axis, and the Yv axis may have a direction different from the Ys axis.

本実施形態において、端末装置10は、一例として、ニュートラル領域RNを、基準位置Ovを含む領域として設定し、入力領域RDrを、ニュートラル領域RNよりも+Xv方向(「第1の方向」の一例)に位置する領域として設定し、入力領域RDlを、ニュートラル領域RNよりも−Xv方向(「第2の方向」の一例)に位置する領域として設定し、入力領域RDuを、ニュートラル領域RNよりも+Yv方向に位置する領域として設定し、入力領域RDdを、ニュートラル領域RNよりも−Yv方向に位置する領域として設定する。   In the present embodiment, as an example, the terminal device 10 sets the neutral region RN as a region including the reference position Ov, and sets the input region RDr in the + Xv direction relative to the neutral region RN (an example of the “first direction”). The input region RDl is set to be in the −Xv direction (an example of the “second direction”) with respect to the neutral region RN, and the input region RDu is + Yv more than the neutral region RN. The input region RDd is set as the region located in the −Yv direction with respect to the neutral region RN.

より具体的には、本実施形態において、端末装置10は、基準位置Ovを中心とする円BDnの内側の領域を、ニュートラル領域RNとして設定する。なお、円BDnは、円BDvより小さい。また、端末装置10は、基準位置Ovを起点とし、+Xv方向を−Yv側に角度θだけ傾けた方向に延在する線分BDrdと、基準位置Ovを起点とし、+Xv方向を+Yv側に角度θだけ傾けた方向に延在する線分BDurと、円BDvと、の間の扇形の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDrとして設定する。また、端末装置10は、基準位置Ovを起点とし、−Xv方向を−Yv側に角度θだけ傾けた方向に延在する線分BDdlと、基準位置Ovを起点とし、−Xv方向を+Yv側に角度θだけ傾けた方向に延在する線分BDluと、円BDvと、の間の扇形の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDlとして設定する。また、端末装置10は、線分BDurと線分BDluと円BDvとの間の扇形の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDuとして設定する。また、端末装置10は、線分BDrdと線分BDdlと円BDvとの間の扇形の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDdとして設定する。   More specifically, in the present embodiment, the terminal device 10 sets an area inside the circle BDn centered on the reference position Ov as the neutral area RN. The circle BDn is smaller than the circle BDv. Further, the terminal device 10 has a line segment BDrd extending from the reference position Ov as a starting point and extending in the direction in which the + Xv direction is inclined to the −Yv side by an angle θ, and the reference position Ov as a starting point, and the + Xv direction is an angle toward the + Yv side. An area other than the neutral area RN in the fan-shaped area between the line segment BDur extending in the direction inclined by θ and the circle BDv is set as the input area RDr. In addition, the terminal device 10 uses the line segment BDdl extending from the reference position Ov as a starting point in the direction in which the −Xv direction is inclined to the −Yv side by the angle θ and the reference position Ov as a starting point, and the −Xv direction is the + Yv side. A region other than the neutral region RN in the sectoral region between the line segment BDlu extending in the direction inclined by the angle θ and the circle BDv is set as the input region RDl. Further, the terminal device 10 sets, as the input area RDu, an area other than the neutral area RN in the fan-shaped area between the line segment BDur, the line segment BDlu, and the circle BDv. Further, the terminal device 10 sets an area other than the neutral area RN in the fan-shaped area between the line segment BDrd, the line segment BDdl, and the circle BDv as the input area RDd.

なお、本実施形態では、一例として、角度θが、45度である場合を想定する。但し、角度θは、0度よりも大きく、且つ、90度よりも小さい角度であればよい。また、本実施形態では、線分BDrdと線分BDurとのなす角は、線分BDdlと線分BDluとのなす角と等しい角度であるが、線分BDrdと線分BDurとのなす角は、線分BDdlと線分BDluとのなす角と異なる角度であってもよい。次に、図2から図4を参照して、操作領域Vを用いた操作の概要を説明する。   In the present embodiment, as an example, it is assumed that the angle θ is 45 degrees. However, the angle θ may be an angle larger than 0 degree and smaller than 90 degrees. Further, in the present embodiment, the angle formed by the line segment BDrd and the line segment BDur is equal to the angle formed by the line segment BDdl and the line segment BDlu, but the angle formed by the line segment BDrd and the line segment BDur is , And the angle between the line segment BDdl and the line segment BDlu may be different. Next, the outline of the operation using the operation area V will be described with reference to FIGS. 2 to 4.

図2は、操作領域Vがタッチされた場合の端末装置10の外観の一例を説明するための説明図である。ユーザは、操作領域Vのうち、入力領域RDr、RDl、RDu及びRDdの何れかの領域にタッチすることで、キャラクタCRの顔の向きを変えることができる。なお、本実施形態では、端末装置10は、所定のゲームにおいて、ニュートラル領域RNに指FGがタッチしている場合、タッチパネル1002から指FGが離れている場合と同様の処理を行う。   FIG. 2 is an explanatory diagram for describing an example of the external appearance of the terminal device 10 when the operation area V is touched. The user can change the face direction of the character CR by touching any one of the input regions RDr, RDl, RDu, and RDd in the operation region V. In the present embodiment, the terminal device 10 performs the same process as when the finger FG touches the neutral area RN in the predetermined game as when the finger FG is separated from the touch panel 1002.

例えば、タッチパネル1002から指FGが離れると、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向がタッチパネル1002から指FGが離れる前と同じ向きに維持される場合、ニュートラル領域RNに指FGがタッチされても、キャラクタCRの顔が向く方向は変化しない。図2に示す例では、所定のゲームが起動されてからの最初のタッチがニュートラル領域RNへのタッチである。この場合、キャラクタCRの顔の向きは、図1に示した向き(タッチパネル座標系ΣSにおける正面方向)に維持される。すなわち、指FGのタッチ位置Pがニュートラル領域RNに存在する場合、キャラクタCRの顔の向きは、ユーザがニュートラル領域RNを指FGでタッチする前と同じ向きに維持される。なお、タッチパネル1002から指FGが離れると、タッチパネル座標系ΣSにおけるキャラクタCRの顔の向きが予め定められた向き(例えば、タッチパネル座標系ΣSにおける正面方向)に設定される場合では、ニュートラル領域RNに指FGがタッチされると、キャラクタCRの顔の向きは、予め定められた向きに設定される。以下では、タッチパネル1002から指FGが離れた場合に実行される処理は、非タッチ処理とも称される。   For example, when the finger FG moves away from the touch panel 1002, if the direction in which the face of the character CR in the touch panel coordinate system ΣS faces is maintained in the same direction as before the finger FG left the touch panel 1002, the neutral area RN is touched with the finger FG. However, the direction in which the face of the character CR faces does not change. In the example shown in FIG. 2, the first touch after the predetermined game is started is the touch on the neutral region RN. In this case, the orientation of the face of the character CR is maintained in the orientation shown in FIG. 1 (front direction in the touch panel coordinate system ΣS). That is, when the touch position P of the finger FG exists in the neutral area RN, the orientation of the face of the character CR is maintained in the same orientation as before the user touched the neutral area RN with the finger FG. When the finger FG is separated from the touch panel 1002, in the case where the face direction of the character CR in the touch panel coordinate system ΣS is set to a predetermined direction (for example, the front direction in the touch panel coordinate system ΣS), the neutral region RN is displayed. When the finger FG is touched, the orientation of the face of the character CR is set to a predetermined orientation. Hereinafter, the process executed when the finger FG is separated from the touch panel 1002 is also referred to as a non-touch process.

ユーザは、ニュートラル領域RNを指FGでタッチした後、例えば、指FGがタッチパネル1002に接触した状態を維持しつつ指FGを傾けることで、操作領域Vのうち、入力領域RDr、RDl、RDu及びRDdの何れかの領域にタッチすることができる。そして、端末装置10は、図3及び図4に示すように、指FGのタッチ位置Pが入力領域RDに存在する場合、キャラクタCRの顔を、タッチパネル座標系ΣSにおける方向であって、タッチ位置Pが存在する入力領域RDに対応する方向に向ける旨の指示を受け付ける。   After touching the neutral area RN with the finger FG, the user tilts the finger FG while maintaining the state in which the finger FG is in contact with the touch panel 1002, so that the input areas RDr, RDl, RDu and Any area of RDd can be touched. Then, as shown in FIGS. 3 and 4, when the touch position P of the finger FG exists in the input area RD, the terminal device 10 sets the face of the character CR to the touch position in the direction in the touch panel coordinate system ΣS. An instruction to turn to the direction corresponding to the input area RD in which P exists is accepted.

図3は、入力領域RDrがタッチされた場合の端末装置10の外観の一例を説明するための説明図である。端末装置10は、タッチ位置Pが入力領域RDrに存在する場合、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、+Xs方向(「第1の操作方向」の一例)とする旨の指示を受け付ける。この結果、+Xs方向を向いた顔のキャラクタCRが、タッチパネル1002に表示される。   FIG. 3 is an explanatory diagram for describing an example of the external appearance of the terminal device 10 when the input area RDr is touched. When the touch position P exists in the input area RDr, the terminal device 10 gives an instruction to set the direction in which the face of the character CR in the touch panel coordinate system ΣS faces to the + Xs direction (an example of the “first operation direction”). Accept. As a result, the face character CR facing the + Xs direction is displayed on the touch panel 1002.

図4は、入力領域RDlがタッチされた場合の端末装置10の外観の一例を説明するための説明図である。端末装置10は、タッチ位置Pが入力領域RDlに存在する場合、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、−Xs方向(「第2の操作方向」の一例)とする旨の指示を受け付ける。この結果、+Xs方向を向いた顔のキャラクタCRが、タッチパネル1002に表示される。   FIG. 4 is an explanatory diagram for describing an example of the external appearance of the terminal device 10 when the input area RD1 is touched. When the touch position P exists in the input area RDl, the terminal device 10 instructs that the direction in which the face of the character CR in the touch panel coordinate system ΣS faces is the −Xs direction (an example of the “second operation direction”). Accept. As a result, the face character CR facing the + Xs direction is displayed on the touch panel 1002.

なお、本実施形態において、端末装置10は、タッチ位置Pが入力領域RDuに存在する場合、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、+Ys方向とする旨の指示を受け付ける。また、本実施形態において、端末装置10は、タッチ位置Pが入力領域RDdに存在する場合、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、−Ys方向とする旨の指示を受け付ける。   In the present embodiment, when the touch position P is in the input area RDu, the terminal device 10 receives an instruction to set the direction in which the face of the character CR in the touch panel coordinate system ΣS faces the + Ys direction. Further, in the present embodiment, when the touch position P exists in the input area RDd, the terminal device 10 receives an instruction to set the direction in which the face of the character CR in the touch panel coordinate system ΣS faces to the −Ys direction.

なお、詳細は後述する図7から図10等で説明するが、本実施形態に係る端末装置10は、入力領域RDrに存在するタッチ位置Pに基づいて、特徴位置CPr(「第1の位置」の一例)を決定し、入力領域RDlに存在するタッチ位置Pに基づいて、特徴位置CPl(「第2の位置」の一例)を決定する。そして、端末装置10は、特徴位置CPr及び特徴位置CPlに基づいて、タッチパネル座標系ΣSにおける操作領域Vの位置を修正することができる。すなわち、端末装置10は、特徴位置CPr及び特徴位置CPlに基づいて、タッチパネル座標系ΣSにおける基準位置Ovを修正することで、タッチパネル座標系ΣSから見た操作領域座標系ΣVの位置を修正する。なお、特徴位置CPr及び特徴位置CPlは、特に区別しない場合等では、特徴位置CPとも称される。   Note that, although details will be described later with reference to FIGS. 7 to 10 and the like, the terminal device 10 according to the present embodiment, based on the touch position P existing in the input region RDr, the characteristic position CPr (“first position”). The example) is determined, and the characteristic position CP1 (an example of the “second position”) is determined based on the touch position P existing in the input area RD1. Then, the terminal device 10 can correct the position of the operation area V in the touch panel coordinate system ΣS based on the characteristic position CPr and the characteristic position CPl. That is, the terminal device 10 corrects the position of the operation area coordinate system ΣV viewed from the touch panel coordinate system ΣS by correcting the reference position Ov in the touch panel coordinate system ΣS based on the characteristic positions CPr and CPl. The characteristic position CPr and the characteristic position CPl are also referred to as the characteristic position CP unless otherwise specified.

[2.端末装置の構成]
以下、図5及び図6を参照しながら、端末装置10の構成の一例について説明する。
[2. Configuration of terminal device]
Hereinafter, an example of the configuration of the terminal device 10 will be described with reference to FIGS. 5 and 6.

図5は、端末装置10の構成の一例を示す機能ブロック図である。   FIG. 5 is a functional block diagram showing an example of the configuration of the terminal device 10.

図5に示すように、端末装置10は、端末装置10の各部を制御する制御部11と、画像を表示するための表示部12と、端末装置10のユーザによる指示の入力を受け付ける入力部13と、各種情報を記憶する記憶部14と、端末装置10を振動させる振動発生部15とを有する。   As shown in FIG. 5, the terminal device 10 includes a control unit 11 that controls each unit of the terminal device 10, a display unit 12 for displaying an image, and an input unit 13 that receives an instruction input by a user of the terminal device 10. The storage unit 14 stores various information, and the vibration generation unit 15 that vibrates the terminal device 10.

表示部12の機能及び入力部13の機能は、図1に示したタッチパネル1002により実現される。すなわち、タッチパネル1002は、各種画像を表示可能な表示部12として機能し、さらに、端末装置10のユーザUからの指示の入力を受け付ける入力部13として機能する。例えば、入力部13として機能するタッチパネル1002は、図1で説明したように、タッチパネル1002に対して物体が接触している場合に、当該物体のタッチパネル1002における接触位置であるタッチ位置Pを検出し、検出したタッチ位置Pを示すタッチ位置情報を周期的に出力する。なお、タッチパネル1002は、所定の単位時間(タッチ位置情報を出力する周期より短い時間)内に検出した複数の接触位置の平均をタッチ位置Pとして算出し、算出したタッチ位置Pを示すタッチ位置情報を周期的に出力してもよい。   The function of the display unit 12 and the function of the input unit 13 are realized by the touch panel 1002 shown in FIG. That is, the touch panel 1002 functions as the display unit 12 capable of displaying various images, and further functions as the input unit 13 that receives an input of an instruction from the user U of the terminal device 10. For example, the touch panel 1002 functioning as the input unit 13 detects the touch position P which is the contact position of the object on the touch panel 1002 when the object is in contact with the touch panel 1002, as described in FIG. , And periodically outputs touch position information indicating the detected touch position P. The touch panel 1002 calculates an average of a plurality of contact positions detected within a predetermined unit time (time shorter than the cycle of outputting the touch position information) as a touch position P, and touch position information indicating the calculated touch position P. May be output periodically.

記憶部14は、所定のゲームに係るプログラムと、タッチパネル1002から周期的に出力されるタッチ位置情報の示すタッチ位置Pの履歴を示すタッチ位置履歴情報と、特徴位置CP(図7に示す特徴位置CPr及び図8に示す特徴位置CPl等)を示す特徴位置情報と、タッチパネル座標系ΣSにおけるニュートラル領域RN及び入力領域RDの位置を示す操作領域情報とを含む各種情報を記憶する。振動発生部15は、タッチパネル1002を含む端末装置10全体を振動させる。   The storage unit 14 stores a program related to a predetermined game, touch position history information indicating a history of the touch position P indicated by the touch position information periodically output from the touch panel 1002, and characteristic position CP (characteristic position illustrated in FIG. 7). CPr and characteristic position information indicating the characteristic position CP1 shown in FIG. 8) and various pieces of information including operation region information indicating the positions of the neutral region RN and the input region RD in the touch panel coordinate system ΣS are stored. The vibration generator 15 vibrates the entire terminal device 10 including the touch panel 1002.

制御部11は、ゲーム制御部111と、表示制御部112と、タッチ位置情報取得部113と、特徴位置決定部114と、操作領域決定部115と、振動制御部116とを有する。   The control unit 11 includes a game control unit 111, a display control unit 112, a touch position information acquisition unit 113, a characteristic position determination unit 114, an operation area determination unit 115, and a vibration control unit 116.

ゲーム制御部111は、所定のゲームの進行を制御する。具体的には、ゲーム制御部111は、タッチ位置Pが入力領域RDに存在する場合に、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、タッチ位置Pが存在する入力領域RDに対応する方向に設定する。
表示制御部112は、表示部12が、仮想空間SP、キャラクタCR、及び、操作領域Vを表示するように、表示部12を制御する。
タッチ位置情報取得部113(「取得部」の一例)は、入力部13から周期的に出力されるタッチ位置情報を取得する。
特徴位置決定部114(「特徴位置決定部」の一例)は、ユーザの指FGがタッチパネル1002に対する接触を維持している期間であるタッチ期間において、タッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが入力領域RDr及びRDlの何れかの領域に存在する場合、タッチ位置Pに基づいて特徴位置CPを決定する。
操作領域決定部115(「配置決定部」の一例)は、特徴位置決定部114が決定した特徴位置CPr及び特徴位置CPlに基づいて、タッチパネル1002におけるニュートラル領域RNの位置を決定する。また、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、タッチパネル1002における操作領域Vの位置を決定する。
振動制御部116は、タッチ位置Pが、入力領域RDに存在しない状態から、入力領域RDに存在する状態に変化した場合、振動発生部15が端末装置10を振動させるように、振動発生部15を制御する。但し、振動制御部116は、タッチ位置Pが、入力領域RDに存在する状態から、入力領域RDに存在しない状態に変化した場合に、振動発生部15が端末装置10を振動させるように、振動発生部15を制御してもよい。あるいは、振動制御部116は、ユーザの指FGが、タッチパネル1002に対して接触していない状態から、接触している状態に変化した場合に、振動発生部15が端末装置10を振動させるように、振動発生部15を制御してもよい。以下では、ユーザの指FGが、タッチパネル1002に対して接触していない状態から、接触している状態に変化することを、「タッチイン」とも称する。
The game control unit 111 controls the progress of a predetermined game. Specifically, when the touch position P exists in the input region RD, the game control unit 111 corresponds to the input region RD where the touch position P exists, the direction in which the face of the character CR in the touch panel coordinate system ΣS faces. Set to the direction.
The display control unit 112 controls the display unit 12 so that the display unit 12 displays the virtual space SP, the character CR, and the operation area V.
The touch position information acquisition unit 113 (an example of “acquisition unit”) acquires the touch position information periodically output from the input unit 13.
The characteristic position determination unit 114 (an example of the “characteristic position determination unit”) acquires the touch position information acquired by the touch position information acquisition unit 113 during the touch period during which the user's finger FG maintains contact with the touch panel 1002. When the touch position P indicated by is present in any one of the input regions RDr and RDl, the characteristic position CP is determined based on the touch position P.
The operation area determination unit 115 (an example of an “arrangement determination unit”) determines the position of the neutral area RN on the touch panel 1002 based on the characteristic positions CPr and CPl determined by the characteristic position determination unit 114. Further, the operation area determination unit 115 determines the position of the operation area V on the touch panel 1002 based on the characteristic position CPr and the characteristic position CPl.
The vibration control unit 116 causes the vibration generation unit 15 to vibrate the terminal device 10 when the touch position P changes from a state in which the touch position P does not exist in the input region RD to a state in which the touch position P exists in the input region RD. To control. However, the vibration control unit 116 vibrates so that the vibration generation unit 15 vibrates the terminal device 10 when the touch position P changes from being in the input region RD to being not in the input region RD. The generation unit 15 may be controlled. Alternatively, the vibration control unit 116 causes the vibration generation unit 15 to vibrate the terminal device 10 when the user's finger FG changes from the state in which the user's finger FG is not in contact with the touch panel 1002 to the state in which the user's finger FG is in contact. The vibration generator 15 may be controlled. Hereinafter, changing the state in which the user's finger FG is not in contact with the touch panel 1002 from being in contact with the touch panel 1002 is also referred to as “touch-in”.

なお、端末装置10の構成は、図5に示した例に限定されない。例えば、振動発生部15は、端末装置10から省かれてもよい。この場合、振動制御部116は、制御部11から省かれてもよい。   The configuration of the terminal device 10 is not limited to the example shown in FIG. For example, the vibration generator 15 may be omitted from the terminal device 10. In this case, the vibration control unit 116 may be omitted from the control unit 11.

図6は、端末装置10のハードウェア構成の一例を示すハードウェア構成図である。   FIG. 6 is a hardware configuration diagram showing an example of the hardware configuration of the terminal device 10.

図6に示すように、端末装置10は、端末装置10の各部を制御するプロセッサ1000(「情報処理装置」の一例)と、各種情報を記憶するメモリ1001と、タッチパネル1002と、振動発生装置1003とを有する。   As illustrated in FIG. 6, the terminal device 10 includes a processor 1000 (an example of an “information processing device”) that controls each unit of the terminal device 10, a memory 1001 that stores various types of information, a touch panel 1002, and a vibration generation device 1003. Have and.

メモリ1001は、例えば、プロセッサ1000の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、所定のゲームに係るプログラム等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとを含み、記憶部14として機能する。
プロセッサ1000は、例えば、CPU(Central Processing Unit)であり、メモリ1001に記憶された所定のゲームに係るプログラムを実行し、当該プログラムに従って動作することで、制御部11として機能する。
タッチパネル1002は、上述のとおり、表示部12及び入力部13として機能する。
振動発生装置1003は、例えば、振動を発生する振動モータであり、振動発生部15として機能する。
The memory 1001 is, for example, a volatile memory such as a RAM (Random Access Memory) that functions as a work area of the processor 1000, and an EEPROM (Electrically Erasable Programmable Read-Only Memory) that stores various information such as a program related to a predetermined game. And the like, and functions as the storage unit 14.
The processor 1000 is, for example, a CPU (Central Processing Unit), executes a program related to a predetermined game stored in the memory 1001, and operates according to the program to function as the control unit 11.
The touch panel 1002 functions as the display unit 12 and the input unit 13 as described above.
The vibration generator 1003 is, for example, a vibration motor that generates vibration, and functions as the vibration generator 15.

なお、プロセッサ1000は、CPUに加え、または、CPUに代えて、GPU(Graphics Processing Unit)、DSP(Digital Signal
Processor)、または、FPGA(Field Programmable Gate Array)等のハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ1000により実現される制御部11の一部または全部は、DSP等のハードウェアにより実現されてもよい。
Note that the processor 1000 includes a GPU (Graphics Processing Unit) and a DSP (Digital Signal) in addition to or instead of the CPU.
Processor), or hardware such as FPGA (Field Programmable Gate Array). In this case, a part or all of the control unit 11 realized by the processor 1000 may be realized by hardware such as DSP.

[3.タッチ位置及び操作領域の関係]
以下、図7から図10を参照しながら、タッチパネル1002における指FGのタッチ位置P及び操作領域Vの関係の一例について説明する。
[3. Relationship between touch position and operation area]
Hereinafter, an example of the relationship between the touch position P of the finger FG on the touch panel 1002 and the operation area V will be described with reference to FIGS. 7 to 10.

図7から図10は、時刻t0から時刻t10までの期間における、タッチパネル1002への指FGのタッチ位置Pと、タッチパネル1002に設定された操作領域Vとの関係の変化の一例(以下、「タッチ位置変化例」とも称する)を説明するための説明図である。なお、以下では、時刻tにおけるタッチ位置Pをタッチ位置P[t]とも称し、時刻tにおける操作領域Vを操作領域V[t]とも称し、時刻tにおける操作領域座標系ΣVを操作領域座標系ΣV[t]とも称し、時刻tにおける基準位置Ovを基準位置Ov[t]とも称する。   7 to 10 are examples of changes in the relationship between the touch position P of the finger FG on the touch panel 1002 and the operation area V set on the touch panel 1002 during the period from time t0 to time t10 (hereinafter, referred to as “touch FIG. 8 is also an explanatory diagram for explaining “position change example”). In the following, the touch position P at time t is also referred to as a touch position P [t], the operation area V at time t is also referred to as an operation area V [t], and the operation area coordinate system ΣV at time t is the operation area coordinate system. It is also referred to as ΣV [t], and the reference position Ov at time t is also referred to as reference position Ov [t].

図7から図10に示すタッチ位置変化例では、時刻t0に所定のゲームが起動され、所定のゲームが起動されてからの最初のタッチとして、時刻t1に指FGがニュートラル領域RN内のタッチ位置P[t1]にタッチインする場合を想定する。また、図7から図10等に示すタッチ位置変化例では、時刻tnから時刻t(n+1)にかけて、指FGがタッチ位置P[tn]からタッチ位置P[t(n+1)]へと、タッチパネル1002に接触しながら移動する場合を想定する(nは、1以上の自然数)。先ず、図7を参照して、所定のゲームが起動されてから、タッチ位置Pが入力領域RDrに侵入するまでの端末装置10の動作の概要を説明する。   In the touch position change examples shown in FIGS. 7 to 10, a predetermined game is started at time t0, and the finger FG is touched in the neutral region RN at time t1 as the first touch after the predetermined game is started. It is assumed that P [t1] is touched in. In addition, in the touch position change examples shown in FIGS. 7 to 10 and the like, from time tn to time t (n + 1), the finger FG changes from the touch position P [tn] to the touch position P [t (n + 1)], and the touch panel 1002. It is assumed that the robot moves while touching (n is a natural number of 1 or more). First, with reference to FIG. 7, an outline of the operation of the terminal device 10 from the start of a predetermined game to the touch position P entering the input area RDr will be described.

図7は、所定のゲームが起動されてから、タッチ位置Pが入力領域RDrに侵入するまでの端末装置10の動作の一例を説明するための説明図である。   FIG. 7 is an explanatory diagram for explaining an example of the operation of the terminal device 10 after the predetermined game is started until the touch position P enters the input region RDr.

時刻t0では、所定のゲームが起動されたため、操作領域決定部115は、予め決められた位置を基準位置Ov[t0]とする操作領域座標系ΣV[t0]を設定し、基準位置Ov[t0]に応じた位置に、ニュートラル領域RN、入力領域RDr、RDl、RDu及びRDdを含む操作領域V[t0]を設定する。そして、操作領域決定部115は、当該操作領域Vに含まれるニュートラル領域RN及び入力領域RDの位置を、操作領域情報として記憶部14に記憶する。   At time t0, since a predetermined game has been started, the operation area determination unit 115 sets the operation area coordinate system ΣV [t0] with the predetermined position as the reference position Ov [t0], and the reference position Ov [t0]. ], The operation area V [t0] including the neutral area RN and the input areas RDr, RDl, RDu, and RDd is set. Then, the operation area determination unit 115 stores the positions of the neutral area RN and the input area RD included in the operation area V in the storage unit 14 as operation area information.

時刻t1において、所定のゲームが起動されてからの最初のタッチとして、指FGがニュートラル領域RN内のタッチ位置P[t1]にタッチインする。すなわち、ユーザの指FGがタッチパネル1002に対する接触を維持しているタッチ期間は、時刻t1から開始される。タッチ位置P[t1]がニュートラル領域RNに存在するため、操作領域決定部115は、操作領域V[t1]の位置を、操作領域V[t0]と同じ位置に維持する。例えば、操作領域決定部115は、操作領域V[t1]と操作領域V[t0]とが同一の位置となるように、基準位置Ov[t1]及び操作領域座標系ΣV[t1]を設定する。   At time t1, the finger FG touches in the touch position P [t1] in the neutral region RN as the first touch after the predetermined game is activated. That is, the touch period in which the user's finger FG maintains contact with the touch panel 1002 starts from time t1. Since the touch position P [t1] exists in the neutral area RN, the operation area determination unit 115 maintains the position of the operation area V [t1] at the same position as the operation area V [t0]. For example, the operation area determination unit 115 sets the reference position Ov [t1] and the operation area coordinate system ΣV [t1] so that the operation area V [t1] and the operation area V [t0] are at the same position. .

時刻t1から時刻t2にかけて、タッチ位置Pは、ニュートラル領域RN内のタッチ位置P[t1]から入力領域RDr内のタッチ位置P[t2]に向かって移動する。そして、図7に示す例では、時刻t2において、タッチ位置Pが入力領域RDrに侵入する。すなわち、タッチ位置Pが入力領域RDrに存在している状態が継続する期間である入力領域タッチ期間TRrは、時刻t2から開始される。   From time t1 to time t2, the touch position P moves from the touch position P [t1] in the neutral area RN to the touch position P [t2] in the input area RDr. Then, in the example shown in FIG. 7, the touch position P enters the input region RDr at time t2. That is, the input region touch period TRr, which is a period in which the state in which the touch position P exists in the input region RDr continues, starts from time t2.

本実施形態において、特徴位置決定部114は、例えば、入力領域RDr内の最新のタッチ位置Pに基づく位置を特徴位置CPrとして特定するか現状の特徴位置CPrを更新せずに維持するかをタッチ位置Pに基づいて判定し、判定結果に従って特徴位置CPrを決定する。以下では、特徴位置CPrを更新する条件は、第1特定条件とも称される。   In the present embodiment, the characteristic position determination unit 114 touches, for example, whether the position based on the latest touch position P in the input area RDr is specified as the characteristic position CPr or the current characteristic position CPr is maintained without being updated. The characteristic position CPr is determined according to the determination result based on the position P. Hereinafter, the condition for updating the characteristic position CPr is also referred to as a first specific condition.

本実施形態において、第1特定条件は、一例として、入力領域タッチ期間TRrのうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRrが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も+Xv側に位置するという、タッチ位置Pに係る条件である。例えば、特徴位置決定部114は、入力領域タッチ期間TRrのうち一の時刻に対応するタッチ位置Pが、第1特定条件を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPrとして特定する。換言すれば、本実施形態において、特徴位置決定部114は、入力領域タッチ期間TRrの中で、タッチ位置Pが、基準位置Ovから+Xv方向に対して最も離れた位置であるという条件を充足する場合に、当該タッチ位置Pを特徴位置CPrに決定する。   In the present embodiment, as an example of the first specific condition, the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time of the input region touch period TRr is the input region touch period TRr. Of the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the period from the start time to the one time, the touch that is located on the + Xv side most This is a condition related to the position P. For example, when the touch position P corresponding to one time in the input region touch period TRr satisfies the first specific condition, the characteristic position determination unit 114 determines the touch position P corresponding to the one time as a characteristic. It is specified as the position CPr. In other words, in the present embodiment, the characteristic position determination unit 114 satisfies the condition that the touch position P is the farthest position in the + Xv direction from the reference position Ov in the input area touch period TRr. In this case, the touch position P is determined as the characteristic position CPr.

図7に示す例では、入力領域タッチ期間TRrが時刻t2から開始される。従って、時刻t2では、入力領域タッチ期間TRrの中で、タッチ位置P[t2]が、基準位置Ovから+Xv方向に対して最も離れた位置になる。このため、特徴位置決定部114は、時刻t2において、タッチ位置P[t2]を特徴位置CPrに決定する。   In the example shown in FIG. 7, the input area touch period TRr starts from time t2. Therefore, at time t2, the touch position P [t2] is the position farthest from the reference position Ov in the + Xv direction in the input area touch period TRr. Therefore, the characteristic position determination unit 114 determines the touch position P [t2] as the characteristic position CPr at time t2.

なお、上述のとおり、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、操作領域座標系ΣV、基準位置Ov、及び、操作領域Vの位置を修正する。しかし、時刻t2では、特徴位置CPrは特定されているが、特徴位置CPlは特定されていない。このため、操作領域決定部115は、操作領域V[t2]と操作領域V[t1]とが同一の位置となるように、基準位置Ov[t2]及び操作領域座標系ΣV[t2]を設定する。次に、図8を参照して、特徴位置CPrが特定されてから、タッチ位置Pが入力領域RDlに侵入するまでの端末装置10の動作の概要を説明する。   As described above, the operation area determination unit 115 corrects the operation area coordinate system ΣV, the reference position Ov, and the position of the operation area V based on the characteristic position CPr and the characteristic position CPl. However, at time t2, the characteristic position CPr is specified, but the characteristic position CPl is not specified. Therefore, the operation area determination unit 115 sets the reference position Ov [t2] and the operation area coordinate system ΣV [t2] so that the operation area V [t2] and the operation area V [t1] are at the same position. To do. Next, with reference to FIG. 8, an outline of the operation of the terminal device 10 after the characteristic position CPr is specified until the touch position P enters the input region RDl will be described.

図8は、特徴位置CPrが特定されてから、タッチ位置Pが入力領域RDlに侵入するまでの端末装置10の動作の一例を説明するための説明図である。なお、図8は、図7に示した動作の続きを示す。   FIG. 8 is an explanatory diagram for describing an example of the operation of the terminal device 10 after the characteristic position CPr is specified until the touch position P enters the input area RDl. Note that FIG. 8 shows a continuation of the operation shown in FIG. 7.

時刻t2から時刻t3にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t2]から入力領域RDr内のタッチ位置P[t3]に移動する。時刻t3におけるタッチ位置P[t3]は、入力領域RDr内のタッチ位置P[t2]よりも+Xv側に存在するため、第1特定条件を充足する。このため、特徴位置決定部114は、時刻t3において、タッチ位置P[t3]を特徴位置CPrに決定する。換言すれば、特徴位置決定部114は、時刻t3において、特徴位置CPrを、タッチ位置P[t2]からタッチ位置P[t3]に更新する。
なお、時刻t3においても、特徴位置CPlが特定されていないため、操作領域決定部115は、操作領域V[t3]と操作領域V[t2]とが同一の位置となるように、基準位置Ov[t3]及び操作領域座標系ΣV[t3]を設定する。
From time t2 to time t3, the touch position P moves from the touch position P [t2] in the input area RDr to the touch position P [t3] in the input area RDr. The touch position P [t3] at time t3 exists on the + Xv side of the touch position P [t2] in the input area RDr, and thus satisfies the first specific condition. Therefore, the characteristic position determination unit 114 determines the touch position P [t3] as the characteristic position CPr at time t3. In other words, the characteristic position determination unit 114 updates the characteristic position CPr from the touch position P [t2] to the touch position P [t3] at time t3.
Since the characteristic position CP1 is not specified even at the time t3, the operation region determination unit 115 sets the reference position Ov so that the operation region V [t3] and the operation region V [t2] are at the same position. [T3] and the operation area coordinate system ΣV [t3] are set.

時刻t3から時刻t4にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t3]から入力領域RDr内のタッチ位置P[t4]に移動する。時刻t4におけるタッチ位置P[t4]は、特徴位置CPr(タッチ位置P[t3])よりも−Xv側に存在する。換言すれば、タッチ位置P[t3]は、タッチ位置P[t2]及びタッチ位置P[t4]よりも+Xv側である。このため、特徴位置決定部114は、時刻t4では、タッチ位置P[t3]が特徴位置CPrとして特定されている状態を維持する。
なお、時刻t4においても、特徴位置CPlが特定されていないため、操作領域決定部115は、操作領域V[t4]と操作領域V[t3]とが同一の位置となるように、基準位置Ov[t4]及び操作領域座標系ΣV[t4]を設定する。
From time t3 to time t4, the touch position P moves from the touch position P [t3] in the input area RDr to the touch position P [t4] in the input area RDr. The touch position P [t4] at time t4 is on the −Xv side of the characteristic position CPr (touch position P [t3]). In other words, the touch position P [t3] is on the + Xv side of the touch position P [t2] and the touch position P [t4]. Therefore, the characteristic position determination unit 114 maintains the state in which the touch position P [t3] is specified as the characteristic position CPr at time t4.
Since the characteristic position CP1 has not been specified even at time t4, the operation region determination unit 115 sets the reference position Ov so that the operation region V [t4] and the operation region V [t3] are at the same position. [T4] and the operation area coordinate system ΣV [t4] are set.

時刻t4から時刻t5にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t4]から入力領域RDl内のタッチ位置P[t5]に向かって移動する。そして、図8に示す例では、時刻t5において、タッチ位置Pが入力領域RDlに侵入する。すなわち、タッチ位置Pが入力領域RDlに存在している状態が継続する期間である入力領域タッチ期間TRlは、時刻t5から開始される。なお、入力領域タッチ期間TRrは、時刻t4から時刻t5の間の時刻(タッチ位置Pがニュートラル領域RNに侵入した時刻)に終了する。なお、以下では、タッチ位置Pが入力領域RDuに存在している状態が継続する期間を、入力領域タッチ期間TRuとも称し、タッチ位置Pが入力領域RDdに存在している状態が継続する期間を、入力領域タッチ期間TRdとも称する。また、入力領域タッチ期間TRr、TRl、TRu、TRdは、特に区別しない場合等では、入力領域タッチ期間TRとも称される。   From time t4 to time t5, the touch position P moves from the touch position P [t4] in the input area RDr to the touch position P [t5] in the input area RDl. Then, in the example shown in FIG. 8, the touch position P enters the input region RDl at time t5. That is, the input region touch period TRl, which is a period in which the state in which the touch position P exists in the input region RDl continues, starts from time t5. The input area touch period TRr ends at the time between the time t4 and the time t5 (the time when the touch position P enters the neutral area RN). In the following, a period in which the touch position P remains in the input region RDu is also referred to as an input region touch period TRu, and a period in which the touch position P remains in the input region RDd continues. , And also referred to as the input area touch period TRd. Further, the input region touch periods TRr, TRl, TRu, TRd are also referred to as the input region touch period TR unless otherwise specified.

本実施形態において、特徴位置決定部114は、例えば、入力領域RDl内の最新のタッチ位置Pに基づく位置を特徴位置CPlとして特定するか現状の特徴位置CPlを更新せずに維持するかをタッチ位置Pに基づいて判定し、判定結果に従って特徴位置CPlを決定する。以下では、特徴位置CPlを更新するかの条件は、第2特定条件とも称される。   In the present embodiment, the characteristic position determination unit 114 touches, for example, whether the position based on the latest touch position P in the input area RDl is specified as the characteristic position CPl or the current characteristic position CPl is maintained without being updated. The characteristic position CPl is determined according to the determination result based on the position P. Hereinafter, the condition for updating the characteristic position CPl is also referred to as a second specific condition.

本実施形態において、第2特定条件は、一例として、入力領域タッチ期間TRlのうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRlが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も−Xv側に位置するという、タッチ位置Pに係る条件である。例えば、特徴位置決定部114は、入力領域タッチ期間TRlのうち一の時刻に対応するタッチ位置Pが、第2特定条件を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPlとして特定する。換言すれば、本実施形態において、特徴位置決定部114は、入力領域タッチ期間TRlの中で、タッチ位置Pが、基準位置Ovから−Xv方向に対して最も離れた位置であるという条件を充足する場合に、当該タッチ位置Pを特徴位置CPlに決定する。なお、以下では、第1特定条件及び第2特定条件を、特徴位置特定条件と総称する場合がある。   In the present embodiment, the second specific condition is, for example, that the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time of the input region touch period TRl is the input region touch period TRl. Of the one or a plurality of touch positions P indicated by the one or a plurality of touch position information acquired by the touch position information acquisition unit 113 in the period from the start time to the one time, the touch position information is located on the most −Xv side. This is a condition related to the touch position P. For example, when the touch position P corresponding to one time in the input area touch period TRl satisfies the second specific condition, the characteristic position determination unit 114 determines the touch position P corresponding to the one time as a feature. It is specified as the position CPl. In other words, in the present embodiment, the characteristic position determination unit 114 satisfies the condition that the touch position P is the position farthest from the reference position Ov in the −Xv direction in the input area touch period TRl. In this case, the touch position P is determined as the characteristic position CPl. In addition, below, the 1st specific condition and the 2nd specific condition may be generically called a characteristic position specific condition.

図8に示す例では、入力領域タッチ期間TRlが時刻t5から開始される。従って、時刻t5では、入力領域タッチ期間TRlの中で、タッチ位置P[t5]が、基準位置Ovから−Xv方向に対して最も離れた位置となる。すなわち、時刻t5におけるタッチ位置P[t5]は、第2特定条件を充足する。このため、特徴位置決定部114は、時刻t5において、タッチ位置P[t5]を特徴位置CPlに決定する。   In the example shown in FIG. 8, the input area touch period TRl starts from time t5. Therefore, at time t5, the touch position P [t5] is the position farthest from the reference position Ov in the −Xv direction in the input area touch period TRl. That is, the touch position P [t5] at time t5 satisfies the second specific condition. Therefore, the characteristic position determination unit 114 determines the touch position P [t5] as the characteristic position CPl at time t5.

ところで、タッチ位置Pが一の入力領域RDから他の入力領域RDに移動した後に、再び、タッチ位置Pが一の入力領域RDに侵入する場合がある。例えば、タッチ位置Pが入力領域RDrに存在する一の入力領域タッチ期間TRrの終了後に、再び、タッチ位置Pが入力領域RDrに存在する他の入力領域タッチ期間TRrが開始される場合がある。この場合、特徴位置決定部114は、一の入力領域タッチ期間TRrの終了後から他の入力領域タッチ期間TRrが開始されるまでの期間において、一の入力領域タッチ期間TRrの終了時における特徴位置CPrの決定結果を維持する。そして、この場合、特徴位置決定部114は、他の入力領域タッチ期間TRrが開始されると、一の入力領域タッチ期間TRrの終了時における特徴位置CPの決定結果を破棄するとともに、他の入力領域タッチ期間TRrにおいて新たに特徴位置CPを決定する。   By the way, there are cases where the touch position P enters the one input region RD again after the touch position P moves from the one input region RD to another input region RD. For example, after the end of one input area touch period TRr in which the touch position P is in the input area RDr, another input area touch period TRr in which the touch position P is in the input area RDr may be started again. In this case, the characteristic position determination unit 114 determines the characteristic position at the end of the one input region touch period TRr in the period from the end of the one input region touch period TRr to the start of the other input region touch period TRr. Maintain CPr determination results. Then, in this case, when the other input area touch period TRr is started, the characteristic position determination unit 114 discards the determination result of the characteristic position CP at the end of the one input area touch period TRr, and the other input is performed. The characteristic position CP is newly determined in the area touch period TRr.

より具体的には、特徴位置決定部114は、一の入力領域タッチ期間TRrにおいて、特徴位置CPrを決定すると、当該決定した特徴位置CPrを特徴位置情報として記憶部14に記憶する。そして、特徴位置決定部114は、他の入力領域タッチ期間TRrにおいて、特徴位置CPrを決定すると、当該決定した特徴位置CPrにより、特徴位置情報を更新する。タッチ位置Pが入力領域RDlに再侵入した場合の特徴位置CPlの更新処理も、タッチ位置Pが入力領域RDrに再侵入した場合の特徴位置CPrの更新処理と同様である。なお、本実施形態では、タッチ位置Pが一の入力領域RDからニュートラル領域RNに移動した後に他の入力領域RDに侵入することなく一の入力領域RDに再侵入する場合、一の入力領域タッチ期間TRの終了時における特徴位置CPの決定結果は、破棄されない。この場合、特徴位置決定部114は、一の入力領域RDへのタッチ位置Pの再侵入により他の入力領域タッチ期間TRが開始されると、タッチ位置Pと一の入力領域タッチ期間TRの終了時における特徴位置CPの決定結果とに基づいて、特徴位置CPを決定する。   More specifically, when the characteristic position determination unit 114 determines the characteristic position CPr in one input area touch period TRr, the characteristic position determination unit 114 stores the determined characteristic position CPr in the storage unit 14 as characteristic position information. Then, when the characteristic position determination unit 114 determines the characteristic position CPr in another input area touch period TRr, the characteristic position determination unit 114 updates the characteristic position information with the determined characteristic position CPr. The updating process of the characteristic position CPl when the touch position P re-enters the input region RDl is similar to the updating process of the characteristic position CPr when the touch position P re-enters the input region RDr. In the present embodiment, when the touch position P moves from one input area RD to the neutral area RN and then re-enters one input area RD without entering another input area RD, one input area touch The determination result of the characteristic position CP at the end of the period TR is not discarded. In this case, when the other input area touch period TR is started by the re-entry of the touch position P into the one input area RD, the characteristic position determining unit 114 ends the touch position P and the one input area touch period TR. The characteristic position CP is determined based on the determination result of the characteristic position CP at the time.

図8に示す例では、特徴位置決定部114は、入力領域タッチ期間TRrの終了時において、時刻t3におけるタッチ位置P[t3]を、特徴位置CPrに決定している。このため、記憶部14は、入力領域タッチ期間TRrが終了した後の時刻t5においても、特徴位置CPrとしてタッチ位置P[t3]を示す特徴位置情報を記憶した状態を維持する。   In the example shown in FIG. 8, the characteristic position determination unit 114 determines the touch position P [t3] at time t3 as the characteristic position CPr at the end of the input area touch period TRr. Therefore, the storage unit 14 maintains the state in which the characteristic position information indicating the touch position P [t3] is stored as the characteristic position CPr even at the time t5 after the input area touch period TRr ends.

本実施形態において、操作領域決定部115は、上述のとおり、特徴位置CPr及び特徴位置CPlに基づいて操作領域Vの位置を修正する。
具体的には、本実施形態において、操作領域決定部115は、まず、特徴位置CPr及び特徴位置CPlに基づいて補正位置Mdを定める。次に、操作領域決定部115は、基準位置Ovを起点とし、補正位置Mdを終点とする操作領域移動ベクトルVmdを定める。そして、操作領域決定部115は、基準位置Ov、操作領域座標系ΣV、及び、操作領域Vを、操作領域移動ベクトルVmdに対応する移動量だけ移動させる。これにより、操作領域決定部115は、基準位置Ovが補正位置Mdに一致するように、タッチパネル座標系ΣSにおける基準位置Ov、操作領域座標系ΣV、及び、操作領域Vの位置を修正することができる。
In the present embodiment, the operation area determination unit 115 corrects the position of the operation area V based on the characteristic position CPr and the characteristic position CPl, as described above.
Specifically, in the present embodiment, the operation area determination unit 115 first determines the correction position Md based on the characteristic position CPr and the characteristic position CPl. Next, the operation area determination unit 115 determines the operation area movement vector Vmd having the reference position Ov as the starting point and the correction position Md as the ending point. Then, the operation area determination unit 115 moves the reference position Ov, the operation area coordinate system ΣV, and the operation area V by the movement amount corresponding to the operation area movement vector Vmd. As a result, the operation area determining unit 115 can correct the positions of the reference position Ov, the operation area coordinate system ΣV, and the operation area V in the touch panel coordinate system ΣS so that the reference position Ov matches the correction position Md. it can.

なお、本実施形態では、ニュートラル領域RNの中心(ニュートラル領域RNと入力領域RDとの境界を示す円BDnの中心)が基準位置Ovであるため、操作領域決定部115は、基準位置Ovの位置を修正することにより、ニュートラル領域RNの位置を修正することができる。また、本実施形態では、ニュートラル領域RNの大きさ(例えば、円BDnの半径)は、所定の大きさに維持され、ニュートラル領域RNの位置の修正前後で変化しない。操作領域決定部115は、操作領域Vの位置を修正した場合、当該操作領域Vに含まれるニュートラル領域RN及び入力領域RDの位置により、記憶部14に記憶されている操作領域情報を更新する。なお、以下では、時刻tにおいて定められた操作領域移動ベクトルVmdを、操作領域移動ベクトルVmd[t]とも称し、時刻tにおいて定めた補正位置Mdを、補正位置Md[t]とも称する。   In the present embodiment, the center of the neutral region RN (the center of the circle BDn indicating the boundary between the neutral region RN and the input region RD) is the reference position Ov, so the operation region determination unit 115 determines the position of the reference position Ov. Can be corrected to correct the position of the neutral region RN. Further, in the present embodiment, the size of the neutral region RN (for example, the radius of the circle BDn) is maintained at a predetermined size and does not change before and after the correction of the position of the neutral region RN. When the position of the operation region V is corrected, the operation region determination unit 115 updates the operation region information stored in the storage unit 14 with the positions of the neutral region RN and the input region RD included in the operation region V. Note that, hereinafter, the operation area movement vector Vmd determined at the time t is also referred to as an operation area movement vector Vmd [t], and the correction position Md determined at the time t is also referred to as a correction position Md [t].

例えば、時刻t5において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t3])と特徴位置CPl(タッチ位置P[t5])との中点を、補正位置Md[t5]として定める。また、操作領域決定部115は、基準位置Ov[t5]を起点とし、補正位置Md[t5]を終点とする操作領域移動ベクトルVmd[t5]を定める。そして、操作領域決定部115は、図9に示す時刻t6において、基準位置Ovが補正位置Md[t5]に一致するように、操作領域Vの位置を修正する。   For example, at time t5, the operation area determination unit 115 determines the midpoint between the characteristic position CPr (touch position P [t3]) and the characteristic position CPl (touch position P [t5]) as the correction position Md [t5]. . In addition, the operation area determination unit 115 determines the operation area movement vector Vmd [t5] having the reference position Ov [t5] as the starting point and the correction position Md [t5] as the ending point. Then, the operation area determination unit 115 corrects the position of the operation area V at time t6 shown in FIG. 9 so that the reference position Ov matches the correction position Md [t5].

なお、本実施形態では、操作領域決定部115が、基準位置Ovを操作領域移動ベクトルVmdに対応する移動量だけ移動させることで、基準位置Ovを修正する場合を例示しているが、本発明はこのような態様に限定されるものではない。操作領域決定部115は、単に、特徴位置CPr及び特徴位置CPlに基づいて定めた補正位置Mdを、基準位置Ovとして設定してもよい。換言すれば、操作領域決定部115は、例えば、一の時刻において補正位置Mdを決定した場合に、当該一の時刻における基準位置Ovを考慮することなく、決定した補正位置Mdに基づいて、一の時刻よりも後の他の時刻における基準位置Ovを決定してもよい。   It should be noted that in the present embodiment, the operation area determination unit 115 exemplifies a case where the reference position Ov is corrected by moving the reference position Ov by the movement amount corresponding to the operation area movement vector Vmd. Is not limited to such an embodiment. The operation area determination unit 115 may simply set the correction position Md determined based on the characteristic position CPr and the characteristic position CPl as the reference position Ov. In other words, for example, when the correction position Md is determined at one time, the operation region determination unit 115 does not consider the reference position Ov at the one time and, based on the determined correction position Md, The reference position Ov at another time after the time of may be determined.

本実施形態において、操作領域決定部115は、一例として、特徴位置CPrと特徴位置CPlとの中点の位置を、補正位置Mdとして定める。但し、操作領域決定部115は、例えば、特徴位置CPr及び特徴位置CPlの間の位置を、補正位置Mdとして定めてもよいし、特徴位置CPr及び特徴位置CPlから等しい距離となる位置を、補正位置Mdとして定めてもよい。要するに、操作領域決定部115は、特徴位置CPr及び特徴位置CPlにより規定される位置を、補正位置Mdとして定めればよい。例えば、操作領域決定部115は、特徴位置CPrと特徴位置CPlとを結ぶ線分からの距離が所定の基準距離以下となる基準領域内の位置を、補正位置Mdとして定めてもよい。   In the present embodiment, the operation area determination unit 115 determines, as an example, the position of the midpoint between the characteristic position CPr and the characteristic position CPl as the correction position Md. However, the operation area determination unit 115 may determine, for example, a position between the characteristic position CPr and the characteristic position CPl as the correction position Md, or corrects a position having an equal distance from the characteristic position CPr and the characteristic position CPl. It may be set as the position Md. In short, the operation area determination unit 115 may set the position defined by the characteristic position CPr and the characteristic position CPl as the correction position Md. For example, the operation area determination unit 115 may set the position in the reference area where the distance from the line segment connecting the characteristic position CPr and the characteristic position CPl is equal to or less than the predetermined reference distance as the correction position Md.

また、例えば、操作領域決定部115は、特徴位置CPr及び特徴位置CPlのうち先に決定された特徴位置CPを、先行特徴位置と称し、特徴位置CPr及び特徴位置CPlのうち後に決定された特徴位置CPを、後行特徴位置と称する場合、先行特徴位置よりも後行特徴位置に近い位置を、補正位置Mdとして定めてもよい。この例によれば、補正位置Mdが指FGによる最新のタッチ位置Pの近傍に設けられるため、補正位置Mdを中心とする円形のニュートラル領域RNも最新のタッチ位置Pの近傍に設けられる。このため、補正位置Mdが先行特徴位置よりも後行特徴位置に近い位置に設定される場合、補正位置Mdが後行特徴位置よりも先行特徴位置に近い位置に設定される場合と比較して、タッチ位置Pを、後行特徴位置に対応する入力領域RDからニュートラル領域RNに変化させる際の指FGの移動量を小さくすることが可能となる。すなわち、この例によれば、補正位置Mdが後行特徴位置よりも先行特徴位置に近い位置に設定される場合と比較して、タッチ位置Pが入力領域RD及びニュートラル領域RNの間を往復するように指FGを移動させる操作における操作性を、より良好に保つことが可能となる。   In addition, for example, the operation region determination unit 115 calls the characteristic position CP determined first among the characteristic positions CPr and CPl as a preceding characteristic position, and the characteristic determined after the characteristic position CPr and the characteristic position CPl. When the position CP is referred to as a trailing feature position, a position closer to the trailing feature position than the leading feature position may be set as the correction position Md. According to this example, since the correction position Md is provided in the vicinity of the latest touch position P with the finger FG, the circular neutral region RN centered on the correction position Md is also provided in the vicinity of the latest touch position P. Therefore, when the corrected position Md is set to a position closer to the succeeding characteristic position than the preceding characteristic position, compared to the case where the corrected position Md is set to a position closer to the preceding characteristic position than the succeeding characteristic position. , It is possible to reduce the amount of movement of the finger FG when changing the touch position P from the input region RD corresponding to the following characteristic position to the neutral region RN. That is, according to this example, the touch position P reciprocates between the input region RD and the neutral region RN, as compared with the case where the correction position Md is set to a position closer to the preceding feature position than the following feature position. As described above, the operability in the operation of moving the finger FG can be better maintained.

また、例えば、操作領域決定部115は、特徴位置CPrと特徴位置CPlとを結ぶ線分上、または、基準領域内であって、先行特徴位置よりも後行特徴位置に近い位置のうち、後行特徴位置との間隔が所定の基準間隔以上、離間する位置を、補正位置Mdとして定めてもよい。この場合、後行特徴位置に対応する入力領域RDに存在する最新のタッチ位置Pとニュートラル領域RNとの間隔を、所定の基準間隔とニュートラル領域RNの大きさ(例えば、円BDnの半径)とにより定まる間隔以上離間させることができる。このため、この例によれば、補正位置Mdと後行特徴位置との間隔が所定の基準間隔未満となる場合と比較して、ユーザの意図する入力領域RDとは異なるニュートラル領域RNに誤って指FGをタッチさせてしまうという誤操作が生じる可能性を、低減させることが可能となる。なお、所定の基準間隔は、距離の絶対値で規定されてもよいし、特徴位置CPrと特徴位置CPlとの間の距離に対する、補正位置Mdと後行特徴位置との間の距離の比率で規定されてもよい。次に、図9を参照して、特徴位置CPlの更新に応じて操作領域Vの位置の修正が繰り返される場合の端末装置10の動作の概要を説明する。   In addition, for example, the operation area determination unit 115 may determine whether the rear of the positions on the line segment connecting the characteristic position CPr and the characteristic position CPl or within the reference area and closer to the succeeding characteristic position than the preceding characteristic position. A position separated from the row characteristic position by a predetermined reference interval or more may be set as the correction position Md. In this case, the interval between the latest touch position P existing in the input region RD corresponding to the following characteristic position and the neutral region RN is defined as a predetermined reference interval and the size of the neutral region RN (for example, the radius of the circle BDn). Can be separated from each other by a distance determined by. Therefore, according to this example, as compared with the case where the distance between the corrected position Md and the following characteristic position is less than the predetermined reference distance, the neutral area RN different from the input area RD intended by the user is erroneously selected. It is possible to reduce the possibility of an erroneous operation of touching the finger FG. The predetermined reference interval may be defined by the absolute value of the distance, or may be a ratio of the distance between the corrected position Md and the following characteristic position to the distance between the characteristic position CPr and the characteristic position CPl. May be specified. Next, with reference to FIG. 9, an outline of the operation of the terminal device 10 when the position of the operation area V is repeatedly corrected according to the update of the characteristic position CPl will be described.

図9は、特徴位置CPlの更新に応じて操作領域Vの位置の修正が繰り返される場合の端末装置10の動作の一例を説明するための説明図である。なお、図9は、図8に示した動作の続きを示す。   FIG. 9 is an explanatory diagram for explaining an example of the operation of the terminal device 10 when the correction of the position of the operation area V is repeated according to the update of the characteristic position CPl. Note that FIG. 9 shows a continuation of the operation shown in FIG.

時刻t6において、操作領域決定部115は、操作領域移動ベクトルVmd[t5]の起点の位置を基準位置Ov[t5]として定めた場合における、操作領域移動ベクトルVmd[t5]の終点の位置を、基準位置Ov[t6]として定め、当該基準位置Ov[t6]が原点となるように、操作領域座標系ΣV[t6]を設定する。また、操作領域決定部115は、時刻t6において、当該操作領域座標系ΣV[t6]に応じた位置に、操作領域V[t6]を設定する。そして、操作領域決定部115は、操作領域V[t6]に含まれるニュートラル領域RN及び入力領域RDの位置により、記憶部14に記憶されている操作領域情報を更新する。なお、図8及び図9に示す例では、時刻t6は、時刻t5よりも後の時刻であるが、時刻t6は、時刻t5と同一の時刻であってもよい。   At time t6, the operation area determination unit 115 determines the position of the end point of the operation area movement vector Vmd [t5] when the position of the starting point of the operation area movement vector Vmd [t5] is set as the reference position Ov [t5]. It is defined as the reference position Ov [t6], and the operation area coordinate system ΣV [t6] is set so that the reference position Ov [t6] becomes the origin. Further, the operation area determination unit 115 sets the operation area V [t6] at the position corresponding to the operation area coordinate system ΣV [t6] at time t6. Then, the operation area determination unit 115 updates the operation area information stored in the storage unit 14 with the positions of the neutral area RN and the input area RD included in the operation area V [t6]. In addition, in the example shown in FIG. 8 and FIG. 9, the time t6 is a time after the time t5, but the time t6 may be the same time as the time t5.

時刻t6から時刻t7にかけて、タッチ位置Pは、入力領域RDl内のタッチ位置P[t5]から入力領域RDl内のタッチ位置P[t7]に移動する。時刻t7におけるタッチ位置P[t7]は、入力領域RDl内のタッチ位置P[t5]よりも−Xv側に存在する。このため、特徴位置決定部114は、時刻t7において、タッチ位置P[t7]を特徴位置CPlに決定する。換言すれば、特徴位置決定部114は、時刻t7において、特徴位置CPlを、タッチ位置P[t5]からタッチ位置P[t7]に更新する。   From time t6 to time t7, the touch position P moves from the touch position P [t5] in the input area RDl to the touch position P [t7] in the input area RDl. The touch position P [t7] at time t7 is on the −Xv side of the touch position P [t5] in the input area RD1. Therefore, the characteristic position determination unit 114 determines the touch position P [t7] as the characteristic position CPl at time t7. In other words, the characteristic position determination unit 114 updates the characteristic position CPl from the touch position P [t5] to the touch position P [t7] at time t7.

また、時刻t7において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t3])と特徴位置CPl(タッチ位置P[t7])との中点を、補正位置Md[t7]として定める。また、操作領域決定部115は、基準位置Ov[t7]を起点とし、補正位置Md[t7]を終点とする操作領域移動ベクトルVmd[t7]を定める。   At time t7, the operation area determination unit 115 determines the midpoint between the characteristic position CPr (touch position P [t3]) and the characteristic position CPl (touch position P [t7]) as the correction position Md [t7]. . Further, the operation area determination unit 115 determines the operation area movement vector Vmd [t7] having the reference position Ov [t7] as the starting point and the correction position Md [t7] as the ending point.

そして、時刻t8において、操作領域決定部115は、基準位置Ov[t7]、操作領域座標系ΣV[t7]、及び、操作領域V[t7]を、操作領域移動ベクトルVmd[t7]に対応する移動量だけ移動させることで、基準位置Ov[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を設定する。換言すれば、操作領域決定部115は、基準位置Ov[t8]が補正位置Md[t7]に一致するように、基準位置Ov[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を設定する。なお、図9に示す例では、時刻t8は、時刻t7よりも後の時刻であるが、時刻t8は、時刻t7と同一の時刻であってもよい。次に、図10を参照して、タッチ位置Pが入力領域RDrに再侵入する場合の端末装置10の動作の概要を説明する。   Then, at time t8, the operation area determination unit 115 corresponds the reference position Ov [t7], the operation area coordinate system ΣV [t7], and the operation area V [t7] to the operation area movement vector Vmd [t7]. The reference position Ov [t8], the operation area coordinate system ΣV [t8], and the operation area V [t8] are set by moving by the movement amount. In other words, the operation area determination unit 115 sets the reference position Ov [t8], the operation area coordinate system ΣV [t8], and the operation area so that the reference position Ov [t8] matches the correction position Md [t7]. Set V [t8]. Note that in the example shown in FIG. 9, the time t8 is a time after the time t7, but the time t8 may be the same time as the time t7. Next, with reference to FIG. 10, an outline of the operation of the terminal device 10 when the touch position P re-enters the input region RDr will be described.

図10は、タッチ位置Pが入力領域RDrに再侵入する場合の端末装置10の動作の一例を説明するための説明図である。なお、図10は、図9に示した動作の続きを示す。   FIG. 10 is an explanatory diagram for explaining an example of the operation of the terminal device 10 when the touch position P re-enters the input area RDr. Note that FIG. 10 shows a continuation of the operation shown in FIG.

時刻t8から時刻t9にかけて、タッチ位置Pは、入力領域RDl内のタッチ位置P[t7]から入力領域RDr内のタッチ位置P[t9]に向かって移動する。そして、図10に示す例では、時刻t9において、タッチ位置Pが入力領域RDrに再び侵入する。すなわち、時刻t8から時刻t9の間の時刻(タッチ位置Pがニュートラル領域RNに侵入した時刻)に入力領域タッチ期間TRlが終了し、且つ、時刻t9において、再び、入力領域タッチ期間TRrが開始される。なお、以下では、説明の便宜上、時刻t2に開始される入力領域タッチ期間TRrを、先の入力領域タッチ期間TRrと称し、時刻t9に開始される入力領域タッチ期間TRrを、後の入力領域タッチ期間TRrと称する場合がある。   From time t8 to time t9, the touch position P moves from the touch position P [t7] in the input area RDl to the touch position P [t9] in the input area RDr. Then, in the example shown in FIG. 10, at time t9, the touch position P reenters the input area RDr. That is, the input area touch period TRl ends at the time between the time t8 and the time t9 (the time when the touch position P enters the neutral area RN), and at the time t9, the input area touch period TRr starts again. It In the following, for convenience of description, the input area touch period TRr started at time t2 is referred to as a previous input area touch period TRr, and the input area touch period TRr started at time t9 is referred to as a subsequent input area touch. It may be referred to as a period TRr.

上述のとおり、本実施形態において、特徴位置決定部114は、後の入力領域タッチ期間TRrが開始されると、先の入力領域タッチ期間TRrの終了時における特徴位置CPrの決定結果を破棄するとともに、後の入力領域タッチ期間TRrにおいて新たに特徴位置CPrを決定する。
このため、特徴位置決定部114は、時刻t9において、タッチ位置P[t9]がタッチ位置P[t3]よりも−Xv側に存在するが、タッチ位置P[t9]を特徴位置CPrに決定する。換言すれば、特徴位置決定部114は、時刻t9において、特徴位置CPrを、タッチ位置P[t3]からタッチ位置P[t9]に更新する。
As described above, in the present embodiment, the characteristic position determination unit 114 discards the determination result of the characteristic position CPr at the end of the previous input region touch period TRr when the subsequent input region touch period TRr is started. , And the characteristic position CPr is newly determined in the subsequent input area touch period TRr.
Therefore, at time t9, the characteristic position determination unit 114 determines that the touch position P [t9] is the characteristic position CPr, although the touch position P [t9] is on the −Xv side of the touch position P [t3]. . In other words, the characteristic position determination unit 114 updates the characteristic position CPr from the touch position P [t3] to the touch position P [t9] at time t9.

また、時刻t9において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t9])と特徴位置CPl(タッチ位置P[t7])との中点を、補正位置Md[t9]として定める。また、操作領域決定部115は、基準位置Ov[t9]を起点とし、補正位置Md[t9]を終点とする操作領域移動ベクトルVmd[t9]を定める。   At time t9, the operation area determination unit 115 determines the midpoint between the characteristic position CPr (touch position P [t9]) and the characteristic position CPl (touch position P [t7]) as the correction position Md [t9]. . Further, the operation area determination unit 115 determines the operation area movement vector Vmd [t9] having the reference position Ov [t9] as the starting point and the correction position Md [t9] as the ending point.

そして、時刻t10において、操作領域決定部115は、基準位置Ov[t9]、操作領域座標系ΣV[t9]、及び、操作領域V[t9]を、操作領域移動ベクトルVmd[t9]に対応する移動量だけ移動させることで、基準位置Ov[t10]、操作領域座標系ΣV[t10]、及び、操作領域V[t10]を設定する。換言すれば、操作領域決定部115は、基準位置Ov[t10]が補正位置Md[t9]に一致するように、基準位置Ov[t10]、操作領域座標系ΣV[t10]、及び、操作領域V[t10]を設定する。なお、図10に示す例では、時刻t10は、時刻t9よりも後の時刻であるが、時刻t10は、時刻t9と同一の時刻であってもよい。   Then, at time t10, the operation area determination unit 115 sets the reference position Ov [t9], the operation area coordinate system ΣV [t9], and the operation area V [t9] to the operation area movement vector Vmd [t9]. The reference position Ov [t10], the operation area coordinate system ΣV [t10], and the operation area V [t10] are set by moving by the movement amount. In other words, the operation area determination unit 115 sets the reference position Ov [t10], the operation area coordinate system ΣV [t10], and the operation area so that the reference position Ov [t10] matches the correction position Md [t9]. V [t10] is set. In addition, in the example illustrated in FIG. 10, the time t10 is a time after the time t9, but the time t10 may be the same time as the time t9.

[4.端末装置の動作]
以下、図11を参照しながら、端末装置10の動作の一例について説明する。
[4. Operation of terminal device]
Hereinafter, an example of the operation of the terminal device 10 will be described with reference to FIG. 11.

図11は、端末装置10が所定のゲームを実行する場合における、端末装置10の動作の一例を示すフローチャートである。なお、本実施形態では、例えば、端末装置10のユーザが、所定のゲームを開始させる旨の所定の開始操作をタッチパネル1002から入力した場合に、端末装置10が、所定のゲームを開始させることとする。所定のゲームが開始されると、ステップS100の処理が実行される。   FIG. 11 is a flowchart showing an example of the operation of the terminal device 10 when the terminal device 10 executes a predetermined game. In the present embodiment, for example, when the user of the terminal device 10 inputs a predetermined start operation to start a predetermined game from the touch panel 1002, the terminal device 10 starts the predetermined game. To do. When a predetermined game is started, the process of step S100 is executed.

ステップS100において、表示制御部112は、仮想空間SP、キャラクタCR、及び、操作領域Vを表示部12に表示させるための表示情報を生成し、当該表示情報に基づく画像を表示部12が表示するように、表示部12を制御する。なお、所定のゲームの開始時のキャラクタCRの顔の向き及び操作領域Vの位置は、予め決められている。   In step S100, the display control unit 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V on the display unit 12, and the display unit 12 displays an image based on the display information. Thus, the display unit 12 is controlled. The direction of the face of the character CR and the position of the operation area V at the start of the predetermined game are predetermined.

次に、ステップS102において、タッチ位置情報取得部113は、タッチパネル1002がタッチ位置情報を出力したか否かを判定する。ステップS102における判定の結果が否定の場合、すなわち、タッチパネル1002がタッチ位置情報を出力していない場合、タッチ位置情報取得部113は、処理をステップS126に進める。一方、ステップS102における判定の結果が肯定の場合、すなわち、タッチパネル1002がタッチ位置情報を出力した場合、タッチ位置情報取得部113は、処理をステップS104に進める。   Next, in step S102, the touch position information acquisition unit 113 determines whether the touch panel 1002 has output the touch position information. When the result of the determination in step S102 is negative, that is, when the touch panel 1002 does not output the touch position information, the touch position information acquisition unit 113 advances the process to step S126. On the other hand, if the result of the determination in step S102 is affirmative, that is, if the touch panel 1002 outputs the touch position information, the touch position information acquisition unit 113 advances the process to step S104.

ステップS104において、タッチ位置情報取得部113は、タッチパネル1002から出力されたタッチ位置情報を取得する。そして、タッチ位置情報取得部113は、ステップS104で取得したタッチ位置情報に基づいて、記憶部14に記憶されているタッチ位置履歴情報を更新する。具体的には、タッチ位置情報取得部113は、ステップS104で取得したタッチ位置情報を、当該タッチ位置情報を取得した時刻と対応付けた上で、タッチ位置履歴情報に含ませる。なお、タッチ位置履歴情報は、各時刻におけるタッチ位置Pが、入力領域RDr、RDl、RDu及びRDdの何れに存在するかを示す情報を含んでいてもよい。あるいは、タッチ位置履歴情報は、タッチ位置Pが存在する入力領域RDを示す情報の代わりに、タッチ位置情報を取得した時刻が入力領域タッチ期間TRr、TRl、TRu、TRdの何れに含まれるかを示す情報を含んでいてもよい。   In step S104, the touch position information acquisition unit 113 acquires the touch position information output from the touch panel 1002. Then, the touch position information acquisition unit 113 updates the touch position history information stored in the storage unit 14 based on the touch position information acquired in step S104. Specifically, the touch position information acquisition unit 113 associates the touch position information acquired in step S104 with the time when the touch position information is acquired, and then includes the touch position information in the touch position history information. The touch position history information may include information indicating which of the input regions RDr, RDl, RDu, and RDd the touch position P at each time is. Alternatively, the touch position history information indicates which of the input region touch periods TRr, TRl, TRu, and TRd includes the time when the touch position information is acquired, instead of the information indicating the input region RD in which the touch position P exists. The information may be included.

次に、ステップS106において、特徴位置決定部114は、記憶部14に記憶されている操作領域情報を取得し、ニュートラル領域RN、入力領域RDr、RDl、RDu及びRDdの各々の位置を特定する。   Next, in step S106, the characteristic position determination unit 114 acquires the operation region information stored in the storage unit 14 and specifies the positions of the neutral region RN, the input regions RDr, RDl, RDu, and RDd.

次に、ステップS108において、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDr、RDl、RDu及びRDdの何れかの領域に存在するか否かを判定する。ステップS108における判定の結果が否定の場合、すなわち、最新のタッチ位置Pが入力領域RDの外部(例えば、ニュートラル領域RN)に存在する場合、特徴位置決定部114は、処理をステップS126に進める。   Next, in step S108, the characteristic position determination unit 114 determines that the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 is one of the input regions RDr, RDl, RDu, and RDd. It is determined whether or not it exists in the area. If the result of the determination in step S108 is negative, that is, if the latest touch position P exists outside the input area RD (for example, the neutral area RN), the characteristic position determination unit 114 advances the processing to step S126.

一方、ステップS108における判定の結果が肯定の場合、すなわち、最新のタッチ位置Pが入力領域RDr、RDl、RDu及びRDdの何れかの領域に存在する場合、特徴位置決定部114は、処理をステップS110に進める。なお、ステップS108における判定の結果が肯定の場合、ステップS104においてタッチ位置情報取得部113がタッチ位置情報を取得した時刻が、タッチ位置Pが存在する入力領域RDに対応する入力領域タッチ期間TRに含まれることになる。また、特徴位置決定部114は、ステップS108の判定結果に基づいて、タッチ位置履歴情報を更新してもよい。   On the other hand, if the result of the determination in step S108 is affirmative, that is, if the latest touch position P exists in any one of the input regions RDr, RDl, RDu, and RDd, the characteristic position determination unit 114 performs the process. Proceed to S110. When the result of the determination in step S108 is affirmative, the time when the touch position information acquisition unit 113 acquires the touch position information in step S104 is the input region touch period TR corresponding to the input region RD in which the touch position P exists. Will be included. The characteristic position determination unit 114 may update the touch position history information based on the determination result of step S108.

ステップS110において、振動制御部116は、タッチ位置Pが入力領域RDに存在しない状態から入力領域RDに存在する状態に変化したか否かを判定する。具体的には、振動制御部116は、ステップS108で判定されたタッチ位置Pが存在する入力領域RDに対応する入力領域タッチ期間TRにおいて、ステップS104でタッチ位置情報取得部113により取得されたタッチ位置情報が、タッチ位置情報取得部113により取得された1または複数のタッチ位置情報のうち、最初に取得されたタッチ位置情報であるか否かを判定する。   In step S110, the vibration control unit 116 determines whether the touch position P has changed from being in the input area RD to being in the input area RD. Specifically, the vibration control unit 116 receives the touch acquired by the touch position information acquisition unit 113 in step S104 during the input region touch period TR corresponding to the input region RD in which the touch position P determined in step S108 exists. It is determined whether the position information is the first acquired touch position information among the one or more pieces of touch position information acquired by the touch position information acquisition unit 113.

ステップS110における判定の結果が否定の場合、すなわち、タッチパネル1002への最新のタッチが入力領域RDr、RDl、RDu及びRDdの何れかの領域への最初のタッチでない場合、振動制御部116は、処理をステップS114に進める。一方、ステップS110における判定の結果が肯定の場合、すなわち、タッチパネル1002への最新のタッチが入力領域RDr、RDl、RDu及びRDdの何れかの領域への最初のタッチである場合、振動制御部116は、処理をステップS112に進める。   When the result of the determination in step S110 is negative, that is, when the latest touch on the touch panel 1002 is not the first touch on any one of the input regions RDr, RD1, RDu, and RDd, the vibration control unit 116 performs processing. To step S114. On the other hand, if the determination result in step S110 is affirmative, that is, if the latest touch on the touch panel 1002 is the first touch on any one of the input regions RDr, RD1, RDu, and RDd, the vibration control unit 116. Advances the process to step S112.

ステップS112において、振動制御部116は、振動発生部15が端末装置10を振動させるように、振動発生部15を制御する。そして、振動制御部116は、処理をステップS114に進める。   In step S112, the vibration control unit 116 controls the vibration generation unit 15 so that the vibration generation unit 15 vibrates the terminal device 10. Then, the vibration control unit 116 advances the processing to step S114.

ステップS114において、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、特徴位置特定条件を充足するか否かを判定する。具体的には、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDrに存在する場合には、当該タッチ位置Pが、第1特定条件を充足するか否かを判定する。また、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDlに存在する場合には、当該タッチ位置Pが、第2特定条件を充足するか否かを判定する。なお、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDuまたは入力領域RDdに存在する場合、特徴位置特定条件を充足しない旨の判定を行う。   In step S114, the characteristic position determination unit 114 determines whether the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 satisfies the characteristic position specifying condition. Specifically, when the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 exists in the input area RDr, the characteristic position determination unit 114 determines the touch position P as the touch position P. , It is determined whether the first specific condition is satisfied. In addition, when the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 exists in the input area RDl, the characteristic position determination unit 114 determines that the touch position P is the second position. It is determined whether the specific condition is satisfied. The characteristic position determination unit 114 satisfies the characteristic position specifying condition when the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 is present in the input region RDu or the input region RDd. It is determined not to do so.

ステップS114における判定の結果が否定の場合、すなわち、特徴位置特定条件が充足されていない場合、特徴位置決定部114は、処理をステップS124に進める。従って、特徴位置特定条件が充足されていない場合、ニュートラル領域RNの位置および操作領域Vの位置は、変更されずに維持される。一方、ステップS114における判定の結果が肯定の場合、すなわち、特徴位置特定条件が充足されてる場合、特徴位置決定部114は、処理をステップS116に進める。   If the result of the determination in step S114 is negative, that is, if the characteristic position specifying condition is not satisfied, the characteristic position determination unit 114 advances the process to step S124. Therefore, when the characteristic position specifying condition is not satisfied, the position of the neutral region RN and the position of the operation region V are maintained unchanged. On the other hand, if the result of the determination in step S114 is affirmative, that is, if the characteristic position specifying condition is satisfied, the characteristic position determination unit 114 advances the process to step S116.

ステップS116において、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pを、特徴位置CPに決定する。具体的には、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、第1特定条件を充足する場合には、当該タッチ位置Pを特徴位置CPrに決定する。また、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、第2特定条件を充足する場合には、当該タッチ位置Pを特徴位置CPlに決定する。なお、特徴位置決定部114は、ステップS116においける決定結果に基づいて、記憶部14に記憶されている特徴位置情報を更新する。   In step S116, the characteristic position determination unit 114 determines the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 as the characteristic position CP. Specifically, when the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 satisfies the first specific condition, the characteristic position determination unit 114 determines the touch position P. To the characteristic position CPr. Further, when the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104 satisfies the second specific condition, the characteristic position determination unit 114 sets the touch position P as the characteristic position. Decide on CPl. The characteristic position determination unit 114 updates the characteristic position information stored in the storage unit 14 based on the determination result in step S116.

次に、ステップS118において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの両方が存在するか否かを判定する。ステップS118における判定の結果が否定の場合、すなわち、対をなす特徴位置CPが存在しない場合、操作領域決定部115は、処理をステップS124に進める。従って、対をなす特徴位置CPが存在しない場合、ニュートラル領域RNの位置および操作領域Vの位置は、変更されずに維持される。一方、ステップS118における判定の結果が肯定の場合、すなわち、特徴位置CPr及び特徴位置CPlの両方が存在する場合、操作領域決定部115は、処理をステップS120に進める。   Next, in step S118, the operation area determination unit 115 determines whether or not both the characteristic position CPr and the characteristic position CPl exist. If the result of the determination in step S118 is negative, that is, if there is no paired characteristic position CP, the operation area determination unit 115 advances the process to step S124. Therefore, when there is no paired characteristic position CP, the position of the neutral region RN and the position of the operation region V are maintained unchanged. On the other hand, if the result of the determination in step S118 is affirmative, that is, if both the characteristic position CPr and the characteristic position CPl are present, the operation area determination unit 115 advances the processing to step S120.

ステップS120において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、基準位置Ovを決定する。   In step S120, the operation area determination unit 115 determines the reference position Ov based on the characteristic position CPr and the characteristic position CPl.

次に、ステップS122において、操作領域決定部115は、ステップS120において決定した基準位置Ovに基づいて、タッチパネル座標系ΣSにおけるニュートラル領域RN、入力領域RDr、RDl、RDu及びRDdの位置を決定する。なお、操作領域決定部115は、ステップS122において決定したニュートラル領域RN及び入力領域RDの位置により、記憶部14に記憶されている操作領域情報を更新する。操作領域決定部115は、ステップS122の処理を実行した後、処理をステップS124に進める。   Next, in step S122, the operation area determination unit 115 determines the positions of the neutral area RN, the input areas RDr, RDl, RDu, and RDd in the touch panel coordinate system ΣS based on the reference position Ov determined in step S120. The operation area determination unit 115 updates the operation area information stored in the storage unit 14 with the positions of the neutral area RN and the input area RD determined in step S122. After performing the process of step S122, the operation area determination unit 115 advances the process to step S124.

ステップS124において、ゲーム制御部111は、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を決定する。具体的には、ゲーム制御部111は、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を、ステップS108で判定されたタッチ位置Pが存在する入力領域RDに対応する方向に設定する。   In step S124, the game control unit 111 determines the direction in which the face of the character CR in the touch panel coordinate system ΣS faces. Specifically, the game control unit 111 sets the direction in which the face of the character CR in the touch panel coordinate system ΣS faces to the direction corresponding to the input area RD in which the touch position P determined in step S108 exists.

ゲーム制御部111は、ステップS124の処理を実行した後、処理をステップS128に進める。なお、ステップS128の処理を説明する前に、入力領域RDへのタッチが検出されない場合に実行されるステップS126の処理について説明する。   After executing the processing of step S124, the game control section 111 advances the processing to step S128. Before describing the process of step S128, the process of step S126 executed when a touch on the input area RD is not detected will be described.

ステップS126において、ゲーム制御部111は、非タッチ処理を実行し、処理をステップS128に進める。非タッチ処理は、図2で説明したように、タッチパネル1002から指FGが離れた場合に実行される処理である。例えば、非タッチ処理は、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向を変化させずに維持する処理である。あるいは、非タッチ処理は、タッチパネル座標系ΣSにおけるキャラクタCRの顔の向きを予め定められた向きに設定する処理でもよい。なお、非タッチ処理は、上述の例に限定されない。また、本実施形態では、ゲーム制御部111は、タッチパネル1002から指FGが離れた場合に非タッチ処理を実行するが、指FGのタッチに関連する特定の処理を実行しなくてもよい。例えば、ゲーム制御部111は、ステップS102において、タッチパネル1002がタッチ位置情報を出力していないと判定されると、特定の処理を実行することなく、処理をステップS128に進めてもよい。あるいは、ゲーム制御部111は、ステップS108において、最新のタッチ位置Pが入力領域RDの外部(例えば、ニュートラル領域RN)に存在するとと判定されると、特定の処理を実行することなく、処理をステップS128に進めてもよい。   In step S126, the game control unit 111 executes the non-touch process, and the process proceeds to step S128. The non-touch process is a process executed when the finger FG is separated from the touch panel 1002, as described with reference to FIG. For example, the non-touch process is a process of maintaining the direction in which the face of the character CR in the touch panel coordinate system ΣS faces without changing. Alternatively, the non-touch process may be a process of setting the face orientation of the character CR in the touch panel coordinate system ΣS to a predetermined orientation. The non-touch process is not limited to the above example. Further, in the present embodiment, the game control unit 111 executes the non-touch processing when the finger FG is separated from the touch panel 1002, but the specific processing related to the touch of the finger FG may not be executed. For example, when it is determined in step S102 that the touch panel 1002 does not output touch position information, the game control unit 111 may advance the process to step S128 without executing the specific process. Alternatively, when it is determined in step S108 that the latest touch position P exists outside the input area RD (for example, the neutral area RN), the game control section 111 executes the processing without executing the specific processing. You may proceed to step S128.

従って、指FGがタッチパネル1002に接触していない場合(S102:N)、または、タッチ位置Pが入力領域RDに存在しない場合(S108:N)、ニュートラル領域RNの位置および操作領域Vの位置は、変更されずに維持される。   Therefore, when the finger FG is not in contact with the touch panel 1002 (S102: N) or the touch position P does not exist in the input area RD (S108: N), the position of the neutral area RN and the position of the operation area V are , Maintained unchanged.

ステップS128において、表示制御部112は、仮想空間SP、キャラクタCR、及び、操作領域Vを表示部12に表示させるための表示情報を生成し、当該表示情報に基づく画像を表示部12が表示するように、表示部12を制御する。   In step S128, the display control unit 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V on the display unit 12, and the display unit 12 displays an image based on the display information. Thus, the display unit 12 is controlled.

次に、ステップS130において、ゲーム制御部111は、ユーザが、所定のゲームを終了させる旨の所定の終了操作をタッチパネル1002から入力したか否かを判定する。ステップS130における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS102に戻し、ゲームを継続させる。一方、ステップS130における判定の結果が肯定の場合、ゲーム制御部111は、所定のゲームを終了させる。   Next, in step S130, the game control unit 111 determines whether or not the user has input from the touch panel 1002 a predetermined ending operation for ending a predetermined game. When the result of the determination in step S130 is negative, the game control section 111 returns the process to step S102 and continues the game. On the other hand, if the result of the determination in step S130 is affirmative, the game control section 111 ends the predetermined game.

図11に示す動作では、指FGがタッチパネル1002に接触していない場合(S102:N)、タッチ位置Pが入力領域RDに存在しない場合(S108:N)、特徴位置特定条件が充足されていない場合(S114:N)、または、対をなす特徴位置CPが存在しない場合(S118:N)、操作領域決定部115は、ニュートラル領域RNの位置を変更せずに維持する。換言すれば、操作領域決定部115は、対をなす特徴位置CPが更新された場合、特徴位置CPr及び特徴位置CPlに基づいて、ニュートラル領域RNの位置を変更する。   In the operation illustrated in FIG. 11, when the finger FG is not in contact with the touch panel 1002 (S102: N), the touch position P is not present in the input area RD (S108: N), the characteristic position specifying condition is not satisfied. In the case (S114: N) or when there is no pair of characteristic positions CP (S118: N), the operation area determination unit 115 maintains the position of the neutral area RN without changing it. In other words, the operation area determination unit 115 changes the position of the neutral area RN based on the characteristic position CPr and the characteristic position CPl when the paired characteristic positions CP are updated.

なお、端末装置10の動作は、図11に示す例に限定されない。例えば、特徴位置決定部114は、ステップS104においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pと、過去のステップS114において特徴位置特定条件を充足した複数のタッチ位置Pとに基づいて、特徴位置CPを決定してもよい。具体的には、図8に示した時刻t3において、特徴位置決定部114は、タッチ位置P[t2]及びP[t3]の平均位置を、特徴位置CPrとして決定してもよい。一の時刻までに特徴位置特定条件を充足した複数のタッチ位置Pの平均位置を算出する場合のサンプルは、例えば、一の時刻から直近の所定回数分(例えば、5回分)のタッチ位置Pである。また、一の時刻までに特徴位置特定条件を充足した複数のタッチ位置Pのうち、Xv座標の値が最大のタッチ位置P及び最小のタッチ位置Pは、特徴位置CPの算出に使用するサンプルから除外されてもよい。あるいは、他の時刻の特徴位置CP、又は、他の時刻に特徴位置特定条件を充足したタッチ位置Pに対して、所定距離以上離れたタッチ位置Pは、特徴位置CPの算出に使用するサンプルから除外されてもよい。この場合、例えば、指FGが何らかのはずみで大きく移動して元の位置に戻った場合でも、ニュートラル領域RNの位置の変更を適切に実行することができる。   The operation of the terminal device 10 is not limited to the example shown in FIG. For example, the characteristic position determination unit 114 has a touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S104, and a plurality of touch positions P satisfying the characteristic position specifying condition in the past step S114. The characteristic position CP may be determined based on Specifically, at time t3 shown in FIG. 8, the characteristic position determination unit 114 may determine the average position of the touch positions P [t2] and P [t3] as the characteristic position CPr. A sample for calculating the average position of the plurality of touch positions P satisfying the characteristic position specifying condition by one time is, for example, the touch positions P of a predetermined number of times (for example, five times) most recent from one time. is there. Further, among the plurality of touch positions P satisfying the characteristic position specifying condition by one time, the touch position P having the maximum Xv coordinate value and the minimum touch position P are determined from the sample used for calculating the characteristic position CP. It may be excluded. Alternatively, the touch position P at a predetermined distance or more from the characteristic position CP at another time or the touch position P satisfying the characteristic position specifying condition at another time is determined from the sample used to calculate the characteristic position CP. It may be excluded. In this case, for example, even if the finger FG largely moves by some momentum and returns to the original position, the position of the neutral region RN can be appropriately changed.

[5.実施形態の結論]
以上において説明したように、本実施形態において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、ニュートラル領域RN、入力領域RDr、RDl、RDu及びRDdを含む操作領域Vの位置を決定する。従って、本実施形態において、操作領域決定部115は、操作領域Vにおけるタッチ位置Pが徐々にずれていく場合であっても、当該タッチ位置Pのずれに応じて、操作領域V(すなわち、ニュートラル領域RN及び入力領域RD)を修正することが可能となる。このため、本実施形態によれば、例えば、タッチパネル1002において操作領域V(すなわち、ニュートラル領域RN及び入力領域RD)の位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。
[5. Conclusion of Embodiment]
As described above, in the present embodiment, the operation area determination unit 115 determines the position of the operation area V including the neutral area RN, the input areas RDr, RDl, RDu, and RDd based on the characteristic position CPr and the characteristic position CPl. To decide. Therefore, in the present embodiment, even if the touch position P in the operation region V gradually shifts, the operation region determination unit 115 determines the operation region V (that is, the neutral position) according to the shift of the touch position P. It is possible to modify the area RN and the input area RD). Therefore, according to the present embodiment, for example, as compared with the case where the positions of the operation region V (that is, the neutral region RN and the input region RD) on the touch panel 1002 are fixed, an error caused by the shift of the touch position P is erroneous. It is possible to reduce the possibility of input.

一般的に、特徴位置CPr及び特徴位置CPlの2つの特徴位置CPの間の相対的な位置関係、及び、特徴位置CPr及び特徴位置CPlの2つの特徴位置CPの間隔は、タッチパネル1002に接触する指FGの形状、及び、大きさ、並びに、ユーザが指FGをタッチパネル1002に接触させる際の圧力、及び、指FGの動かし方等、ユーザ毎のタッチの態様に応じて定められる可能性が高い。   Generally, the relative positional relationship between the two characteristic positions CPr of the characteristic position CPr and the characteristic position CPl and the interval between the two characteristic positions CP of the characteristic position CPr and the characteristic position CPl are in contact with the touch panel 1002. The shape and size of the finger FG, the pressure when the user brings the finger FG into contact with the touch panel 1002, the way to move the finger FG, and the like are likely to be determined according to the touch mode for each user. .

これに対して、本実施形態において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの2つの特徴位置CPに基づいて、ニュートラル領域RN、入力領域RDr及び入力領域RDlを含む操作領域Vの位置を決定する。さらに、本実施形態では、ニュートラル領域RNは、入力領域RDrと入力領域RDlとの間に配置される。このため、本実施形態によれば、例えば、1つの特徴位置CPに基づいてニュートラル領域RNの位置を定める態様と比較して、ユーザ毎のタッチの態様を考慮した位置に、ニュートラル領域RN、入力領域RDr及び入力領域RDlを含む操作領域Vを設定することができる。この結果、本実施形態によれば、例えば、1つの特徴位置CPに基づいてニュートラル領域RNの位置を定める態様と比較して、任意のユーザに対する、ニュートラル領域RN及び入力領域RDに指FGを接触させる操作における操作性を、より良好に保つことができる。   On the other hand, in the present embodiment, the operation area determination unit 115, based on the two characteristic positions CP of the characteristic position CPr and the characteristic position CPl, the operation area V including the neutral area RN, the input area RDr, and the input area RDl. Determine the position of. Further, in the present embodiment, the neutral area RN is arranged between the input area RDr and the input area RDl. Therefore, according to the present embodiment, for example, as compared with a mode in which the position of the neutral region RN is determined based on one characteristic position CP, the neutral region RN and the input in the neutral region RN are input at positions considering the touch mode for each user. The operation area V including the area RDr and the input area RD1 can be set. As a result, according to the present embodiment, for example, as compared with a mode in which the position of the neutral region RN is determined based on one characteristic position CP, the finger FG touches the neutral region RN and the input region RD for any user. The operability in the operation of making it possible can be better maintained.

ところで、特定の種類のゲームにおいては、ゲームに係る一の方向の指示の入力の頻度が、ゲームに係る他の方向の指示の入力の頻度よりも高い場合が存在する。例えば、所定のゲームにおいて、+Xs方向及び−Xs方向を含むXs軸方向の指示の入力の頻度が、+Ys方向及び−Ys方向を含むYs軸方向の指示の入力の頻度よりも高い場合が存在する。この場合、頻度の低い指示の入力に係るタッチ位置Pに基づいてニュートラル領域RNの位置を決定する態様によれば、ニュートラル領域RNが、ユーザの指FGの位置の経時的なずれに対応しない位置に設定される可能性が生じる。   By the way, in a specific type of game, the frequency of inputting instructions in one direction relating to the game may be higher than the frequency of inputting instructions in the other direction relating to the game. For example, in a given game, the frequency of inputting an instruction in the Xs axis direction including the + Xs direction and the −Xs direction may be higher than the frequency of inputting an instruction in the Ys axis direction including the + Ys direction and the −Ys direction. . In this case, according to the aspect in which the position of the neutral region RN is determined based on the touch position P related to the input of the infrequent instruction, the neutral region RN does not correspond to the temporal shift of the position of the user's finger FG. May be set to.

これに対して、本実施形態において、操作領域決定部115は、Xs軸方向の指示の入力に対応する、入力領域RDr及び入力領域RDlに存在するタッチ位置Pに基づいて、ニュートラル領域RNの位置を決定する。このため、本実施形態によれば、+Xs方向及び−Xs方向を含むXs軸方向の指示の入力の頻度が、+Ys方向及び−Ys方向を含むYs軸方向の指示の入力の頻度よりも高い場合において、例えば、Ys軸方向の指示の入力に対応する、入力領域RDu及び入力領域RDdに存在するタッチ位置Pに基づいて、ニュートラル領域RNの位置を決定する態様と比較して、タッチ位置Pのずれに的確に対応した位置に操作領域Vが設定される可能性を高くすることができる。   On the other hand, in the present embodiment, the operation area determination unit 115 determines the position of the neutral area RN based on the touch position P existing in the input area RDr and the input area RDl corresponding to the input of the instruction in the Xs axis direction. To decide. Therefore, according to the present embodiment, when the frequency of inputting an instruction in the Xs axis direction including the + Xs direction and the −Xs direction is higher than the frequency of inputting an instruction in the Ys axis direction including the + Ys direction and the −Ys direction. In, for example, as compared with a mode in which the position of the neutral region RN is determined based on the touch position P existing in the input region RDu and the input region RDd corresponding to the input of the instruction in the Ys axis direction, It is possible to increase the possibility that the operation area V is set at a position that accurately corresponds to the shift.

また、本実施形態において、操作領域決定部115は、一例として、ニュートラル領域RNの中心である基準位置Ovから+Xv方向に向けて広がる扇形の領域のうちのニュートラル領域RNを除く領域を入力領域RDrとして定め、基準位置Ovから−Xv方向に向けて広がる扇形の領域のうちのニュートラル領域RNを除く領域を入力領域RDlとして定める。このため、本実施形態によれば、例えば、ユーザが指FGによりタッチパネル1002をタッチする場合に、ユーザは、指FGをニュートラル領域RNにタッチさせつつ+Xv方向に傾けることで、入力領域RDrをタッチすることが可能となり、指FGをニュートラル領域RNにタッチさせつつ−Xv方向に傾けることで、入力領域RDlをタッチすることが可能となる。すなわち、本実施形態によれば、例えば、ユーザが指FGによりタッチパネル1002にタッチする場合に、ユーザは、指FGをタッチパネルから離間させることなく、入力領域RDr及び入力領域RDlの2つの入力領域RDをタッチすることが可能となる。このため、本実施形態によれば、例えば、入力領域RDrへのタッチと入力領域RDlへのタッチとの間で指をタッチパネルから離間させる必要がある場合と比較して、ユーザは、第1の操作方向の指示の入力を行うための操作と、第2の操作方向の指示の入力を行うための操作との切り替えを、容易に行うことが可能となる。   In addition, in the present embodiment, the operation region determination unit 115, as an example, the region other than the neutral region RN among the fan-shaped regions extending in the + Xv direction from the reference position Ov, which is the center of the neutral region RN, is the input region RDr. The input area RD1 is defined as an area excluding the neutral area RN in the fan-shaped area extending from the reference position Ov in the −Xv direction. Therefore, according to the present embodiment, for example, when the user touches the touch panel 1002 with the finger FG, the user touches the input area RDr by tilting the finger FG in the + Xv direction while touching the neutral area RN. It is possible to touch the input area RD1 by tilting the finger FG in the −Xv direction while touching the neutral area RN. That is, according to the present embodiment, for example, when the user touches the touch panel 1002 with the finger FG, the user does not separate the finger FG from the touch panel and the two input areas RDr and RDl are provided. It becomes possible to touch. Therefore, according to the present embodiment, for example, as compared with the case where the finger needs to be separated from the touch panel between the touch on the input region RDr and the touch on the input region RD1, the user can It is possible to easily switch between the operation for inputting the operation direction instruction and the operation for inputting the second operation direction instruction.

[B.変形例]
以上の各形態は多様に変形され得る。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様は、相互に矛盾しない範囲内で適宜に併合され得る。なお、以下に例示する変形例において作用や機能が実施形態と同等である要素については、以上の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
[B. Modification]
Each of the above forms can be variously modified. Specific modes of modification will be exemplified below. Two or more aspects arbitrarily selected from the following exemplifications can be appropriately merged within a range not inconsistent with each other. It should be noted that, in the modified examples illustrated below, the elements having the same functions and functions as those of the embodiment will be denoted by the reference numerals referred to in the above description, and detailed description thereof will be appropriately omitted.

[変形例1]
上述した実施形態において、ニュートラル領域RNの大きさ(例えば、ニュートラル領域RNを規定する円BDnの半径)は、所定の大きさに維持され、ニュートラル領域RNの位置の修正前後で変化しないが、本発明はこのような態様に限定されるものではない。例えば、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの少なくとも一方に基づいて、ニュートラル領域RNの大きさを決定してもよい。ニュートラル領域RNの大きさを決定する方法として、図12から図14を用いて3つの例を説明するが、ニュートラル領域RNの大きさを決定する方法は、図12から図14に示す3つの例に限定されない。
[Modification 1]
In the above-described embodiment, the size of the neutral region RN (for example, the radius of the circle BDn that defines the neutral region RN) is maintained at a predetermined size and does not change before and after the correction of the position of the neutral region RN. The invention is not limited to such an embodiment. For example, the operation area determination unit 115 may determine the size of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CPl. As a method for determining the size of the neutral region RN, three examples will be described with reference to FIGS. 12 to 14. The method for determining the size of the neutral region RN includes three examples shown in FIGS. 12 to 14. Not limited to.

図12は、変形例1に係る端末装置10の動作の一例を示す説明図である。なお、図12は、変形例1に係るタッチ位置変化例の一例である。図12に示すタッチ位置変化例では、端末装置10は、特徴位置CPrとニュートラル領域RNとの距離Wnrを一定に維持するように、ニュートラル領域RNの大きさを決定する。図12に示す例では、特徴位置CPrとニュートラル領域RNとの距離Wnrは、特徴位置CPrとニュートラル領域RNの中心とを結ぶ直線において、ニュートラル領域RN及び入力領域RDrの境界線(ニュートラル領域RNを規定する円BDn)から特徴位置CPrまでの距離である。なお、以下では、時刻tにおける距離Wnrを距離Wnr[t]とも称し、時刻tにおける円BDnの半径rを半径r[t]とも称する。また、特徴位置CPrとニュートラル領域RNとの距離Wnr、及び、特徴位置CPlとニュートラル領域RNとの距離Wnlは、特に区別しない場合等では、距離Wnとも称される。図12に示す時刻t20、t21及びt22は、入力領域タッチ期間TRrに含まれる。以下では、時刻t20等を含む入力領域タッチ期間TRrのうち、時刻t20より前の時刻t18(図示せず)において、タッチ位置P[t18]が特徴位置CPrに決定されている場合を想定して、端末装置10の動作を説明する。   FIG. 12 is an explanatory diagram illustrating an example of the operation of the terminal device 10 according to the first modification. Note that FIG. 12 is an example of a touch position change example according to the first modification. In the touch position change example shown in FIG. 12, the terminal device 10 determines the size of the neutral region RN so that the distance Wnr between the characteristic position CPr and the neutral region RN is maintained constant. In the example shown in FIG. 12, the distance Wnr between the characteristic position CPr and the neutral region RN is a boundary line between the neutral region RN and the input region RDr (the neutral region RN is defined by a straight line connecting the characteristic position CPr and the center of the neutral region RN). It is the distance from the defining circle BDn) to the characteristic position CPr. In the following, the distance Wnr at time t is also referred to as the distance Wnr [t], and the radius r of the circle BDn at time t is also referred to as the radius r [t]. Further, the distance Wnr between the characteristic position CPr and the neutral area RN and the distance Wnl between the characteristic position CPl and the neutral area RN are also referred to as a distance Wn unless otherwise distinguished. Times t20, t21, and t22 shown in FIG. 12 are included in the input area touch period TRr. Hereinafter, it is assumed that the touch position P [t18] is determined as the characteristic position CPr at time t18 (not shown) before time t20 in the input area touch period TRr including time t20 and the like. The operation of the terminal device 10 will be described.

特徴位置CPr(タッチ位置P[t18])及び特徴位置CPlに基づいて操作領域V等が設定された時刻t19(図示せず)から時刻t20にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t18]から入力領域RDr内のタッチ位置P[t20]に移動する。時刻t20におけるタッチ位置P[t20]は、特徴位置CPr(タッチ位置P[t18])よりも−Xv側に存在するため、特徴位置決定部114は、時刻t20では、タッチ位置P[t18]が特徴位置CPrとして特定されている状態を維持する。また、時刻t20では、特徴位置CPrが更新されていないため、操作領域決定部115は、ニュートラル領域RN等を含む操作領域V[t20]の位置を変更せずに維持する。時刻t20における特徴位置CPr(タッチ位置P[t18])とニュートラル領域RNとの距離Wnr[t20]は、予め決められた距離DISである。   From the time t19 (not shown) when the operation area V and the like are set based on the characteristic position CPr (touch position P [t18]) and the characteristic position CPl to time t20, the touch position P is the touch position in the input area RDr. It moves from P [t18] to the touch position P [t20] in the input area RDr. Since the touch position P [t20] at time t20 is on the −Xv side of the characteristic position CPr (touch position P [t18]), the characteristic position determination unit 114 determines that the touch position P [t18] is at time t20. The state specified as the characteristic position CPr is maintained. Further, at time t20, the characteristic position CPr is not updated, so the operation region determination unit 115 maintains the position of the operation region V [t20] including the neutral region RN and the like without changing it. The distance Wnr [t20] between the characteristic position CPr (touch position P [t18]) and the neutral region RN at time t20 is a predetermined distance DIS.

時刻t20から時刻t21にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t20]から入力領域RDr内のタッチ位置P[t21]に移動する。時刻t21におけるタッチ位置P[t21]は、特徴位置CPr(タッチ位置P[t18])よりも+Xv側に存在する。このため、特徴位置決定部114は、時刻t21において、タッチ位置P[t21]を特徴位置CPrに決定する。換言すれば、特徴位置決定部114は、時刻t21において、特徴位置CPrを、タッチ位置P[t18]からタッチ位置P[t21]に更新する。   From time t20 to time t21, the touch position P moves from the touch position P [t20] in the input area RDr to the touch position P [t21] in the input area RDr. The touch position P [t21] at time t21 is on the + Xv side of the characteristic position CPr (touch position P [t18]). Therefore, the characteristic position determination unit 114 determines the touch position P [t21] as the characteristic position CPr at time t21. In other words, the characteristic position determination unit 114 updates the characteristic position CPr from the touch position P [t18] to the touch position P [t21] at time t21.

また、時刻t21において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの中点を補正位置Md[t21]として定める。また、操作領域決定部115は、基準位置Ov[t21]を起点とし、補正位置Md[t21]を終点とする操作領域移動ベクトルVmd[t21]を定める。   At time t21, the operation area determination unit 115 determines the midpoint between the characteristic position CPr (touch position P [t21]) and the characteristic position CPl as the correction position Md [t21]. Further, the operation area determination unit 115 determines the operation area movement vector Vmd [t21] having the reference position Ov [t21] as the starting point and the correction position Md [t21] as the ending point.

そして、時刻t22において、操作領域決定部115は、基準位置Ov[t21]、操作領域座標系ΣV[t21]、及び、操作領域V[t21]を、操作領域移動ベクトルVmd[t21]に対応する移動量だけ移動させることで、基準位置Ov[t22]、操作領域座標系ΣV[t22]、及び、操作領域V[t22]を設定する。換言すれば、操作領域決定部115は、基準位置Ov[t22]が補正位置Md[t21]に一致するように、基準位置Ov[t22]、操作領域座標系ΣV[t22]、及び、操作領域V[t22]を設定する。   Then, at time t22, the operation area determination unit 115 corresponds the reference position Ov [t21], the operation area coordinate system ΣV [t21], and the operation area V [t21] to the operation area movement vector Vmd [t21]. The reference position Ov [t22], the operation area coordinate system ΣV [t22], and the operation area V [t22] are set by moving by the movement amount. In other words, the operation area determination unit 115 sets the reference position Ov [t22], the operation area coordinate system ΣV [t22], and the operation area so that the reference position Ov [t22] matches the correction position Md [t21]. V [t22] is set.

また、時刻t22において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])とニュートラル領域RNとの距離Wnr[t22]が距離DISになるように、ニュートラル領域RNの大きさを決定する。例えば、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])と基準位置Ov[t22](ニュートラル領域RNの中心)との距離から距離DISを引いた値を、ニュートラル領域RNを規定する円BDnの半径r[t22]に設定する。この結果、特徴位置CPrとニュートラル領域RNとの距離Wnrは、特徴位置CPrの更新によりニュートラル領域RNの位置が修正された場合でも、距離DISに維持される。図12に示すニュートラル領域RN内の破線の円は、ニュートラル領域RNの大きさを一定にした場合のニュートラル領域RNを示す。なお、図12に示す例では、時刻t22は、時刻t21よりも後の時刻であるが、時刻t22は、時刻t21と同一の時刻であってもよい。   At time t22, the operation area determination unit 115 sets the size of the neutral area RN so that the distance Wnr [t22] between the characteristic position CPr (touch position P [t21]) and the neutral area RN becomes the distance DIS. decide. For example, the operation area determination unit 115 determines the value obtained by subtracting the distance DIS from the distance between the characteristic position CPr (touch position P [t21]) and the reference position Ov [t22] (center of the neutral area RN) as the neutral area RN. The radius r [t22] of the prescribed circle BDn is set. As a result, the distance Wnr between the characteristic position CPr and the neutral region RN is maintained at the distance DIS even when the position of the neutral region RN is corrected by updating the characteristic position CPr. The dashed circle in the neutral region RN shown in FIG. 12 indicates the neutral region RN when the size of the neutral region RN is constant. Note that in the example shown in FIG. 12, the time t22 is a time after the time t21, but the time t22 may be the same time as the time t21.

図12に示す例では、特徴位置CPとニュートラル領域RNとの距離Wn(例えば、距離Wnr)は、特徴位置CPが更新されても、距離DISに維持される。このため、ユーザは、指FGをニュートラル領域RNから入力領域RDに移動させた場合、距離DISに対応する一定量だけ指FGを戻せばタッチ位置Pをニュートラル領域RNに戻すことができる。従って、図12に示す例では、ニュートラル領域RNの大きさが一定である場合と比較して、タッチ位置Pをニュートラル領域RNに戻す操作をし易くすることができる。   In the example shown in FIG. 12, the distance Wn (for example, the distance Wnr) between the characteristic position CP and the neutral region RN is maintained at the distance DIS even if the characteristic position CP is updated. Therefore, when the user moves the finger FG from the neutral area RN to the input area RD, the user can return the touch position P to the neutral area RN by returning the finger FG by a certain amount corresponding to the distance DIS. Therefore, in the example shown in FIG. 12, the operation of returning the touch position P to the neutral region RN can be facilitated as compared with the case where the size of the neutral region RN is constant.

なお、操作領域決定部115は、所定のゲームが起動されてから、ニュートラル領域RNとの距離が距離DIS以上になるタッチ位置Pが検出される前までの期間では、図12に示したニュートラル領域RNの大きさの調整を実行しなくてもよい。あるいは、特徴位置決定部114は、所定のゲームの起動時に、ニュートラル領域RNから距離DISだけ離れた位置を特徴位置CPの初期値として設定してもよい。また、操作領域決定部115は、操作領域座標系ΣVにおける特徴位置CPのXv座標と、ニュートラル領域RNを規定する円BDnのXv軸との交点との差で表される距離(例えば、図15に示す距離Wxr及びWxl)を、特徴位置CPとニュートラル領域RNとの距離Wnとしてもよい。   It should be noted that the operation area determination unit 115 is in the neutral area shown in FIG. 12 during the period from the start of the predetermined game to the detection of the touch position P at which the distance from the neutral area RN becomes the distance DIS or more. It is not necessary to adjust the size of the RN. Alternatively, the characteristic position determination unit 114 may set a position distant from the neutral region RN by the distance DIS as the initial value of the characteristic position CP when the predetermined game is started. In addition, the operation area determination unit 115 represents a distance represented by a difference between the Xv coordinate of the characteristic position CP in the operation area coordinate system ΣV and the intersection of the Xv axis of the circle BDn that defines the neutral area RN (for example, FIG. 15). The distances Wxr and Wxl) may be set as the distance Wn between the characteristic position CP and the neutral region RN.

図13は、変形例1に係る端末装置10の動作の別の例を示す説明図である。なお、図13は、変形例1に係るタッチ位置変化例の一例である。図13に示すタッチ位置変化例では、端末装置10は、特徴位置CPrとニュートラル領域RNとの距離Wnrを、特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化させる。図13に示す時刻t20及びt21における端末装置10の動作は、図12に示した動作と同じであるため、説明を省略する。なお、以下では、時刻tにおける距離DCPを距離DCP[t]とも称する。図13に示す例においても、時刻t22は、時刻t21よりも後の時刻であるが、時刻t22は、時刻t21と同一の時刻であってもよい。   FIG. 13 is an explanatory diagram showing another example of the operation of the terminal device 10 according to the first modification. Note that FIG. 13 is an example of a touch position change example according to the first modification. In the touch position change example illustrated in FIG. 13, the terminal device 10 changes the distance Wnr between the characteristic position CPr and the neutral region RN according to the distance DCP between the characteristic position CPr and the characteristic position CPl. The operation of the terminal device 10 at times t20 and t21 shown in FIG. 13 is the same as the operation shown in FIG. In the following, the distance DCP at time t will also be referred to as distance DCP [t]. Also in the example shown in FIG. 13, the time t22 is a time after the time t21, but the time t22 may be the same time as the time t21.

時刻t22において、操作領域決定部115は、図12で説明したように、基準位置Ov[t22]が補正位置Md[t21]に一致するように、基準位置Ov[t22]、操作領域座標系ΣV[t22]、及び、操作領域V[t22]を設定する。   At time t22, the operation area determination unit 115 sets the reference position Ov [t22] and the operation area coordinate system ΣV so that the reference position Ov [t22] matches the correction position Md [t21], as described with reference to FIG. [T22] and the operation area V [t22] are set.

また、時刻t22において、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])とニュートラル領域RNとの距離Wnr[t22]が、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]に応じた距離になるように、ニュートラル領域RNの大きさを決定する。なお、特徴位置CPrとニュートラル領域RNとの距離Wnrは、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなるにしたがい大きくなる。   At time t22, the operation area determination unit 115 determines that the distance Wnr [t22] between the characteristic position CPr (touch position P [t21]) and the neutral area RN is the characteristic position CPr (touch position P [t21]). The size of the neutral region RN is determined so that the distance becomes a distance DCP [t22] from the position CP1. Note that the distance Wnr between the characteristic position CPr and the neutral region RN increases as the distance DCP between the characteristic position CPr and the characteristic position CPl increases.

例えば、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])とニュートラル領域RNとの距離Wnr[t22]を、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]に基づいて算出する。そして、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])と基準位置Ov[t22](ニュートラル領域RNの中心)との距離から距離Wnr[t22]を引いた値を、ニュートラル領域RNを規定する円BDnの半径r[t22]に設定する。この結果、特徴位置CPrとニュートラル領域RNとの距離Wnrは、特徴位置CPrの更新によりニュートラル領域RNの位置が修正された場合、更新後の特徴位置CPrと特徴位置CPlとの距離DCPに応じた距離に設定される。図13に示すニュートラル領域RNを囲む破線の円は、特徴位置CPrとニュートラル領域RNとの距離Wnrが距離DISに維持された場合のニュートラル領域RNを示す。特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]は、タッチ位置P[t18](更新前の特徴位置CPr)と特徴位置CPlとの距離DCP[t20]より大きい。このため、特徴位置CPr(タッチ位置P[t21])とニュートラル領域RNとの距離Wnr[t22]は、タッチ位置P[t18](更新前の特徴位置CPr)と時刻t20におけるニュートラル領域RNとの距離Wnr[t20]より大きい。   For example, the operation area determination unit 115 calculates the distance Wnr [t22] between the characteristic position CPr (touch position P [t21]) and the neutral area RN as the characteristic position CPr (touch position P [t21]) and the characteristic position CPl. It is calculated based on the distance DCP [t22]. Then, the operation area determination unit 115 subtracts the value obtained by subtracting the distance Wnr [t22] from the distance between the characteristic position CPr (touch position P [t21]) and the reference position Ov [t22] (center of the neutral area RN). The radius r [t22] of the circle BDn that defines the region RN is set. As a result, the distance Wnr between the characteristic position CPr and the neutral area RN depends on the distance DCP between the updated characteristic position CPr and the characteristic position CPl when the position of the neutral area RN is corrected by updating the characteristic position CPr. Set to distance. A dashed circle surrounding the neutral region RN shown in FIG. 13 indicates the neutral region RN when the distance Wnr between the characteristic position CPr and the neutral region RN is maintained at the distance DIS. The distance DCP [t22] between the characteristic position CPr (touch position P [t21]) and the characteristic position CPl is calculated from the distance DCP [t20] between the touch position P [t18] (feature position CPr before update) and the characteristic position CPl. large. Therefore, the distance Wnr [t22] between the characteristic position CPr (touch position P [t21]) and the neutral region RN is between the touch position P [t18] (characteristic position CPr before update) and the neutral region RN at time t20. It is larger than the distance Wnr [t20].

特徴位置CPrと特徴位置CPlとの距離DCPが大きくなる場合、指FGが大きく動いていることが想定される。指FGを大きく動かすと、ニュートラル領域RN側に指FGが若干戻る場合がある。この場合、特徴位置CPとニュートラル領域RNとの距離Wnが小さいと、入力領域RDに存在すべきタッチ位置Pがニュートラル領域RNに移動し、誤操作が生じる可能性がある。   When the distance DCP between the characteristic position CPr and the characteristic position CPl is large, it is assumed that the finger FG is moving largely. When the finger FG is greatly moved, the finger FG may slightly return to the neutral region RN side. In this case, if the distance Wn between the characteristic position CP and the neutral region RN is small, the touch position P that should exist in the input region RD may move to the neutral region RN, and an erroneous operation may occur.

このため、図13に示す例では、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなるにしたがい、特徴位置CPとニュートラル領域RNとの距離Wnを大きくすることにより、入力領域RDに存在すべきタッチ位置Pがニュートラル領域RNに移動することを抑止することができる。この結果、誤操作が生じる可能性を低減させることができる。   Therefore, in the example shown in FIG. 13, as the distance DCP between the characteristic position CPr and the characteristic position CPl increases, the distance Wn between the characteristic position CP and the neutral area RN increases, so that the input area RD exists. It is possible to prevent the intended touch position P from moving to the neutral region RN. As a result, it is possible to reduce the possibility of erroneous operation.

また、図13に示す例では、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなるにしたがい、特徴位置CPとニュートラル領域RNとの距離Wnを大きくすることにより、ニュートラル領域RNが大きくなり過ぎることを抑止することができる。例えば、ニュートラル領域RNが大きくなりすぎると、入力領域RDr及びRDlの一方から他方に指FGを移動させる場合の指FGの移動量(操作量)が大きくなり、操作性が低下する場合がある。図13に示す例では、ニュートラル領域RNが大きくなり過ぎることを抑止することができるため、操作性が低下することを抑止することができる。   In the example shown in FIG. 13, the neutral region RN becomes too large by increasing the distance Wn between the characteristic position CP and the neutral region RN as the distance DCP between the characteristic position CPr and the characteristic position CPl increases. Can be suppressed. For example, if the neutral area RN becomes too large, the movement amount (operation amount) of the finger FG when the finger FG is moved from one of the input areas RDr and RDl to the other becomes large, and the operability may decrease. In the example shown in FIG. 13, since it is possible to prevent the neutral area RN from becoming too large, it is possible to prevent the operability from decreasing.

なお、操作領域決定部115は、所定のゲームが起動されてから、ニュートラル領域RNとの距離が予め決められた最小距離以上になるタッチ位置Pが検出される前までの期間では、図13に示したニュートラル領域RNの大きさの調整を実行しなくてもよい。あるいは、特徴位置決定部114は、所定のゲームの起動時に、ニュートラル領域RNから最小距離だけ離れた位置を特徴位置CPの初期値として設定してもよい。   It should be noted that the operation area determination unit 115 displays the state shown in FIG. 13 during the period from the start of the predetermined game to the detection of the touch position P at which the distance from the neutral area RN becomes the predetermined minimum distance or more. The adjustment of the size of the shown neutral region RN may not be performed. Alternatively, the characteristic position determination unit 114 may set a position separated from the neutral region RN by the minimum distance as the initial value of the characteristic position CP at the time of starting a predetermined game.

特徴位置CPの初期値が設定される場合、特徴位置CPとニュートラル領域RNとの距離Wnは、下記の式(1)、式(2)及び式(3)の何れかに基づいて算出されてもよいし、式(1)、式(2)及び式(3)とは異なる式に基づいて算出されてもよい。
Wn=Wint(1+(DCP−Dint)/(Dmax−Dint)*α) ・・・(1)
Wn=Wint*DCP/Dint ・・・(2)
Wn=DCP*β ・・・(3)
なお、式(1)及び式(2)のWintは、所定のゲームの起動時における特徴位置CPとニュートラル領域RNとの距離(距離Wnの初期値)を示し、Dintは、所定のゲームの起動時における特徴位置CPrと特徴位置CPlとの距離(距離DCPの初期値)を示す。また、式(1)のDmaxは、距離DCPの取り得る最大値を示し、αは、正の実数で与えられる定数を示す。また、式(3)のβは、0より大きく0.5未満の実数で与えられる定数を示す。なお、式(3)は、特徴位置CPの初期値が設定されない場合に用いられてもよい。
When the initial value of the characteristic position CP is set, the distance Wn between the characteristic position CP and the neutral region RN is calculated based on any of the following equations (1), (2) and (3). Alternatively, it may be calculated based on an equation different from the equations (1), (2) and (3).
Wn = Wint (1+ (DCP-Dint) / (Dmax-Dint) * α) (1)
Wn = Wint * DCP / Dint (2)
Wn = DCP * β (3)
Note that Wint in the equations (1) and (2) indicates the distance (the initial value of the distance Wn) between the characteristic position CP and the neutral area RN at the time of starting the predetermined game, and Dint is the start of the predetermined game. The distance (initial value of the distance DCP) between the characteristic position CPr and the characteristic position CPl at time is shown. Further, Dmax in Expression (1) indicates the maximum value that the distance DCP can take, and α indicates a constant given by a positive real number. Further, β in the equation (3) represents a constant given by a real number greater than 0 and less than 0.5. The expression (3) may be used when the initial value of the characteristic position CP is not set.

また、操作領域決定部115は、操作領域座標系ΣVにおける特徴位置CPのXv座標と、ニュートラル領域RNを規定する円BDnのXv軸との交点との差で表される距離(例えば、図15に示す距離Wxr及びWxl)を、特徴位置CPとニュートラル領域RNとの距離Wnとしてもよい。   In addition, the operation area determination unit 115 represents a distance represented by a difference between the Xv coordinate of the characteristic position CP in the operation area coordinate system ΣV and the intersection of the Xv axis of the circle BDn that defines the neutral area RN (for example, FIG. 15). The distances Wxr and Wxl) may be set as the distance Wn between the characteristic position CP and the neutral region RN.

図14は、変形例1に係る端末装置10の動作の別の例を示す説明図である。なお、図14は、変形例1に係るタッチ位置変化例の一例である。図14に示すタッチ位置変化例では、端末装置10は、ニュートラル領域RNを規定する円BDnの半径r(すなわち、ニュートラル領域RNの大きさ)を、特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化させる。図14に示す時刻t20及びt21における端末装置10の動作は、特徴位置CPr、CPl、タッチ位置P[t18]、P[t20]及びP[t21]を除いて、図12に示した動作と同じであるため、詳細な説明を省略する。なお、図14に示す例においても、時刻t22は、時刻t21よりも後の時刻であるが、時刻t22は、時刻t21と同一の時刻であってもよい。   FIG. 14 is an explanatory diagram showing another example of the operation of the terminal device 10 according to the first modification. Note that FIG. 14 is an example of a touch position change example according to the first modification. In the touch position change example illustrated in FIG. 14, the terminal device 10 sets the radius r of the circle BDn defining the neutral region RN (that is, the size of the neutral region RN) to the distance DCP between the characteristic position CPr and the characteristic position CPl. Change accordingly. The operation of the terminal device 10 at times t20 and t21 shown in FIG. 14 is the same as the operation shown in FIG. 12, except for the characteristic positions CPr, CPl, and the touch positions P [t18], P [t20], and P [t21]. Therefore, detailed description is omitted. In the example shown in FIG. 14, the time t22 is a time later than the time t21, but the time t22 may be the same time as the time t21.

時刻t20では、時刻t20におけるタッチ位置P[t20]が特徴位置CPr(タッチ位置P[t18])よりも−Xv側に存在するため、特徴位置CPr及び操作領域V[t20]の位置は、変更されずに維持される。   At time t20, since the touch position P [t20] at time t20 is on the −Xv side of the characteristic position CPr (touch position P [t18]), the positions of the characteristic position CPr and the operation area V [t20] are changed. It is maintained without being.

時刻t21では、タッチ位置P[t21]が特徴位置CPr(タッチ位置P[t18])よりも+Xv側に存在するため、特徴位置決定部114は、特徴位置CPrを、タッチ位置P[t18]からタッチ位置P[t21]に更新する。また、操作領域決定部115は、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの中点を補正位置Md[t21]として定める。そして、操作領域決定部115は、基準位置Ov[t21]を起点とし、補正位置Md[t21]を終点とする操作領域移動ベクトルVmd[t21]を定める。   At time t21, since the touch position P [t21] is on the + Xv side of the characteristic position CPr (touch position P [t18]), the characteristic position determination unit 114 shifts the characteristic position CPr from the touch position P [t18]. The touch position P [t21] is updated. In addition, the operation area determination unit 115 determines the midpoint between the characteristic position CPr (touch position P [t21]) and the characteristic position CP1 as the correction position Md [t21]. Then, the operation area determination unit 115 determines the operation area movement vector Vmd [t21] having the reference position Ov [t21] as the starting point and the correction position Md [t21] as the ending point.

時刻t22において、操作領域決定部115は、図12で説明したように、基準位置Ov[t22]が補正位置Md[t21]に一致するように、基準位置Ov[t22]、操作領域座標系ΣV[t22]、及び、操作領域V[t22]を設定する。   At time t22, the operation area determination unit 115 sets the reference position Ov [t22] and the operation area coordinate system ΣV so that the reference position Ov [t22] matches the correction position Md [t21], as described with reference to FIG. [T22] and the operation area V [t22] are set.

また、時刻t22において、操作領域決定部115は、ニュートラル領域RNを規定する円BDnの半径r[t22](すなわち、ニュートラル領域RNの大きさ)を、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]に基づいて決定する。
なお、ニュートラル領域RNを規定する円BDnの半径rは、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなるにしたがい大きくなる。
At time t22, the operation area determination unit 115 sets the radius r [t22] (that is, the size of the neutral area RN) of the circle BDn defining the neutral area RN to the characteristic position CPr (touch position P [t21]). Is determined based on the distance DCP [t22] between the characteristic position CP1 and the characteristic position CP1.
The radius r of the circle BDn defining the neutral area RN increases as the distance DCP between the characteristic position CPr and the characteristic position CPl increases.

例えば、操作領域決定部115は、特徴位置CPrと特徴位置CPlとの距離DCPに対する円BDnの半径rの比率がニュートラル領域RNの位置の修正前後で変化しないように、円BDnの半径rを決定する。この場合、特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]に対する円BDnの半径r[t22]の比率は、タッチ位置P[t18](更新前の特徴位置CPr)と特徴位置CPlとの距離DCP[t20]に対する円BDnの半径r[t20]の比率と、同じである。図14に示すニュートラル領域RN内の破線の円は、ニュートラル領域RNの大きさを一定にした場合のニュートラル領域RNを示す。特徴位置CPr(タッチ位置P[t21])と特徴位置CPlとの距離DCP[t22]は、タッチ位置P[t18](更新前の特徴位置CPr)と特徴位置CPlとの距離DCP[t20]より大きい。このため、円BDnの半径r[t22]は、円BDnの半径r[t20]より大きい。   For example, the operation area determination unit 115 determines the radius r of the circle BDn so that the ratio of the radius r of the circle BDn to the distance DCP between the characteristic position CPr and the characteristic position CPl does not change before and after the correction of the position of the neutral area RN. To do. In this case, the ratio of the radius r [t22] of the circle BDn to the distance DCP [t22] between the characteristic position CPr (touch position P [t21]) and the characteristic position CPl is the touch position P [t18] (feature position before update). The ratio of the radius r [t20] of the circle BDn to the distance DCP [t20] between the CPr) and the characteristic position CPl is the same. The dashed circle in the neutral region RN shown in FIG. 14 indicates the neutral region RN when the size of the neutral region RN is constant. The distance DCP [t22] between the characteristic position CPr (touch position P [t21]) and the characteristic position CPl is calculated from the distance DCP [t20] between the touch position P [t18] (feature position CPr before update) and the characteristic position CPl. large. Therefore, the radius r [t22] of the circle BDn is larger than the radius r [t20] of the circle BDn.

図14に示す例では、ニュートラル領域RNを規定する円BDnの半径r(すなわち、ニュートラル領域RNの大きさ)が特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化するため、ニュートラル領域RNが大きくなり過ぎて操作性が低下することを抑止することができる。例えば、特徴位置CPとニュートラル領域RNとの距離Wnが距離DISに維持される図12に示した方法では、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなると、距離DCPに対する円BDnの半径rの比率も大きくなる。このため、図12に示した方法では、ニュートラル領域RNにタッチ位置Pを戻し易くなる一方で、特徴位置CPrと特徴位置CPlとの距離DCPが大きくなると、ニュートラル領域RNの大きさが操作性を低下させるほどの大きさになる場合がある。   In the example shown in FIG. 14, the radius r of the circle BDn that defines the neutral region RN (that is, the size of the neutral region RN) changes according to the distance DCP between the characteristic position CPr and the characteristic position CPl. It is possible to prevent the operability from deteriorating due to too large. For example, in the method shown in FIG. 12 in which the distance Wn between the characteristic position CP and the neutral region RN is maintained at the distance DIS, when the distance DCP between the characteristic position CPr and the characteristic position CPl increases, the radius of the circle BDn with respect to the distance DCP. The ratio of r also increases. Therefore, in the method shown in FIG. 12, the touch position P can be easily returned to the neutral region RN, while the size of the neutral region RN reduces the operability when the distance DCP between the characteristic position CPr and the characteristic position CPl increases. It may be large enough to lower it.

これに対し、図14に示す例では、特徴位置CPrと特徴位置CPlとの距離DCPに対する円BDnの半径rの比率が所定の値に維持されるため、ニュートラル領域RNの大きさが操作性を低下させるほどの大きさになることを抑止することができる。この結果、図14に示す例では、ニュートラル領域RNが大きくなり過ぎて操作性が低下することを抑止することができる。   On the other hand, in the example shown in FIG. 14, the ratio of the radius r of the circle BDn to the distance DCP between the characteristic position CPr and the characteristic position CPl is maintained at a predetermined value, so that the size of the neutral region RN has operability. It is possible to prevent the size from being lowered. As a result, in the example shown in FIG. 14, it is possible to prevent the neutral region RN from becoming too large and the operability being lowered.

なお、本変形例において、ニュートラル領域RNの大きさには、ニュートラル領域RNの大きさが操作性を低下させるほどの大きさになることを抑止するために、上限値が予め決められていてもよい。例えば、操作領域決定部115は、特徴位置CPrと特徴位置CPlの少なくとも一方に基づいて算出したニュートラル領域RNの大きさが予め決められた上限値を超える場合、ニュートラル領域RNの大きさを上限値に決定してもよい。   In the present modification, the size of the neutral region RN may have a predetermined upper limit value in order to prevent the size of the neutral region RN from becoming large enough to reduce the operability. Good. For example, when the size of the neutral region RN calculated based on at least one of the characteristic position CPr and the characteristic position CPl exceeds a predetermined upper limit value, the operation region determination unit 115 sets the size of the neutral region RN to the upper limit value. May be determined.

また、本変形例において、ニュートラル領域RNの大きさには、ニュートラル領域RNの大きさが操作性を低下させるほどの大きさになることを抑止するために、下限値が予め決められていてもよい。例えば、操作領域決定部115は、特徴位置CPrと特徴位置CPlの少なくとも一方に基づいて算出したニュートラル領域RNの大きさが予め決められた下限値未満である場合、ニュートラル領域RNの大きさを下限値に決定してもよい。   Further, in this modification, the size of the neutral region RN may have a predetermined lower limit value in order to prevent the size of the neutral region RN from becoming large enough to reduce the operability. Good. For example, when the size of the neutral region RN calculated based on at least one of the characteristic position CPr and the characteristic position CPl is less than a predetermined lower limit value, the operation region determination unit 115 sets the lower limit of the size of the neutral region RN. The value may be determined.

以上のように、本変形例において、操作領域決定部115は、特徴位置CPrと特徴位置CPlの少なくとも一方に基づいて、ニュートラル領域RNの大きさを決定する。このため、本変形例によれば、例えば、ニュートラル領域RNの大きさが固定されている場合と比較して、操作性を向上させることが可能となる。   As described above, in the present modification, the operation area determination unit 115 determines the size of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CPl. Therefore, according to this modification, it is possible to improve the operability, as compared with the case where the size of the neutral region RN is fixed, for example.

[変形例2]
上述した実施形態において、ニュートラル領域RNの位置は、補正位置Mdを利用して決定されたが、本発明はこのような態様に限定されるものではない。例えば、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの少なくとも一方に基づいて、ニュートラル領域RNの位置を決定してもよい。特徴位置CPr及び特徴位置CPlの少なくとも一方に基づいてニュートラル領域RNの位置を決定する方法の一例を、図15を用いて説明するが、ニュートラル領域RNの位置を決定する方法は、図15に示す例に限定されない。
[Modification 2]
In the above-described embodiment, the position of the neutral region RN is determined by using the correction position Md, but the present invention is not limited to such an aspect. For example, the operation area determination unit 115 may determine the position of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CPl. An example of a method of determining the position of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CPl will be described with reference to FIG. 15. The method of determining the position of the neutral area RN is shown in FIG. It is not limited to the example.

図15は、変形例2に係る端末装置10の動作の一例を示す説明図である。なお、図15は、変形例2に係るタッチ位置変化例の一例である。図15に示すタッチ位置変化例では、端末装置10は、操作領域座標系ΣVにおける特徴位置CPrのXv座標と、ニュートラル領域RNを規定する円BDnのXv軸との交点との差で表される距離Wxrを一定に維持するように、ニュートラル領域RNの位置を決定する。なお、以下では、時刻tにおける距離Wxrを距離Wxr[t]とも称する。また、操作領域座標系ΣVにおける特徴位置CPlのXv座標と、ニュートラル領域RNを規定する円BDnのXv軸との交点との差で表される距離Wxlと、距離Wxrとは、特に区別しない場合等では、距離Wxとも称される。図15に示す時刻t20における端末装置10の動作は、図12に示した動作と同じであるため、説明を省略する。また、図15に示す時刻t21における端末装置10の動作は、操作領域移動ベクトルVmdの算出方法を除いて、図12に示した動作と同じであるため、操作領域移動ベクトルVmdの算出方法を中心に説明する。図15に示す例においても、時刻t22は、時刻t21よりも後の時刻であるが、時刻t22は、時刻t21と同一の時刻であってもよい。   FIG. 15 is an explanatory diagram illustrating an example of an operation of the terminal device 10 according to the second modification. Note that FIG. 15 is an example of a touch position change example according to the second modification. In the touch position change example illustrated in FIG. 15, the terminal device 10 is represented by the difference between the Xv coordinate of the characteristic position CPr in the operation region coordinate system ΣV and the intersection of the Xv axis of the circle BDn that defines the neutral region RN. The position of the neutral region RN is determined so that the distance Wxr is kept constant. In the following, the distance Wxr at time t will also be referred to as the distance Wxr [t]. Further, when the distance Wxl and the distance Wxr, which are represented by the difference between the Xv coordinate of the characteristic position CPl in the operation area coordinate system ΣV and the intersection of the Xv axis of the circle BDn that defines the neutral area RN, are not particularly distinguished. Etc., it is also referred to as the distance Wx. The operation of the terminal device 10 at time t20 shown in FIG. 15 is the same as the operation shown in FIG. Further, the operation of the terminal device 10 at time t21 shown in FIG. 15 is the same as the operation shown in FIG. 12 except for the method of calculating the operation area movement vector Vmd, and therefore the operation method of the operation area movement vector Vmd will be mainly described. Explained. Also in the example shown in FIG. 15, the time t22 is a time after the time t21, but the time t22 may be the same time as the time t21.

時刻t21では、タッチ位置P[t21]が特徴位置CPr(タッチ位置P[t18])よりも+Xv側に存在するため、特徴位置決定部114は、特徴位置CPrを、タッチ位置P[t18]からタッチ位置P[t21]に更新する。また、操作領域決定部115は、更新前の特徴位置CPr(タッチ位置P[t18])を起点とし、更新後の特徴位置CPr(タッチ位置P[t21])を終点とするベクトルのうち、Xv成分のみを取り出したベクトルを、操作領域移動ベクトルVmd[t21]として定める。   At time t21, since the touch position P [t21] is on the + Xv side of the characteristic position CPr (touch position P [t18]), the characteristic position determination unit 114 shifts the characteristic position CPr from the touch position P [t18]. The touch position P [t21] is updated. Further, the operation area determination unit 115 sets Xv among the vectors having the characteristic position CPr (touch position P [t18]) before update as the starting point and the characteristic position CPr (touch position P [t21]) after update as the end point. The vector obtained by extracting only the component is defined as the operation area movement vector Vmd [t21].

そして、時刻t22において、操作領域決定部115は、基準位置Ov[t21]、操作領域座標系ΣV[t21]、及び、操作領域V[t21]を、操作領域移動ベクトルVmd[t21]に対応する移動量だけ移動させることで、基準位置Ov[t22]、操作領域座標系ΣV[t22]、及び、操作領域V[t22]を設定する。この結果、ニュートラル領域RNの位置を移動した後の距離Wxr[t22]は、ニュートラル領域RNの位置を移動する前の距離Wxr[t20]と同じ距離DISxに維持される。すなわち、操作領域決定部115は、更新後の特徴位置CP及びニュートラル領域RNにより決まる距離Wxを所定の距離DISxに維持するように、ニュートラル領域RN及び操作領域V等を設定する。   Then, at time t22, the operation area determination unit 115 corresponds the reference position Ov [t21], the operation area coordinate system ΣV [t21], and the operation area V [t21] to the operation area movement vector Vmd [t21]. The reference position Ov [t22], the operation area coordinate system ΣV [t22], and the operation area V [t22] are set by moving by the movement amount. As a result, the distance Wxr [t22] after moving the position of the neutral area RN is maintained at the same distance DISx as the distance Wxr [t20] before moving the position of the neutral area RN. That is, the operation area determination unit 115 sets the neutral area RN, the operation area V, and the like so that the distance Wx determined by the updated characteristic position CP and the neutral area RN is maintained at the predetermined distance DISx.

図15に示す例では、更新前の特徴位置CPrを起点とし、更新後の特徴位置CPrを終点とするベクトルのうちのXv成分のみを取り出した操作領域移動ベクトルVmdに対応する移動量だけニュートラル領域RNが移動するため、ニュートラル領域RNの中心は、特徴位置CPr及び特徴位置CPlの中点(図15の破線の×印)と一致しない。すなわち、ニュートラル領域RNの中心は、特徴位置CPr及び特徴位置CPlの中点(図15の破線の×印)と一致しなくてもよい。以下では、更新前の特徴位置CPを起点とし、更新後の特徴位置CPを終点とするベクトルは、特徴位置CPの移動ベクトルとも称される。   In the example shown in FIG. 15, the neutral area is the amount of movement corresponding to the operation area movement vector Vmd in which only the Xv component is extracted from the vector having the characteristic position CPr before updating as the starting point and the characteristic position CPr after updating as the ending point. Since the RN moves, the center of the neutral region RN does not coincide with the midpoint of the characteristic position CPr and the characteristic position CP1 (marked by a broken line in FIG. 15). That is, the center of the neutral region RN does not have to coincide with the midpoint of the characteristic position CPr and the characteristic position CP1 (marked with a broken line in FIG. 15). In the following, a vector whose starting point is the characteristic position CP before updating and whose ending point is the characteristic position CP after updating is also referred to as a movement vector of the characteristic position CP.

なお、ニュートラル領域RNの位置の決定に補正位置Mdを利用しない場合においても、ニュートラル領域RNの中心を、特徴位置CPr及び特徴位置CPlの中点(図15の破線の×印)に一致させてもよい。例えば、操作領域決定部115は、特徴位置CPrの移動ベクトルのXv成分及びYv成分をそれぞれ2分の1にしたベクトルを、操作領域移動ベクトルVmd[t21]として定めてもよい。   Even when the correction position Md is not used to determine the position of the neutral region RN, the center of the neutral region RN is made to coincide with the midpoint of the characteristic position CPr and the characteristic position CPl (marked with a broken line in FIG. 15). Good. For example, the operation area determination unit 115 may determine a vector obtained by halving the Xv component and the Yv component of the movement vector of the characteristic position CPr as the operation area movement vector Vmd [t21].

また、操作領域決定部115は、特徴位置CPrの移動ベクトルを、操作領域移動ベクトルVmd[t21]として定めてもよい。この場合、特徴位置CPrとニュートラル領域RNとの位置関係は、ニュートラル領域RNの位置の修正前後で維持される。また、操作領域決定部115は、ニュートラル領域RNの大きさを調整してもよい。例えば、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの中点がニュートラル領域RN外にならないように、ニュートラル領域RNの大きさを調整してもよい。   Further, the operation area determination unit 115 may set the movement vector of the characteristic position CPr as the operation area movement vector Vmd [t21]. In this case, the positional relationship between the characteristic position CPr and the neutral region RN is maintained before and after the correction of the position of the neutral region RN. In addition, the operation area determination unit 115 may adjust the size of the neutral area RN. For example, the operation area determination unit 115 may adjust the size of the neutral area RN so that the midpoint of the characteristic position CPr and the characteristic position CPl does not fall outside the neutral area RN.

また、操作領域決定部115は、特徴位置CP及びニュートラル領域RNにより決まる距離Wxを、図13に示した例と同様に、特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化させてもよい。この場合、操作領域移動ベクトルVmdの大きさは、例えば、特徴位置CPの移動ベクトルのXv成分の大きさより小さくなる。操作領域決定部115は、距離Wxを距離DCPに応じて変化させる場合、ニュートラル領域RNを規定する円BDnの半径r(ニュートラル領域RNの大きさ)を、所定の大きさに維持してもよいし、特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化させてもよい。操作領域決定部115は、距離Wx及び円BDnの半径rを特徴位置CPrと特徴位置CPlとの距離DCPに応じて変化させる場合、例えば、円BDnの半径rの増加量を、特徴位置CPの移動ベクトルのXv成分の大きさから操作領域移動ベクトルVmdの大きさを引いた値を超えない範囲に設定する。   Further, the operation area determination unit 115 may change the distance Wx determined by the characteristic position CP and the neutral area RN according to the distance DCP between the characteristic position CPr and the characteristic position CPl, as in the example shown in FIG. Good. In this case, the magnitude of the operation area movement vector Vmd is smaller than the magnitude of the Xv component of the movement vector of the characteristic position CP, for example. When changing the distance Wx according to the distance DCP, the operation area determination unit 115 may maintain the radius r (size of the neutral area RN) of the circle BDn defining the neutral area RN at a predetermined size. However, it may be changed according to the distance DCP between the characteristic position CPr and the characteristic position CPl. When changing the distance Wx and the radius r of the circle BDn according to the distance DCP between the characteristic position CPr and the characteristic position CPl, the operation area determination unit 115, for example, increases the radius r of the circle BDn with respect to the characteristic position CP. It is set within a range that does not exceed a value obtained by subtracting the size of the operation area movement vector Vmd from the size of the Xv component of the movement vector.

以上のように、本変形例において、操作領域決定部115は、補正位置Mdを算出することなく、特徴位置CPr及び特徴位置CPlの少なくとも一方に基づいて、ニュートラル領域RNの位置を決定する。従って、本変形例においても、上述した実施形態及び変形例1と同様に、例えば、タッチパネル1002においてニュートラル領域RNの位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。また、本変形例では、補正位置Mdを算出しないため、補正位置Mdを算出する場合に比べて、処理を簡易にすることが可能となる。   As described above, in the present modification, the operation area determination unit 115 determines the position of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CPl without calculating the correction position Md. Therefore, also in the present modification, as in the case of the above-described embodiment and modification 1, for example, erroneous input due to the shift of the touch position P as compared with the case where the position of the neutral region RN is fixed on the touch panel 1002. It is possible to reduce the possibility that Further, in the present modified example, the correction position Md is not calculated, so that the process can be simplified as compared with the case where the correction position Md is calculated.

[変形例3]
上述した実施形態において、特徴位置決定部114は、入力領域RDrに存在するタッチ位置Pに基づく特徴位置CPrと、入力領域RDlに存在するタッチ位置Pに基づく特徴位置CPlとを決定し、また、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、+Xv方向及び−Xv方向を含むXv軸方向における操作領域Vの位置と、+Yv方向及び−Yv方向を含むYv軸方向における操作領域Vの位置と、を定めるが、本発明はこのような態様に限定されるものではない。
[Modification 3]
In the above-described embodiment, the characteristic position determination unit 114 determines the characteristic position CPr based on the touch position P existing in the input area RDr and the characteristic position CPl based on the touch position P existing in the input area RDl, and The operation area determination unit 115, based on the characteristic position CPr and the characteristic position CPl, the position of the operation area V in the Xv axis direction including the + Xv direction and the -Xv direction and the operation in the Yv axis direction including the + Yv direction and the -Yv direction. The position of the region V is determined, but the present invention is not limited to such an aspect.

詳細は後述する図16及び図17で説明するが、例えば、特徴位置決定部114は、特徴位置CPr及び特徴位置CPlに加えて、入力領域RDuに存在するタッチ位置Pに基づいて特徴位置CPuを決定し、入力領域RDdに存在するタッチ位置Pに基づいて特徴位置CPdを決定してもよい。なお、特徴位置CPr、特徴位置CPl、特徴位置CPu及び特徴位置CPdは、特に区別しない場合等では、特徴位置CPとも称される。   Although details will be described later with reference to FIGS. 16 and 17, for example, the characteristic position determination unit 114 determines the characteristic position CPu based on the touch position P existing in the input area RDu in addition to the characteristic position CPr and the characteristic position CPl. Alternatively, the characteristic position CPd may be determined based on the touch position P existing in the input area RDd. Note that the characteristic position CPr, the characteristic position CP1, the characteristic position CPu, and the characteristic position CPd are also referred to as the characteristic position CP unless otherwise specified.

例えば、特徴位置決定部114は、入力領域RDu内の最新のタッチ位置Pに基づく位置を特徴位置CPuとして特定するか現状の特徴位置CPuを更新せずに維持するかをタッチ位置Pに基づいて判定し、判定結果に従って特徴位置CPuを決定してもよい。また、特徴位置決定部114は、入力領域RDd内の最新のタッチ位置Pに基づく位置を特徴位置CPdとして特定するか現状の特徴位置CPdを更新せずに維持するかをタッチ位置Pに基づいて判定し、判定結果に従って特徴位置CPdを決定してもよい。以下では、特徴位置CPuを更新するかの条件は、第3特定条件とも称され、特徴位置CPdを更新するかの条件は、第4特定条件とも称される。   For example, the characteristic position determination unit 114 determines, based on the touch position P, whether to specify the position based on the latest touch position P in the input area RDu as the characteristic position CPu or maintain the current characteristic position CPu without updating. The characteristic position CPu may be determined according to the determination result. In addition, the characteristic position determination unit 114 determines, based on the touch position P, whether to specify a position based on the latest touch position P in the input area RDd as the characteristic position CPd or maintain the current characteristic position CPd without updating. The characteristic position CPd may be determined according to the determination result. Below, the condition of updating the characteristic position CPu is also referred to as a third specific condition, and the condition of updating the characteristic position CPd is also referred to as a fourth specific condition.

具体的には、特徴位置決定部114は、タッチ位置Pが入力領域RDuに存在する入力領域タッチ期間TRuのうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRuが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も+Yv側に位置するという条件(「第3特定条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPuとして特定してもよい。   Specifically, the feature position determination unit 114, the touch position indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time in the input region touch period TRu in which the touch position P exists in the input region RDu. P is one or a plurality of touch positions P indicated by one or a plurality of touch position information acquired by the touch position information acquisition unit 113 in a period from the time when the input area touch period TRu is started to one time, When the condition of being located closest to the + Yv side (an example of the “third specifying condition”) is satisfied, the touch position P corresponding to the one time may be specified as the characteristic position CPu.

また、特徴位置決定部114は、タッチ位置Pが入力領域RDdに存在する入力領域タッチ期間TRdのうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRdが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も−Yv側に位置するという条件(「第4特定条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPdとして特定してもよい。   Further, the characteristic position determination unit 114 determines that the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time in the input region touch period TRd in which the touch position P exists in the input region RDd, Of the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the period from the time when the input area touch period TRd is started to the one time, -Yv is the most. When the condition of being located on the side (an example of the “fourth specifying condition”) is satisfied, the touch position P corresponding to the one time may be specified as the characteristic position CPd.

そして、この場合、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、Xv軸方向における操作領域Vの位置を定め、また、特徴位置CPu及び特徴位置CPdに基づいて、Yv軸方向における操作領域Vの位置を定めてもよい。
なお、以下では、第1特定条件、第2特定条件、第3特定条件、及び、第4特定条件を、特徴位置特定条件と総称する場合がある。図16及び図17を参照して、本変形例に係るタッチ位置変化例を説明する。
Then, in this case, the operation area determination unit 115 determines the position of the operation area V in the Xv axis direction based on the characteristic position CPr and the characteristic position CPl, and based on the characteristic position CPu and the characteristic position CPd, the Yv axis. The position of the operation area V in the direction may be determined.
In addition, below, the 1st specific condition, the 2nd specific condition, the 3rd specific condition, and the 4th specific condition may be generically called a characteristic position specific condition. With reference to FIGS. 16 and 17, a touch position change example according to the present modification will be described.

図16は、変形例3に係る端末装置10の動作の一例を示す説明図である。なお、図16は、変形例3に係るタッチ位置変化例の一例である。図16に示すタッチ位置変化例は、Xv軸方向における操作領域Vの位置を定める場合の端末装置10の動作の一例を示す。なお、本変形例に係るタッチ位置変化例のうち、時刻t0から時刻t4までの期間は、図7及び図8に示した実施形態に係るタッチ位置変化例と同様であることとする。また、図16に示す時刻t5における端末装置10の動作は、操作領域移動ベクトルVmdの算出方法を除いて、図8に示した動作と同じである。このため、時刻t5における端末装置10の動作については、操作領域移動ベクトルVmdの算出方法を中心に説明する。   FIG. 16 is an explanatory diagram illustrating an example of the operation of the terminal device 10 according to the third modification. Note that FIG. 16 is an example of a touch position change example according to Modification 3. The touch position change example illustrated in FIG. 16 illustrates an example of the operation of the terminal device 10 when the position of the operation area V in the Xv axis direction is determined. In the touch position change example according to the present modification, the period from time t0 to time t4 is the same as the touch position change example according to the embodiment illustrated in FIGS. 7 and 8. The operation of the terminal device 10 at time t5 shown in FIG. 16 is the same as the operation shown in FIG. 8 except for the method of calculating the operation area movement vector Vmd. Therefore, the operation of the terminal device 10 at time t5 will be described focusing on the method of calculating the operation area movement vector Vmd.

時刻t4から時刻t5にかけて、タッチ位置Pは、入力領域RDr内のタッチ位置P[t4]から入力領域RDl内のタッチ位置P[t5]に向かって移動する。そして、時刻t5において、タッチ位置Pが入力領域RDlに侵入し、入力領域タッチ期間TRlが開始される。時刻t5において開始された入力領域タッチ期間TRlの中で、タッチ位置P[t5]が、基準位置Ovから−Xv方向に対して最も離れた位置となる。このため、時刻t5において、特徴位置決定部114は、タッチ位置P[t5]を特徴位置CPlに決定する。   From time t4 to time t5, the touch position P moves from the touch position P [t4] in the input area RDr to the touch position P [t5] in the input area RDl. Then, at time t5, the touch position P enters the input region RDl, and the input region touch period TRl is started. In the input area touch period TRl started at time t5, the touch position P [t5] is the position farthest from the reference position Ov in the −Xv direction. Therefore, at time t5, the characteristic position determination unit 114 determines the touch position P [t5] as the characteristic position CPl.

また、時刻t5において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlの中点を、補正位置Md[t5]として定める。また、操作領域決定部115は、基準位置Ov[t5]を起点とし、補正位置Md[t5]を終点とするベクトルのうち、Xv成分のみを取り出したベクトルを、操作領域移動ベクトルVmd[t5]として定める。   Further, at time t5, the operation area determination unit 115 determines the midpoint of the characteristic position CPr and the characteristic position CP1 as the correction position Md [t5]. In addition, the operation area determination unit 115 extracts, from the vectors having the reference position Ov [t5] as the starting point and the correction position Md [t5] as the end point, a vector in which only the Xv component is extracted as the operation area movement vector Vmd [t5]. As specified.

そして、時刻t6において、操作領域決定部115は、基準位置Ov[t5]、操作領域座標系ΣV[t5]、及び、操作領域V[t5]を、操作領域移動ベクトルVmd[t5]に対応する移動量だけ移動させることで、基準位置Ov[t6]、操作領域座標系ΣV[t6]、及び、操作領域V[t6]を設定する。すなわち、操作領域決定部115は、操作領域移動ベクトルVmd[t5]に対応する移動量だけニュートラル領域RNを移動させる。なお、本変形例に係るタッチ位置変化例では、時刻t6は、時刻t5よりも後の時刻であるが、時刻t6は、時刻t5と同一の時刻であってもよい。次に、図17を参照して、図16に示した動作の続きを説明する。   Then, at time t6, the operation area determination unit 115 corresponds the reference position Ov [t5], the operation area coordinate system ΣV [t5], and the operation area V [t5] to the operation area movement vector Vmd [t5]. The reference position Ov [t6], the operation area coordinate system ΣV [t6], and the operation area V [t6] are set by moving by the movement amount. That is, the operation area determination unit 115 moves the neutral area RN by the movement amount corresponding to the operation area movement vector Vmd [t5]. In addition, in the touch position change example according to the present modification, the time t6 is a time after the time t5, but the time t6 may be the same time as the time t5. Next, the continuation of the operation shown in FIG. 16 will be described with reference to FIG.

図17は、変形例3に係る端末装置10の動作の一例を示す説明図である。なお、図17は、変形例3に係るタッチ位置変化例の一例である。図17に示すタッチ位置変化例は、Yv軸方向における操作領域Vの位置を定める場合の端末装置10の動作の一例を示す。   FIG. 17 is an explanatory diagram illustrating an example of the operation of the terminal device 10 according to the third modification. Note that FIG. 17 is an example of a touch position change example according to Modification 3. The touch position change example illustrated in FIG. 17 illustrates an example of the operation of the terminal device 10 when the position of the operation area V in the Yv-axis direction is determined.

時刻t6から時刻t7にかけて、タッチ位置Pは、入力領域RDl内のタッチ位置P[t5]から入力領域RDu内のタッチ位置P[t7]に向かって移動する。そして、時刻t7において、タッチ位置Pが入力領域RDuに侵入し、入力領域タッチ期間TRuが開始される。時刻t7において開始された入力領域タッチ期間TRuの中で、タッチ位置P[t7]が、基準位置Ovから+Yv方向に対して最も離れた位置となる。このため、時刻t7において、特徴位置決定部114は、タッチ位置P[t7]を特徴位置CPuに決定する。   From time t6 to time t7, the touch position P moves from the touch position P [t5] in the input area RD1 toward the touch position P [t7] in the input area RDu. Then, at time t7, the touch position P enters the input region RDu, and the input region touch period TRu is started. In the input area touch period TRu started at time t7, the touch position P [t7] is the position farthest from the reference position Ov in the + Yv direction. Therefore, at time t7, the characteristic position determination unit 114 determines the touch position P [t7] as the characteristic position CPu.

その後、時刻t7から時刻t8にかけて、タッチ位置Pは、入力領域RDu内のタッチ位置P[t7]から入力領域RDd内のタッチ位置P[t8]に移動する。入力領域タッチ期間TRuは、時刻t7から時刻t8の間の時刻(タッチ位置Pが入力領域RDlに侵入した時刻)に終了する。そして、入力領域タッチ期間TRdが、時刻t7から時刻t8の間の時刻(タッチ位置Pが入力領域RDdに侵入した時刻)に開始される。   Then, from time t7 to time t8, the touch position P moves from the touch position P [t7] in the input area RDu to the touch position P [t8] in the input area RDd. The input area touch period TRu ends at the time between time t7 and time t8 (the time when the touch position P enters the input area RD1). Then, the input area touch period TRd is started at a time between time t7 and time t8 (time when the touch position P enters the input area RDd).

時刻t8では、入力領域タッチ期間TRdの中で、タッチ位置P[t8]が、基準位置Ovから−Yv方向に対して最も離れた位置となる。このため、時刻t8において、特徴位置決定部114は、タッチ位置P[t8]を特徴位置CPdに決定する。   At time t8, in the input area touch period TRd, the touch position P [t8] is the position farthest from the reference position Ov in the −Yv direction. Therefore, at time t8, the characteristic position determination unit 114 determines the touch position P [t8] as the characteristic position CPd.

また、時刻t8において、操作領域決定部115は、特徴位置CPu及び特徴位置CPdの中点を、補正位置Md[t8]として定める。また、操作領域決定部115は、基準位置Ov[t8]を起点とし、補正位置Md[t8]を終点とするベクトルのうち、Yv成分のみを取り出したベクトルを、操作領域移動ベクトルVmd[t8]として定める。   At time t8, the operation area determination unit 115 determines the midpoint of the characteristic position CPu and the characteristic position CPd as the corrected position Md [t8]. In addition, the operation area determination unit 115 extracts the Yv component from the vectors having the reference position Ov [t8] as the starting point and the correction position Md [t8] as the end point, and calculates the operation area moving vector Vmd [t8]. As specified.

そして、時刻t9において、操作領域決定部115は、基準位置Ov[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を、操作領域移動ベクトルVmd[t8]に対応する移動量だけ移動させることで、基準位置Ov[t9]、操作領域座標系ΣV[t9]、及び、操作領域V[t9]を設定する。すなわち、操作領域決定部115は、操作領域移動ベクトルVmd[t8]に対応する移動量だけニュートラル領域RNを移動させる。なお、本変形例に係るタッチ位置変化例では、時刻t9は、時刻t8よりも後の時刻であるが、時刻t9は、時刻t8と同一の時刻であってもよい。   Then, at time t9, the operation area determination unit 115 corresponds the reference position Ov [t8], the operation area coordinate system ΣV [t8], and the operation area V [t8] to the operation area movement vector Vmd [t8]. The reference position Ov [t9], the operation area coordinate system ΣV [t9], and the operation area V [t9] are set by moving by the movement amount. That is, the operation area determination unit 115 moves the neutral area RN by the movement amount corresponding to the operation area movement vector Vmd [t8]. In addition, in the touch position change example according to the present modification, the time t9 is a time after the time t8, but the time t9 may be the same time as the time t8.

なお、本変形例においても、操作領域決定部115は、上述した変形例1と同様の方法で、ニュートラル領域RNの大きさを、特徴位置CPrと特徴位置CPlとのXv軸方向における距離、又は、特徴位置CPuと特徴位置CPdとのYv軸方向における距離に応じて変更してもよい。ニュートラル領域RNの大きさの伸縮率がXv軸方向とYv軸方向とで異なる場合、ニュートラル領域RNの形状は、楕円形になる。また、ニュートラル領域RNのYv軸方向における位置の調整は、実行されなくてもよい。すなわち、ニュートラル領域RNのYv軸方向における位置は固定されていてもよい。   Note that, also in this modification, the operation area determination unit 115 determines the size of the neutral area RN by the same method as in the above-described modification 1, the distance between the characteristic position CPr and the characteristic position CPl in the Xv-axis direction, or , May be changed according to the distance between the characteristic position CPu and the characteristic position CPd in the Yv-axis direction. When the expansion / contraction rate of the size of the neutral region RN is different in the Xv-axis direction and the Yv-axis direction, the shape of the neutral region RN is an ellipse. Moreover, the adjustment of the position of the neutral region RN in the Yv-axis direction may not be executed. That is, the position of the neutral region RN in the Yv-axis direction may be fixed.

以上のように、本変形例において、操作領域決定部115は、入力領域RDr及び入力領域RDlに存在するタッチ位置Pに基づいて、ニュートラル領域RNのXv軸方向における位置を決定し、入力領域RDu及び入力領域RDdに存在するタッチ位置Pに基づいて、ニュートラル領域RNのYv軸方向における位置を決定する。このため、本実施形態によれば、例えば、タッチパネル1002においてニュートラル領域RNの位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。   As described above, in the present modification, the operation area determination unit 115 determines the position of the neutral area RN in the Xv-axis direction based on the touch position P existing in the input area RDr and the input area RDl, and the input area RDu. And the position of the neutral region RN in the Yv-axis direction based on the touch position P existing in the input region RDd. Therefore, according to the present embodiment, for example, as compared with the case where the position of the neutral region RN is fixed on the touch panel 1002, the possibility of erroneous input due to the displacement of the touch position P can be reduced. Become.

[変形例4]
上述した実施形態において、タッチパネル座標系ΣSに対する操作領域座標系ΣVの傾きは変化しないが、本発明はこのような態様に限定されるものではない。例えば、操作領域決定部115は、複数の特徴位置CPに基づいて、タッチパネル座標系ΣSに対する操作領域座標系ΣVの傾きを変化させてもよい。より具体的には、操作領域決定部115は、特徴位置決定部114が特徴位置CPr及び特徴位置CPlを決定した場合、基準位置Ovから特徴位置CPrに向かう方向を、+Xv方向として決定し、基準位置Ovから特徴位置CPlに向かう方向を、−Xv方向として決定することで、操作領域座標系ΣVを設定してもよい。
[Modification 4]
In the above-described embodiment, the inclination of the operation area coordinate system ΣV with respect to the touch panel coordinate system ΣS does not change, but the present invention is not limited to such an aspect. For example, the operation area determination unit 115 may change the inclination of the operation area coordinate system ΣV with respect to the touch panel coordinate system ΣS based on the plurality of characteristic positions CP. More specifically, when the characteristic position determination unit 114 determines the characteristic positions CPr and CPl, the operation area determination unit 115 determines the direction from the reference position Ov to the characteristic position CPr as the + Xv direction, and The operation area coordinate system ΣV may be set by determining the direction from the position Ov to the characteristic position CPl as the −Xv direction.

図18は、変形例4に係る端末装置10の動作の一例を示す説明図である。なお、図18は、変形例4に係るタッチ位置変化例の一例である。図18に示すタッチ位置変化例は、タッチパネル座標系ΣSに対する操作領域座標系ΣVの傾きを変化させる場合の端末装置10の動作の一例を示す。なお、本変形例に係るタッチ位置変化例のうち、時刻t0から時刻t4までの期間は、図7及び図8に示した実施形態に係るタッチ位置変化例と同様であることとする。また、図18に示す時刻t5における端末装置10の動作は、図8に示した動作と同じであるため、説明を省略する。   FIG. 18 is an explanatory diagram illustrating an example of the operation of the terminal device 10 according to the fourth modification. Note that FIG. 18 is an example of a touch position change example according to Modification 4. The touch position change example shown in FIG. 18 shows an example of the operation of the terminal device 10 when changing the inclination of the operation area coordinate system ΣV with respect to the touch panel coordinate system ΣS. In the touch position change example according to the present modification, the period from time t0 to time t4 is the same as the touch position change example according to the embodiment illustrated in FIGS. 7 and 8. The operation of the terminal device 10 at time t5 shown in FIG. 18 is the same as the operation shown in FIG.

時刻t6において、操作領域決定部115は、基準位置Ov[t5]、操作領域座標系ΣV[t5]、及び、操作領域V[t5]を、操作領域移動ベクトルVmd[t5]に対応する移動量だけ移動させることで、基準位置Ov[t6]、操作領域座標系ΣV[t6]、及び、操作領域V[t6]を設定する。より具体的には、操作領域決定部115は、時刻t5から時刻t6にかけて、基準位置Ov[t6]が補正位置Md[t5]と一致するように、基準位置Ovを移動させる。   At time t6, the operation area determination unit 115 sets the reference position Ov [t5], the operation area coordinate system ΣV [t5], and the operation area V [t5] to the movement amount corresponding to the operation area movement vector Vmd [t5]. The reference position Ov [t6], the operation area coordinate system ΣV [t6], and the operation area V [t6] are set by moving only by. More specifically, the operation area determination unit 115 moves the reference position Ov from time t5 to time t6 so that the reference position Ov [t6] matches the corrected position Md [t5].

その後、時刻t7において、操作領域決定部115は、補正位置Md[t5]から特徴位置CPrに向かう方向を、+Xv方向として定め、補正位置Md[t5]から入力領域RDuに向かう方向であって、補正位置Md[t5]から特徴位置CPrに向かう方向に直交する方向を、+Yv方向として定めることで、操作領域座標系ΣV[t7]を設定する。この結果、図18に示す例では、操作領域座標系ΣV[t7]の有するXv軸及びYv軸は、操作領域座標系ΣV[t6]の有するXv軸及びYv軸に対して、角度γだけ傾く。また、操作領域決定部115は、時刻t7において、操作領域座標系ΣV[t7]に基づく位置に、ニュートラル領域RN、入力領域RDr、RDl、RDu及びRDdを設定する。   After that, at time t7, the operation area determination unit 115 defines the direction from the correction position Md [t5] to the characteristic position CPr as the + Xv direction, and is the direction from the correction position Md [t5] to the input area RDu. The operation region coordinate system ΣV [t7] is set by defining the direction orthogonal to the direction from the corrected position Md [t5] to the characteristic position CPr as the + Yv direction. As a result, in the example shown in FIG. 18, the Xv axis and the Yv axis of the operation area coordinate system ΣV [t7] are inclined by the angle γ with respect to the Xv axis and the Yv axis of the operation area coordinate system ΣV [t6]. . In addition, the operation region determination unit 115 sets the neutral region RN, the input regions RDr, RDl, RDu, and RDd at the position based on the operation region coordinate system ΣV [t7] at time t7.

具体的には、時刻t7において、操作領域決定部115は、基準位置Ovを中心とするニュートラル領域RNを設定し、ニュートラル領域RNよりも+Xv方向に入力領域RDrを設定し、ニュートラル領域RNよりも−Xv方向に入力領域RDlを設定し、ニュートラル領域RNよりも+Yv方向に入力領域RDuを設定し、ニュートラル領域RNよりも−Yv方向に入力領域RDdを設定する。なお、本変形例に係るタッチ位置変化例では、時刻t6及び時刻t7は、時刻t5よりも後の時刻であるが、時刻t6及び時刻t7は、時刻t5と同一の時刻であってもよい。   Specifically, at time t7, the operation region determination unit 115 sets the neutral region RN centered on the reference position Ov, sets the input region RDr in the + Xv direction with respect to the neutral region RN, and sets the input region RDr with respect to the neutral region RN. The input region RD1 is set in the −Xv direction, the input region RDu is set in the + Yv direction from the neutral region RN, and the input region RDd is set in the −Yv direction from the neutral region RN. In addition, in the touch position change example according to the present modification, the times t6 and t7 are times after the time t5, but the times t6 and t7 may be the same times as the time t5.

以上のように、本変形例において、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて、操作領域座標系ΣVの有するXv軸及びYv軸の傾きを決定する。このため、本変形例によれば、例えば、タッチパネル1002において操作領域座標系ΣVの傾きが固定されている態様と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。   As described above, in the present modification, the operation area determination unit 115 determines the inclinations of the Xv axis and the Yv axis of the operation area coordinate system ΣV based on the characteristic position CPr and the characteristic position CPl. Therefore, according to the present modification, for example, as compared with a mode in which the tilt of the operation area coordinate system ΣV is fixed on the touch panel 1002, the possibility of erroneous input due to the displacement of the touch position P can be reduced. It will be possible.

[変形例5]
上述した実施形態及び変形例1乃至変形例4において、特徴位置決定部114は、入力領域タッチ期間TRの中で、タッチ位置Pが、特徴位置特定条件を充足する場合に、当該タッチ位置Pを、特徴位置CPとして特定するが、本発明はこのような態様に限定されるものではない。例えば、特徴位置決定部114は、入力領域タッチ期間TRにおいてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pのうち、一部または全部のタッチ位置Pに基づいて特徴位置CPを決定してもよい。
[Modification 5]
In the above-described embodiment and modifications 1 to 4, the characteristic position determination unit 114 determines the touch position P when the touch position P satisfies the characteristic position specifying condition in the input region touch period TR. , The characteristic position CP, but the present invention is not limited to such an aspect. For example, the characteristic position determination unit 114 may include some or all of the touch positions P among the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the input region touch period TR. The characteristic position CP may be determined based on P.

図19は、変形例5に係る端末装置10の動作の一例を示す説明図である。例えば、特徴位置決定部114は、タッチ位置情報取得部113が入力領域タッチ期間TRrにおいて取得した3つのタッチ位置情報が、タッチ位置P[t2]、P[t3]、及び、P[t4]を示す場合、当該3つのタッチ位置P[t2]、P[t3]、及び、P[t4]の平均位置を、特徴位置CPrとして決定してもよい。   FIG. 19 is an explanatory diagram illustrating an example of the operation of the terminal device 10 according to the fifth modification. For example, the characteristic position determination unit 114, the three touch position information acquired by the touch position information acquisition unit 113 in the input region touch period TRr, the touch position P [t2], P [t3], and P [t4]. In the case shown, the average position of the three touch positions P [t2], P [t3], and P [t4] may be determined as the characteristic position CPr.

なお、例えば、特徴位置決定部114は、入力領域タッチ期間TRにおいてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pのうち、最後に取得されたタッチ位置情報の示すタッチ位置Pを、特徴位置CPとして特定してもよい。具体的には、図19に示す例において、特徴位置決定部114は、タッチ位置情報取得部113が入力領域タッチ期間TRrにおいて取得した3つのタッチ位置情報が、タッチ位置P[t2]、P[t3]、及び、P[t4]を示す場合、最後に取得されたタッチ位置情報に対応するタッチ位置P[t4]を、特徴位置CPrとして決定してもよい。   Note that, for example, the characteristic position determination unit 114 is acquired last among the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the input region touch period TR. The touch position P indicated by the touch position information may be specified as the characteristic position CP. Specifically, in the example illustrated in FIG. 19, the characteristic position determination unit 114 determines that the three touch position information pieces acquired by the touch position information acquisition unit 113 in the input area touch period TRr are touch positions P [t2] and P [t2]. When indicating t3] and P [t4], the touch position P [t4] corresponding to the touch position information acquired last may be determined as the characteristic position CPr.

また、例えば、特徴位置決定部114は、入力領域タッチ期間TRにおいてタッチ位置情報取得部113が取得した複数のタッチ位置情報の示す複数のタッチ位置Pのうち、所定時間以上に亘り略同じ位置に存在する2以上のタッチ位置Pが存在する場合、当該2以上のタッチ位置Pを、特徴位置CPとして決定してもよい。ここで、「一のタッチ位置Pと他のタッチ位置Pとが略同じ位置に存在する」とは、例えば、一のタッチ位置Pと他のタッチ位置Pとが同一の位置に存在することであってもよいし、一のタッチ位置Pと他のタッチ位置Pとの間隔が所定の距離以下であることであってもよい。   In addition, for example, the characteristic position determination unit 114 sets the plurality of touch positions P indicated by the plurality of touch position information acquired by the touch position information acquisition unit 113 in the input region touch period TR to substantially the same position for a predetermined time or more. When there are two or more touch positions P that exist, the two or more touch positions P may be determined as the characteristic position CP. Here, "the one touch position P and the other touch position P exist at substantially the same position" means that the one touch position P and the other touch position P exist at the same position, for example. It may be possible that the distance between the one touch position P and the other touch position P is less than or equal to a predetermined distance.

一般的に、タッチ位置Pが入力領域RDにおいて略同じ位置を維持する場合、当該タッチをしたユーザが、当該入力領域RDをタッチする意思を有している可能性が高く、当該タッチが誤入力ではない可能性が高い。このため、入力領域RDにおいて所定時間以上に亘り略同じ位置に存在する2以上のタッチ位置Pに基づいて特徴位置CPを決定する態様によれば、ユーザの意思に反した位置にニュートラル領域RN及び入力領域RDが設定されることを防止することができる。   Generally, when the touch position P maintains substantially the same position in the input region RD, it is highly possible that the user who made the touch has an intention to touch the input region RD, and the touch is erroneously input. Not likely. Therefore, according to the aspect in which the characteristic position CP is determined based on the two or more touch positions P existing in substantially the same position for a predetermined time or longer in the input region RD, the neutral region RN and the neutral region RN are provided at a position contrary to the user's intention. It is possible to prevent the input area RD from being set.

[変形例6]
上述した実施形態及び変形例1乃至変形例5では、操作領域Vが、円形である場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、図20に示すように、タッチパネル1002の画面左半分が操作領域Vでもよい。
[Modification 6]
In the above-described embodiment and the modified examples 1 to 5, the operation region V has a circular shape, but the present invention is not limited to such an aspect. For example, as shown in FIG. 20, the left half of the screen of the touch panel 1002 may be the operation area V.

図20は、変形例6に係る操作領域Vの一例を示す説明図である。図20の線分BDcは、タッチパネル1002の画面左半分と画面右半分との境界を示す。また、図20に示す線分BDrdは、図1に示した線分BDrdをタッチパネル1002の下辺まで延在した線分であり、図20に示す線分BDurは、図1に示した線分BDurを線分BDcまで延在した線分である。また、図20に示す線分BDdlは、図1に示した線分BDdlをタッチパネル1002の下辺まで延在した線分であり、図20に示す線分BDluは、図1に示した線分BDluをタッチパネル1002の左辺まで延在した線分である。   FIG. 20 is an explanatory diagram showing an example of the operation area V according to Modification 6. A line segment BDc in FIG. 20 indicates a boundary between the left half of the screen and the right half of the screen of the touch panel 1002. The line segment BDrd shown in FIG. 20 is the line segment BDrd shown in FIG. 1 extending to the lower side of the touch panel 1002, and the line segment BDur shown in FIG. 20 is the line segment BDur shown in FIG. Is a line segment extending to the line segment BDc. A line segment BDdl shown in FIG. 20 is a line segment that extends the line segment BDdl shown in FIG. 1 to the lower side of the touch panel 1002, and a line segment BDlu shown in FIG. 20 is the line segment BDlu shown in FIG. Is a line segment that extends to the left side of the touch panel 1002.

図20に示す例では、操作領域決定部115は、線分BDrdと線分BDurとタッチパネル1002の下辺と線分BDcとの間の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDrとして設定する。また、操作領域決定部115は、線分BDdlと線分BDluとタッチパネル1002の下辺とタッチパネル1002の左辺との間の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDlとして設定する。また、操作領域決定部115は、線分BDurと線分BDluとタッチパネル1002の左辺とタッチパネル1002の上辺との間の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDuとして設定する。また、操作領域決定部115は、線分BDrdと線分BDdlとタッチパネル1002の下辺との間の領域のうち、ニュートラル領域RNを除く領域を、入力領域RDdとして設定する。   In the example illustrated in FIG. 20, the operation region determination unit 115 sets, as the input region RDr, a region between the line segment BDrd, the line segment BDur, the lower side of the touch panel 1002, and the line segment BDc, excluding the neutral region RN. Set. Further, the operation area determination unit 115 sets, as the input area RDl, an area between the line segment BDdl, the line segment BDlu, the lower side of the touch panel 1002, and the left side of the touch panel 1002, excluding the neutral area RN. Further, the operation area determination unit 115 sets, as the input area RDu, an area between the line segment BDur, the line segment BDlu, the left side of the touch panel 1002, and the upper side of the touch panel 1002, excluding the neutral area RN. In addition, the operation area determination unit 115 sets, as the input area RDd, an area between the line segment BDrd, the line segment BDdl, and the lower side of the touch panel 1002 excluding the neutral area RN.

[変形例7]
上述した実施形態及び変形例1乃至変形例5では、入力領域RDが、扇形の領域から円形のニュートラル領域RNを除いた領域である場合を例示したが、本発明はこのような態様に限定されるものではない。入力領域RDは、例えば、図21に示すように、楕円形の領域であってもよいし、または、多角形の領域であってもよい。
[Modification 7]
In the above-described embodiment and Modifications 1 to 5, the input area RD is an area in which the circular neutral area RN is removed from the fan-shaped area, but the present invention is not limited to such an aspect. Not something. The input area RD may be, for example, an elliptical area as shown in FIG. 21, or a polygonal area.

図21は、変形例7に係るニュートラル領域RN及び入力領域RDの一例を示す説明図である。図21に示す例では、操作領域決定部115は、線分BDrdと線分BDurと円BDvとの間の扇形の領域内に、楕円形の入力領域RDrを設定する。また、操作領域決定部115は、線分BDdlと線分BDluと円BDvとの間の扇形の領域内に、楕円形の入力領域RDlを設定する。また、操作領域決定部115は、線分BDurと線分BDluと円BDvとの間の扇形の領域内に、楕円形の入力領域RDuを設定する。また、操作領域決定部115は、線分BDrdと線分BDdlと円BDvとの間の扇形の領域内に、楕円形の入力領域RDdを設定する。そして、操作領域決定部115は、タッチパネル1002の入力領域RD以外の領域の全部又は一部を、ニュートラル領域RNに設定する。なお、タッチパネル1002の入力領域RD以外の領域の一部がニュートラル領域RNに設定される場合でも、ニュートラル領域RNは、入力領域RDrと入力領域RDlとの間の領域を含むように設定される。   FIG. 21 is an explanatory diagram showing an example of the neutral region RN and the input region RD according to the modified example 7. In the example illustrated in FIG. 21, the operation area determination unit 115 sets an elliptical input area RDr in a fan-shaped area between the line segment BDrd, the line segment BDur, and the circle BDv. In addition, the operation area determination unit 115 sets an elliptical input area RDl in a fan-shaped area between the line segment BDdl, the line segment BDlu, and the circle BDv. Further, the operation area determination unit 115 sets an elliptical input area RDu in a fan-shaped area between the line segment BDur, the line segment BDlu, and the circle BDv. Further, the operation area determination unit 115 sets an elliptical input area RDd in a fan-shaped area between the line segment BDrd, the line segment BDdl, and the circle BDv. Then, the operation area determination unit 115 sets all or part of the area of the touch panel 1002 other than the input area RD as the neutral area RN. Even when a part of the area other than the input area RD of the touch panel 1002 is set as the neutral area RN, the neutral area RN is set so as to include the area between the input area RDr and the input area RDl.

[変形例8]
上述した実施形態及び変形例1乃至変形例7では、入力領域RDrに存在するタッチ位置Pに基づいて特徴位置CPrが決定され、入力領域RDlに存在するタッチ位置Pに基づいて特徴位置CPlが決定される場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、図22に示すように、特徴位置決定部114は、入力領域RDrを含む第1方向領域RRに存在するタッチ位置Pに基づいて特徴位置CPrを決定し、入力領域RDlを含む第2方向領域RLに存在するタッチ位置Pに基づいて特徴位置CPlを決定してもよい。
[Modification 8]
In the above-described embodiment and Modifications 1 to 7, the characteristic position CPr is determined based on the touch position P existing in the input area RDr, and the characteristic position CPl is determined based on the touch position P existing in the input area RDl. However, the present invention is not limited to such an embodiment. For example, as shown in FIG. 22, the characteristic position determination unit 114 determines the characteristic position CPr based on the touch position P existing in the first direction region RR including the input region RDr, and the second direction including the input region RDl. The characteristic position CPl may be determined based on the touch position P existing in the region RL.

図22は、変形例8に係る方向領域の一例を示す説明図である。図22の入力領域RDuAは、入力領域RDuのうち、Yv軸より+Xv方向の領域を示し、入力領域RDuBは、入力領域RDuのうち、Yv軸より−Xv方向の領域を示し、入力領域RDdAは、入力領域RDdのうち、Yv軸より+Xv方向の領域を示し、入力領域RDdBは、入力領域RDdのうち、Yv軸より−Xv方向の領域を示す。第1方向領域RRは、入力領域RDr、入力領域RDuA及び入力領域RDdAを含み、第2方向領域RLは、入力領域RDl、入力領域RDuB及び入力領域RDdBを含む。   FIG. 22 is an explanatory diagram showing an example of the directional area according to Modification 8. The input area RDuA in FIG. 22 indicates an area in the + Xv direction from the Yv axis in the input area RDu, the input area RDuB indicates an area in the −Xv direction from the Yv axis in the input area RDu, and the input area RDdA indicates , The area in the + Xv direction from the Yv axis is shown in the input area RDd, and the input area RDdB is the area in the −Xv direction from the Yv axis in the input area RDd. The first direction region RR includes an input region RDr, an input region RDuA and an input region RDdA, and the second direction region RL includes an input region RDl, an input region RDuB and an input region RDdB.

[変形例9]
上述した実施形態及び変形例1乃至変形例8では、入力領域RDは、所定のゲームに係る単一の方向の指示を入力するための領域であるが、本発明はこのような態様に限定されるものではない。各入力領域RDは、例えば、図23に示すように、K個の方向の指示を入力するためのK個のサブ領域を含んでいてもよい(Kは、2以上の自然数)。
[Modification 9]
In the above-described embodiment and modifications 1 to 8, the input area RD is an area for inputting a single direction instruction relating to a predetermined game, but the present invention is not limited to such an aspect. Not something. Each input area RD may include K sub-areas for inputting K direction instructions, for example, as shown in FIG. 23 (K is a natural number of 2 or more).

図23は、変形例9に係る操作領域Vの一例を示す説明図である。図23に示す例では、各入力領域RDは、3個の方向の指示を入力するための3個のサブ領域を含んでいる。例えば、入力領域RDrは、サブ領域RDr1、RDr2及びRDr3を含み、入力領域RDlは、サブ領域RDl1、RDl2及びRDl3を含み、入力領域RDuは、サブ領域RDu1、RDu2及びRDu3を含み、入力領域RDdは、サブ領域RDd1、RDd2及びRDd3を含む。   FIG. 23 is an explanatory diagram showing an example of the operation area V according to Modification 9. In the example shown in FIG. 23, each input area RD includes three sub areas for inputting instructions in three directions. For example, the input region RDr includes sub-regions RDr1, RDr2 and RDr3, the input region RDl includes sub-regions RDl1, RDl2 and RDl3, the input region RDu includes sub-regions RDu1, RDu2 and RDu3, and the input region RDd. Includes sub-regions RDd1, RDd2 and RDd3.

[変形例10]
上述した実施形態及び変形例1乃至変形例9では、操作領域Vが、4個の入力領域RDr、RDl、RDu及びRDdを含む場合を例示して説明したが、本発明はこのような態様に限定されるものではない。例えば、操作領域Vは、M個の入力領域RDを含んでいればよい(Mは、2以上の自然数)。
[Modification 10]
In the above-described embodiment and Modifications 1 to 9, the operation area V has been described as an example in which the operation area V includes four input areas RDr, RDl, RDu, and RDd, but the present invention has such an aspect. It is not limited. For example, the operation area V may include M input areas RD (M is a natural number of 2 or more).

図24は、変形例10に係る操作領域Vの一例を示す説明図である。図24に示す例では、操作領域Vは、12個の入力領域RDを含んでいる。例えば、操作領域Vは、入力領域RDru、RDr、RDrd、RDdr、RDd、RDdl、RDld、RDl、RDlu、RDul、RDu及びRDurを含む。なお、入力領域RDr及び入力領域RDlは、基準位置Ovを挟んで対称の位置に設けられてもよい。変形例10においても、ニュートラル領域RNは、入力領域RDrと入力領域RDlとの間に配置される。   FIG. 24 is an explanatory diagram showing an example of the operation area V according to Modification 10. In the example shown in FIG. 24, the operation area V includes 12 input areas RD. For example, the operation area V includes input areas RDru, RDr, RDrd, RDdr, RDd, RDdl, RDld, RDl, RDlu, RDul, RDu and RDur. The input region RDr and the input region RDl may be provided at symmetrical positions with the reference position Ov in between. Also in the modification 10, the neutral region RN is arranged between the input region RDr and the input region RDl.

[変形例11]
上述した実施形態、変形例1乃至変形例4、及び変形例6乃至変形例10において、特徴位置決定部114は、入力領域タッチ期間TRの中で、タッチ位置Pが、基準位置Ovから入力領域RDを示す方向において、基準位置Ovから最も離れた位置であるという特徴位置特定条件を充足する場合に、当該タッチ位置Pを、特徴位置CPとして特定するが、本発明はこのような態様に限定されるものではない。
例えば、特徴位置決定部114は、入力領域タッチ期間TRのうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる参照位置よりも、基準位置Ovから入力領域RDを示す方向において、基準位置Ovよりも離れているという条件を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPとして特定してもよい。
[Modification 11]
In the above-described embodiment, the modified examples 1 to 4, and the modified examples 6 to 10, the characteristic position determination unit 114 determines that the touch position P changes from the reference position Ov to the input region in the input region touch period TR. When the characteristic position specifying condition that the position is the farthest from the reference position Ov in the direction indicating RD is satisfied, the touch position P is specified as the characteristic position CP, but the present invention is limited to such an aspect. It is not something that will be done.
For example, the characteristic position determination unit 114 determines that the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time of the input region touch period TR is from the time when the input region touch period TR is started. The input area RD is set from the reference position Ov to a reference position determined based on one or a plurality of touch positions P indicated by the one or a plurality of touch position information acquired by the touch position information acquisition unit 113 in the period up to one time. When the condition of being farther than the reference position Ov in the direction shown is satisfied, the touch position P corresponding to the one time may be specified as the characteristic position CP.

具体的には、特徴位置決定部114は、入力領域タッチ期間TRrのうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRrが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる第1の参照位置よりも、+Xv方向に位置するという条件(「第1特定条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPrに決定してもよい。   Specifically, the characteristic position determination unit 114 starts the input area touch period TRr at the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time in the input area touch period TRr. In the + Xv direction from the first reference position determined based on the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the period from the first time to the first time. When the condition of being located at (the other example of the “first specific condition”) is satisfied, the touch position P corresponding to the one time may be determined as the characteristic position CPr.

また、特徴位置決定部114は、入力領域タッチ期間TRlのうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TRlが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる第2の参照位置よりも、−Xv方向に位置するという条件(「第2特定条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置CPlに決定してもよい。   Further, the characteristic position determination unit 114 determines that the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 at one time of the input region touch period TRl is from the time when the input region touch period TRl is started. Position in the −Xv direction from the second reference position determined based on the one or more touch positions P indicated by the one or more touch position information acquired by the touch position information acquisition unit 113 in the period up to one time. When the condition (the other example of the “second specific condition”) is satisfied, the touch position P corresponding to the one time may be determined as the characteristic position CPl.

なお、参照位置とは、例えば、入力領域タッチ期間TRが開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの平均位置又は重心位置であってもよいし、または、当該1または複数のタッチ位置Pの一部のタッチ位置Pの中で、基準位置Ovから入力領域RDを示す方向において、基準位置Ovから最も離れているタッチ位置Pであってもよい。   Note that the reference position is, for example, one or a plurality of touches indicated by one or a plurality of touch position information acquired by the touch position information acquisition unit 113 in a period from the time when the input area touch period TR is started to one time. The position may be the average position or the position of the center of gravity of the position P, or, among the touch positions P of some of the one or more touch positions P, the reference position in the direction from the reference position Ov to the input region RD. It may be the touch position P farthest from Ov.

[変形例12]
上述した実施形態及び変形例1乃至変形例11において、基準位置Ovから入力領域RDrを示す第1の方向と、基準位置Ovから入力領域RDlを示す第2の方向とは、反対の方向であるが、本発明はこのような態様に限定されるものではない。例えば、第1の方向と、第2の方向とのなす角は、0度より大きく180度より小さい角度であってもよい。
[Modification 12]
In the above-described embodiment and Modifications 1 to 11, the first direction indicating the input area RDr from the reference position Ov and the second direction indicating the input area RDl from the reference position Ov are opposite directions. However, the present invention is not limited to such an aspect. For example, the angle formed by the first direction and the second direction may be an angle greater than 0 degrees and less than 180 degrees.

[変形例13]
上述した実施形態及び変形例1乃至変形例12において、入力領域RDは、キャラクタCRの顔が向く方向の指示を入力するための領域であるが、本発明はこのような態様に限定されるものではない。入力領域RDは、所定のゲームに係る指示を入力するための領域であってもよい。例えば、入力領域RDrは、所定のゲームにおいて、キャラクタCRによる攻撃の指示(「第1の指示」の一例)を入力するための領域であり、入力領域RDlは、所定のゲームにおいて、キャラクタCRによる防御の指示(「第2の指示」の一例)を入力するための領域であってもよい。また、例えば、入力領域RDは、タッチパネル座標系ΣSまたは仮想空間SPにおける、キャラクタCRの移動方向の指示を入力するための領域であってもよい。具体的には、例えば、入力領域RDrは、キャラクタCRを、タッチパネル座標系ΣSまたは仮想空間SPにおける一の方向に移動させる旨の指示を入力するための領域であり、また、入力領域RDlは、キャラクタCRを、タッチパネル座標系ΣSまたは仮想空間SPにおける他の方向に移動させる旨の指示を入力するための領域であってもよい。
[Modification 13]
In the above-described embodiment and Modifications 1 to 12, the input region RD is a region for inputting an instruction of the direction in which the face of the character CR faces, but the present invention is limited to such an aspect. is not. The input area RD may be an area for inputting an instruction relating to a predetermined game. For example, the input region RDr is a region for inputting an attack instruction (an example of “first instruction”) by the character CR in a predetermined game, and the input region RDl is a character CR in the predetermined game. It may be an area for inputting a defense instruction (an example of “second instruction”). Further, for example, the input area RD may be an area for inputting an instruction in the moving direction of the character CR in the touch panel coordinate system ΣS or the virtual space SP. Specifically, for example, the input area RDr is an area for inputting an instruction to move the character CR in one direction in the touch panel coordinate system ΣS or the virtual space SP, and the input area RDl is It may be an area for inputting an instruction to move the character CR in another direction in the touch panel coordinate system ΣS or the virtual space SP.

[変形例14]
上述した実施形態及び変形例1乃至変形例13では、プログラムとして、所定のゲームに係るプログラムを例示して説明したが、本発明はこのような態様に限定されるものではない。プログラムは、任意のアプリケーションに係るプログラムであってもよい。また、この場合、第1の指示は、任意のアプリケーションに係る指示であればよく、第2の指示は、任意のアプリケーションに係る指示であって第1の指示とは異なる指示であればよい。
[Modification 14]
In the above-described embodiment and the first to thirteenth modifications, a program relating to a predetermined game has been described as an example of the program, but the present invention is not limited to such an aspect. The program may be a program related to an arbitrary application. Further, in this case, the first instruction may be an instruction relating to an arbitrary application, and the second instruction may be an instruction relating to an arbitrary application and may be an instruction different from the first instruction.

[変形例15]
上述した実施形態及び変形例1乃至変形例14において、タッチ位置Pが一の入力領域RDからニュートラル領域RNに移動した後に他の入力領域RDに侵入することなく一の入力領域RDに再侵入する場合、一の入力領域タッチ期間TRの終了時における特徴位置CPの決定結果は破棄されないが、本発明はこのような態様に限定されるものではない。例えば、タッチ位置Pが一の入力領域RDからニュートラル領域RNに移動した後に他の入力領域RDに侵入することなく一の入力領域RDに再侵入した場合、一の入力領域タッチ期間TRの終了時における特徴位置CPの決定結果は、破棄されてもよい。具体的には、特徴位置決定部114は、一の入力領域RDへのタッチ位置Pの再侵入により開始された入力領域タッチ期間TRにおいて、一の入力領域タッチ期間TRの終了時における特徴位置CPの決定結果を破棄するとともに、新たに特徴位置CPを決定してもよい。
[Modification 15]
In the above-described embodiment and the modified examples 1 to 14, the touch position P moves from the one input region RD to the neutral region RN and then re-enters the one input region RD without entering the other input region RD. In this case, the determination result of the characteristic position CP at the end of the one input region touch period TR is not discarded, but the present invention is not limited to such an aspect. For example, when the touch position P moves from the one input area RD to the neutral area RN and then re-enters the one input area RD without entering the other input area RD, at the end of the one input area touch period TR. The determination result of the characteristic position CP in may be discarded. Specifically, the characteristic position determination unit 114, in the input region touch period TR started by the re-entry of the touch position P into the one input region RD, the characteristic position CP at the end of the one input region touch period TR. It is also possible to discard the determination result of and to newly determine the characteristic position CP.

[変形例16]
上述した実施形態及び変形例1乃至変形例15では、特徴位置CPの初期値が特に決められていない場合を例示して説明したが、本発明はこのような態様に限定されるものではない。例えば、各入力領域RDの特徴位置CPの初期値は決められていてもよい。具体的には、特徴位置決定部114は、所定のゲームの起動時に、ニュートラル領域RNから+Xv方向に所定の距離(例えば、距離DIS)だけ離れた位置を特徴位置CPrの初期値として設定し、ニュートラル領域RNから−Xv方向に所定の距離(例えば、距離DIS)だけ離れた位置を特徴位置CPlの初期値として設定てもよい。
[Modification 16]
In the above-described embodiment and the first to fifteenth modified examples, the case where the initial value of the characteristic position CP is not particularly determined has been described as an example, but the present invention is not limited to such an aspect. For example, the initial value of the characteristic position CP of each input area RD may be determined. Specifically, the characteristic position determination unit 114 sets, as an initial value of the characteristic position CPr, a position separated from the neutral region RN by a predetermined distance (for example, a distance DIS) in the + Xv direction at the time of starting a predetermined game, A position distant from the neutral region RN by a predetermined distance (for example, the distance DIS) in the -Xv direction may be set as the initial value of the characteristic position CPl.

[変形例17]
上述した実施形態及び変形例1乃至変形例16において、操作領域決定部115は、所定のゲームの起動時にタッチパネル1002上の所定の位置に操作領域Vを設定するが、本発明はこのような態様に限定されるものではない。例えば、操作領域決定部115は、タッチインが発生する度に、タッチパネル1002における指FGのタッチ位置Pを基準位置Ovとして設定し、当該基準位置Ovに基づく位置に対して操作領域Vを設定してもよい。この場合、端末装置10は、ユーザの指FGがタッチパネル1002に対する接触を維持している期間であるタッチ期間において、タッチパネル1002において操作領域Vが設定された状態を維持する。そして、端末装置10は、ユーザの指FGがタッチパネル1002に対して接触している状態から、接触していない状態に変化した場合、タッチパネル1002に設定されていた操作領域Vを消滅させる。
[Modification 17]
In the above-described embodiment and the modified examples 1 to 16, the operation area determination unit 115 sets the operation area V at a predetermined position on the touch panel 1002 when a predetermined game is started, but the present invention has such a mode. It is not limited to. For example, the operation area determination unit 115 sets the touch position P of the finger FG on the touch panel 1002 as the reference position Ov each time touch-in occurs, and sets the operation area V for the position based on the reference position Ov. May be. In this case, the terminal device 10 maintains the state in which the operation area V is set on the touch panel 1002 during the touch period in which the user's finger FG maintains contact with the touch panel 1002. Then, when the user's finger FG is in contact with the touch panel 1002 from the state in which the user's finger FG is not in contact, the terminal device 10 erases the operation area V set in the touch panel 1002.

[変形例18]
上述した実施形態及び変形例1乃至変形例17において、操作領域決定部115は、基準位置Ovをタッチパネル1002上で特徴位置CPに応じて自由に移動させるが、本発明はこのような態様に限定されるものではない。例えば、基準位置Ovの移動範囲は、所定の範囲(例えば、図25に示す四角形BDqで規定される範囲)に制限されてもよい。
[Modification 18]
In the embodiment and the modified examples 1 to 17 described above, the operation area determination unit 115 freely moves the reference position Ov according to the characteristic position CP on the touch panel 1002, but the present invention is limited to such an aspect. It is not something that will be done. For example, the moving range of the reference position Ov may be limited to a predetermined range (for example, the range defined by the square BDq shown in FIG. 25).

図25は、変形例18に係る端末装置10の動作の一例を説明するための説明図である。図25に示す例では、基準位置Ovの移動範囲は、四角形BDqで規定される範囲(予め設定された範囲)に制限される。より具体的には、操作領域決定部115は、特徴位置CPr及び特徴位置CPlに基づいて算出した基準位置Ovが四角形BDqの外側に存在するような場合に、基準位置Ovを四角形BDqの内側に定め、基準位置Ovが四角形BDqの外周を超えて移動しないようにする。
特徴位置CPr及び特徴位置CPlに基づいて算出した基準位置Ovが四角形BDqの外側に存在するような場合は、ユーザの指FGがユーザの意図する位置とかけ離れた位置にタッチされた誤入力(例えば、電車の振動による指FGの位置の一時的なずれ等)の可能性が高い。変形例18では、基準位置Ovの移動範囲に制限を設けているため、入力領域RD及びニュートラル領域RNが、タッチパネル1002上において上や右に大きく移動することを抑止できる。この結果、変形例18では、基準位置Ovの移動範囲が制限されない場合と比較して、操作性を向上させることが可能となる。
25: is explanatory drawing for demonstrating an example of operation | movement of the terminal device 10 which concerns on the modification 18. As shown in FIG. In the example shown in FIG. 25, the moving range of the reference position Ov is limited to the range defined by the square BDq (preset range). More specifically, when the reference position Ov calculated based on the characteristic position CPr and the characteristic position CPl exists outside the quadrangle BDq, the operation area determination unit 115 sets the reference position Ov inside the quadrangle BDq. The reference position Ov is set so as not to move beyond the outer circumference of the quadrangle BDq.
When the reference position Ov calculated based on the characteristic position CPr and the characteristic position CPl exists outside the quadrangle BDq, the user's finger FG is erroneously touched at a position far from the position intended by the user (for example, erroneous input). , The position of the finger FG is temporarily displaced due to the vibration of the train). In the modified example 18, since the moving range of the reference position Ov is limited, it is possible to prevent the input region RD and the neutral region RN from largely moving up or to the right on the touch panel 1002. As a result, in the modified example 18, the operability can be improved as compared with the case where the movement range of the reference position Ov is not limited.

[変形例19]
上述した実施形態及び変形例1乃至変形例18において、所定のゲームは、端末装置10において実行されるが、本発明はこのような態様に限定されるものではない。所定のゲームは、端末装置10以外の構成要素において実行されてもよい。
[Modification 19]
Although the predetermined game is executed in the terminal device 10 in the above-described embodiment and the modified examples 1 to 18, the present invention is not limited to such an aspect. The predetermined game may be executed by a component other than the terminal device 10.

図26は、変形例19に係る情報処理システムSYSの概要を示す説明図である。情報処理システムSYSは、サーバ装置30Aと、端末装置10Aと、を備える。サーバ装置30Aは、所定のゲームを実行することができ、また、ネットワークNWを介して端末装置10Aと通信可能である。
具体的には、サーバ装置30Aは、サーバ装置30Aの各部を制御する制御部11と、所定のゲームに係るプログラム等の各種情報を記憶する記憶部31と、端末装置10A等の外部装置との間の通信を実行するための通信部32と、を備える。また、端末装置10Aは、表示部12、入力部13、及び、振動発生部15に加えて、サーバ装置30A等の外部装置との間の通信を実行するための通信部16と、を備える。なお、表示部12及び入力部13は、上述したタッチパネル1002として実装される。
サーバ装置30Aは、端末装置10Aの入力部13から入力される情報に基づいて表示情報を生成する。また、端末装置10Aの有する表示部12は、サーバ装置30Aにおいて生成される表示情報に基づいて、所定のゲームに関する画像を表示する。
FIG. 26 is an explanatory diagram showing an outline of the information processing system SYS according to the modification 19. The information processing system SYS includes a server device 30A and a terminal device 10A. The server device 30A can execute a predetermined game and can communicate with the terminal device 10A via the network NW.
Specifically, the server device 30A includes a control unit 11 that controls each unit of the server device 30A, a storage unit 31 that stores various kinds of information such as a program related to a predetermined game, and an external device such as the terminal device 10A. And a communication unit 32 for executing communication between them. In addition to the display unit 12, the input unit 13, and the vibration generation unit 15, the terminal device 10A includes a communication unit 16 for executing communication with an external device such as the server device 30A. The display unit 12 and the input unit 13 are implemented as the touch panel 1002 described above.
The server device 30A generates display information based on the information input from the input unit 13 of the terminal device 10A. Further, the display unit 12 included in the terminal device 10A displays an image regarding a predetermined game based on the display information generated by the server device 30A.

[C.付記]
以上の記載から、本発明は例えば以下のように把握される。なお、各態様の理解を容易にするために、以下では、図面の参照符号を便宜的に括弧書きで付記するが、本発明を図示の態様に限定する趣旨ではない。
[C. Appendix]
From the above description, the present invention can be understood as follows, for example. In order to facilitate understanding of each mode, reference numerals in the drawings are added in parentheses for convenience below, but the present invention is not limited to the illustrated modes.

[付記1]
本発明の一態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、前記第1領域と前記第2領域との間に配置され、前記ゲームに係る操作方向の指示を受け付けない第3領域の位置を、前記特徴位置決定部が決定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、して機能させる、ことを特徴とする。
[Appendix 1]
A program according to an aspect of the present invention includes a processor, an acquisition unit that acquires touch position information indicating a touch position on a touch panel, and a touch acquired by the acquisition unit in a touch period during which a touch on the touch panel is continued. When the touch position indicated by the position information exists in the first area for inputting the instruction of the first operation direction related to the game, the first characteristic position is determined based on the touch position, and the touch position is A characteristic position determining unit that determines a second characteristic position based on the touch position when the second region for inputting a second operation direction instruction related to the game exists; The position of the third area, which is arranged between the second area and does not receive the instruction of the operation direction related to the game, determines the position of the first characteristic position and the position of the third area determined by the characteristic position determining unit. Based on the second feature location, and the placement determining unit determining, thereby to function, characterized in that.

この態様において、特徴位置決定部は、第1領域におけるタッチ位置に基づく位置である第1の特徴位置と、第2領域におけるタッチ位置に基づく位置である第2の特徴位置(以下、第1の特徴位置及び第2の特徴位置を、「特徴位置」と総称する場合がある)と、に基づいて、第1領域と第2領域との間に配置され、ゲームに係る操作方向の指示を受け付けない第3領域の位置を決定する。従って、この態様において、特徴位置決定部は、第1領域又は第2領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、第3領域の位置を修正することが可能となる。このため、この態様によれば、例えば、第3領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。   In this aspect, the characteristic position determining unit determines the first characteristic position that is a position based on the touch position in the first area and the second characteristic position that is a position based on the touch position in the second area (hereinafter, referred to as the first characteristic position). The characteristic position and the second characteristic position may be collectively referred to as “characteristic position”), and are arranged between the first area and the second area, and accept an instruction of an operation direction related to the game. Determine the location of the missing third region. Therefore, in this aspect, the characteristic position determination unit corrects the position of the third region according to the shift of the touch position even when the touch position in the first region or the second region gradually shifts. Is possible. Therefore, according to this aspect, for example, as compared with the case where the position of the third region is fixed, it is possible to reduce the possibility of erroneous input due to the displacement of the touch position on the touch panel.

ところで、1つの特徴位置に基づいて、第3領域の位置を定める態様(以下、当該態様を、「対比例」と称する)も考えられる。具体的には、対比例では、一例として、1つの特徴位置に対応する位置に、第1領域の中心位置または重心等の、第1領域の代表となる位置である第1代表位置を決定し、また、第1代表位置に対応する位置に、第2領域の中心位置または重心等の、第2領域の代表となる位置である第2代表位置を決定する(以下、第1代表位置及び第2代表位置を、「代表位置」と総称する場合がある)。例えば、対比例では、1つの特徴位置を、第1代表位置として決定し、また、第1代表位置と所定の位置関係を有する位置を、第2代表位置として決定し、第1代表位置と第2代表位置との間の位置を第3領域の中心位置として決定する。すなわち、対比例においては、各特徴位置と第1領域及び第2領域の各々の代表位置との相対的な位置関係、または、各特徴位置と第1領域及び第2領域の各々の代表位置との間隔を、調整することはできない。換言すれば、対比例は、各特徴位置と第1領域及び第2領域の各々の代表位置との相対的な位置関係が所定の位置関係に維持されるという制約、または、各特徴位置と第1領域及び第2領域の各々の代表位置との間隔が所定の間隔に維持されるという制約の下で、第1領域、第2領域及び第3領域の位置を決定するものに過ぎない。   By the way, a mode in which the position of the third region is determined based on one characteristic position (hereinafter, this mode is referred to as “contrasting”) is also conceivable. Specifically, in contrast, as an example, a first representative position that is a representative position of the first region, such as the center position or the center of gravity of the first region, is determined at a position corresponding to one characteristic position. Further, at a position corresponding to the first representative position, a second representative position that is a representative position of the second region, such as the center position or the center of gravity of the second region, is determined (hereinafter, referred to as the first representative position and the first representative position. 2 The representative position may be collectively referred to as "representative position"). For example, in the case of contrast, one characteristic position is determined as the first representative position, and a position having a predetermined positional relationship with the first representative position is determined as the second representative position. The position between the two representative positions is determined as the center position of the third region. That is, in contrast, the relative positional relationship between each characteristic position and each representative position of the first area and the second area, or each characteristic position and each representative position of the first area and the second area, The interval cannot be adjusted. In other words, the comparison means that the relative positional relationship between each characteristic position and the representative position of each of the first area and the second area is maintained in a predetermined positional relationship, or each characteristic position and The positions of the first region, the second region, and the third region are merely determined under the constraint that the intervals between the representative positions of the first region and the second region are maintained at a predetermined interval.

他方、例えば、ユーザが指によりタッチパネルをタッチする場合、ユーザの指の大きさ及び形状は、ユーザ毎に異なる。また、例えば、ユーザが指によりタッチパネルをタッチする場合、ユーザが指をタッチパネルにタッチさせる際の圧力、タッチパネルに対する指の傾き、及び、指の動かし方等も、ユーザ毎に異なる。このように、ユーザが指によりタッチパネルをタッチする場合、当該タッチの態様は、ユーザ毎に異なる。このため、ユーザが指によりタッチパネルをタッチする場合、各特徴位置と第1領域及び第2領域の各々の代表位置との相対的な位置関係、及び、各特徴位置と第1領域及び第2領域の各々の代表位置との間隔も、ユーザ毎に異なることになる。従って、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を良好に保つためには、各特徴位置と第1領域及び第2領域の各々の代表位置との相対的な位置関係、及び、各特徴位置と第1領域及び第2領域の各々の代表位置との間隔を、ユーザ毎のタッチの態様に応じて調整することが好ましい。   On the other hand, for example, when the user touches the touch panel with his / her finger, the size and shape of the user's finger are different for each user. In addition, for example, when the user touches the touch panel with a finger, the pressure when the user touches the touch panel, the inclination of the finger with respect to the touch panel, the way of moving the finger, and the like are different for each user. In this way, when the user touches the touch panel with his / her finger, the touch mode varies depending on the user. Therefore, when the user touches the touch panel with a finger, the relative positional relationship between each characteristic position and each representative position of the first area and the second area, and each characteristic position and the first area and the second area The distance between each of the representative positions and the representative position also differs for each user. Therefore, in order to maintain good operability in an operation for inputting an instruction in the first operation direction and an operation for inputting an instruction in the second operation direction for an arbitrary user, , A relative positional relationship between each characteristic position and a representative position of each of the first region and the second region, and an interval between each characteristic position and each of the representative positions of the first region and the second region, for each user. It is preferable to adjust according to the mode of touch.

しかし、対比例では、上述のとおり、各特徴位置と第1領域及び第2領域の各々の代表位置との相対的な位置関係、または、各特徴位置と第1領域及び第2領域の各々の代表位置との間隔を、調整することが困難である。このため、対比例では、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、第2の操作方向の指示の入力を行うための操作、及び、操作方向の指示の入力を行わない場合における、操作性を良好に保つことは難しい。   However, in contrast, as described above, the relative positional relationship between each characteristic position and the representative position of each of the first region and the second region, or each characteristic position and each of the first region and the second region, respectively. It is difficult to adjust the distance from the representative position. For this reason, in the case of contrast, an operation for inputting a first operation direction instruction, an operation for inputting a second operation direction instruction, and an operation direction instruction for an arbitrary user. It is difficult to maintain good operability when not inputting.

これに対して、本態様によれば、特徴位置決定部が、第1の特徴位置及び第2の特徴位置を用いて、第1領域と第2領域との間に配置される第3領域の位置を決定する。そして、一般的に、第1の特徴位置と第2の特徴位置との相対的な位置関係、及び、第1の特徴位置と第2の特徴位置との間隔は、ユーザ毎のタッチの態様に応じて定められる可能性が高い。このため、本態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、第2の操作方向の指示の入力を行うための操作、及び、操作方向の指示の入力を行わない場合における操作性を、対比例と比較して良好に保つことが可能となる。   On the other hand, according to this aspect, the feature position determining unit uses the first feature position and the second feature position to determine whether the third region is located between the first region and the second region. Determine the position. Then, in general, the relative positional relationship between the first characteristic position and the second characteristic position and the interval between the first characteristic position and the second characteristic position are determined by the touch mode for each user. It is likely to be decided accordingly. Therefore, according to this aspect, an operation for inputting a first operation direction instruction to an arbitrary user, an operation for inputting a second operation direction instruction, and an operation direction It is possible to maintain good operability in the case where the above instruction is not input as compared with the case of the proportional comparison.

なお、上記態様において、「ゲームに係る第1の操作方向」とは、「ゲームに係る操作方向」の一例である。「ゲームに係る操作方向」とは、例えば、ゲームに係る仮想空間における方向であってもよいし、ゲームに係る画面における方向であってもよい。「ゲームに係る仮想空間における方向」とは、例えば、ゲームに係る仮想空間におけるゲーム要素の位置及び姿勢の一方または両方の変化の方向である。ここで、「ゲーム要素」とは、例えば、ゲームに係る仮想空間に存在する仮想的な物体であってもよいし、ゲームに係る仮想空間を撮像する仮想カメラであってもよい。このうち、「ゲームに係る仮想空間に存在する仮想的な物体」とは、例えば、ゲームに係るキャラクタ、及び、ゲームに係るオブジェクトを含む概念であってもよい。「ゲームに係る画面における方向」とは、例えば、ゲームに係る画面において表示される仮想的な物体を示す画像の、当該画面における位置及び姿勢の一方または両方の変化の方向でもよいし、ゲームに係るメニュー画面において表示されるポインタ等の、ゲームの進行に関係しないゲーム要素を示す画像の、当該メニュー画面における移動方向でもよい。   In the above aspect, the “first operation direction relating to the game” is an example of the “operation direction relating to the game”. The “operation direction related to the game” may be, for example, a direction in the virtual space related to the game or a direction on the screen related to the game. The “direction in the virtual space relating to the game” is, for example, the direction of change in one or both of the position and the posture of the game element in the virtual space relating to the game. Here, the “game element” may be, for example, a virtual object existing in the virtual space related to the game, or a virtual camera that images the virtual space related to the game. Among these, the “virtual object existing in the virtual space related to the game” may be a concept including a character related to the game and an object related to the game, for example. The “direction on the screen related to the game” may be, for example, the direction of change in one or both of the position and the attitude on the screen of the image showing the virtual object displayed on the screen related to the game, or The moving direction on the menu screen of an image showing a game element that is not related to the progress of the game, such as a pointer displayed on the menu screen, may be used.

また、上記態様において、「ゲームに係る第2の操作方向」とは、「ゲームに係る操作方向」の他の例である。ここで、「第2の操作方向」は、第1の操作方向とは異なる方向である。「第2の操作方向」は、例えば、第1の操作方向とは反対の方向であってもよい。   In the above aspect, the “second operation direction relating to the game” is another example of the “operation direction relating to the game”. Here, the "second operation direction" is a direction different from the first operation direction. The "second operation direction" may be, for example, a direction opposite to the first operation direction.

また、上記態様において、「第1領域」とは、例えば、ゲームに係る第1の操作方向の指示の入力のために、タッチパネルにおいて視認可能な態様で設けられた領域であってもよいし、ゲームに係る第1の操作方向の指示の入力のために、タッチパネルにおいて視認されない態様で設けられた仮想的な領域であってもよい。「第2領域」とは、例えば、第1領域とは異なる領域であって、ゲームに係る第2の操作方向の指示の入力のために、タッチパネルにおいて視認可能な態様で設けられた領域であってもよいし、第1領域とは異なる領域であって、ゲームに係る第2の操作方向の指示の入力のために、タッチパネルにおいて視認されない態様で設けられた仮想的な領域であってもよい。「第3領域」とは、例えば、ゲームに係る操作方向の指示を受け付けない領域であって、タッチパネルにおいて視認可能な態様で第1領域及び第2領域との間に設けられた領域であってもよいし、タッチパネルにおいて視認されない態様で第1領域及び第2領域との間に設けられた領域であってもよい。また、ゲームに係る処理に着目した場合、「第3領域に指がタッチしている状態」は、「タッチパネルから指が離れている状態」と同様な状態である。なお、「第1領域と第2領域との間に配置される第3領域」の状態は、第1領域内と第2領域内とに端点を有し、第3領域を通過する直線を引くことができる位置関係に第1領域、第2領域及び第3領域が配置されている状態である。   Further, in the above aspect, the “first area” may be an area provided on the touch panel in a visually recognizable manner, for example, for inputting a first operation direction instruction relating to the game, It may be a virtual region provided in a manner not visible on the touch panel for inputting a first operation direction instruction relating to the game. The “second area” is, for example, an area different from the first area, and is an area provided on the touch panel in a visually recognizable manner for inputting a second operation direction instruction related to the game. Alternatively, it may be a virtual area that is different from the first area and that is provided in a mode that is not visually recognized on the touch panel for inputting a second operation direction instruction related to the game. . The “third area” is, for example, an area that does not receive an instruction of an operation direction related to a game, and is an area provided between the first area and the second area in a manner visible on the touch panel. Alternatively, it may be a region provided between the first region and the second region in such a manner as not to be visually recognized on the touch panel. Further, when focusing on the processing related to the game, the “state where the finger is touching the third area” is the same as the “state where the finger is separated from the touch panel”. In addition, the state of the “third area arranged between the first area and the second area” has an end point in the first area and in the second area, and draws a straight line passing through the third area. This is a state in which the first area, the second area, and the third area are arranged in such a positional relationship that they can be arranged.

また、上記態様において、「タッチ位置に基づいて第1の特徴位置を決定」とは、例えば、第1領域が、第2領域よりも第1の方向に位置する場合に、タッチ位置情報の示すタッチ位置が第1領域に存在する期間の中で、第1の方向において第2領域から最も離れたタッチ位置に基づく位置を第1の特徴位置にする決定であってもよい。ここで、「タッチ位置に基づく位置」とは、例えば、タッチ位置と同一の位置であってもよいし、タッチ位置と所定の距離以下の位置であってもよい。また、「タッチ位置に基づいて第1の特徴位置を決定」とは、タッチ位置情報の示すタッチ位置が第1領域に存在する期間の中で、第1の方向において第2領域から最も離れたタッチ位置でない場合に、現状の第1の特徴位置を維持する決定であってもよい。
あるいは、「タッチ位置に基づいて第1の特徴位置を決定」とは、例えば、タッチ位置情報の示すタッチ位置が、第1領域において、所定時間以上に亘り略同じ位置である場合に、所定時間以上に亘り略同じ位置にあるタッチ位置に基づく位置を第1の特徴位置にする決定であってもよい。ここで、ある位置と他の位置とが「略同じ位置」であるとは、例えば、ある位置と他の位置とが同一の位置であってもよいし、ある位置と他の位置とが所定の距離以下であるという位置関係を有することであってもよい。また、「タッチ位置に基づいて第1の特徴位置を決定」とは、タッチ位置情報の示すタッチ位置が、第1領域において、略同じ位置に留まっている時間が所定時間未満の場合に、現状の第1の特徴位置を維持する決定であってもよい。
「タッチ位置に基づいて第2の特徴位置を決定」とは、例えば、第2領域が、第1領域よりも第2の方向に位置する場合に、タッチ位置情報の示すタッチ位置が第2領域に存在する期間の中で、第2の方向において第1領域から最も離れたタッチ位置に基づく位置を第2の特徴位置にする決定であってもよい。また、「タッチ位置に基づいて第2の特徴位置を決定」とは、例えば、タッチ位置情報の示すタッチ位置が、第2領域において、所定時間以上に亘り略同じ位置である場合に、所定時間以上に亘り略同じ位置にあるタッチ位置に基づく位置を第2の特徴位置にする決定であってもよい。また、「タッチ位置に基づいて第2の特徴位置を決定」とは、「タッチ位置に基づいて第1の特徴位置を決定」と同様に、現状の第2の特徴位置を維持する決定であってもよい。
Further, in the above aspect, “determining the first characteristic position based on the touch position” indicates, for example, the touch position information when the first region is located in the first direction rather than the second region. It may be a determination that the position based on the touch position that is farthest from the second region in the first direction in the period in which the touch position exists in the first region is set as the first characteristic position. Here, the “position based on the touch position” may be, for example, the same position as the touch position or may be a position within a predetermined distance from the touch position. Further, “determining the first characteristic position based on the touch position” means that the touch position indicated by the touch position information is located farthest from the second region in the first direction in the period in which the touch position is present in the first region. The determination may be to maintain the current first characteristic position when the touch position is not set.
Alternatively, “determining the first characteristic position based on the touch position” means that, for example, when the touch position indicated by the touch position information is substantially the same position in the first region for a predetermined time or more, It may be determined that the position based on the touch position in substantially the same position as described above is set as the first characteristic position. Here, a certain position and another position being “substantially the same position” may mean, for example, a certain position and another position are the same position, or a certain position and another position are predetermined. May have a positional relationship of being less than or equal to the distance. In addition, “determining the first characteristic position based on the touch position” means that the touch position indicated by the touch position information is present when the time in which the touch position remains at substantially the same position in the first region is less than the predetermined time. May be the decision to maintain the first feature position of
“Determining the second characteristic position based on the touch position” means that, for example, when the second region is located in the second direction rather than the first region, the touch position indicated by the touch position information is the second region. The position based on the touch position farthest from the first region in the second direction may be determined as the second characteristic position in the period existing in 1. Further, “determining the second characteristic position based on the touch position” means that, for example, when the touch position indicated by the touch position information is substantially the same position in the second region for a predetermined time or more, the predetermined time It may be determined that the position based on the touch position that is substantially the same position as described above is set as the second characteristic position. Further, "determining the second characteristic position based on the touch position" is a determination for maintaining the current second characteristic position, as in "determining the first characteristic position based on the touch position". May be.

[付記2]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、前記配置決定部は、前記第1の特徴位置及び前記第2の特徴位置の少なくとも一方に基づいて、前記第3領域の大きさを決定する、ことを特徴とする。
[Appendix 2]
A program according to another aspect of the present invention is the program according to appendix 1, wherein the placement determining unit is configured to perform the third feature based on at least one of the first feature position and the second feature position. It is characterized in that the size of the area is determined.

この態様において、配置決定部は、第1の特徴位置及び第2の特徴位置の少なくとも一方に基づいて、第3領域の大きさを決定する。例えば、配置決定部は、特徴位置と第3領域との距離が所定の距離に維持されるよに、第3領域の大きさを決定する。このため、ユーザは、指を第3領域から第1領域及び第2領域の何れかに移動させた場合、所定の距離に対応する一定量だけ指を戻せばタッチ位置を第3領域に戻すことができる。従って、この態様によれば、第3領域の大きさが固定されている場合と比較して、操作性を向上させることが可能となる。   In this aspect, the arrangement determination unit determines the size of the third region based on at least one of the first characteristic position and the second characteristic position. For example, the arrangement determination unit determines the size of the third area so that the distance between the characteristic position and the third area is maintained at a predetermined distance. Therefore, when the user moves the finger from the third area to either the first area or the second area, the user can return the touch position to the third area by returning the finger by a certain amount corresponding to a predetermined distance. You can Therefore, according to this aspect, it is possible to improve operability as compared with the case where the size of the third region is fixed.

なお、上記態様において、「第1の特徴位置及び第2の特徴位置の少なくとも一方に基づいて第3領域の大きさを決定」とは、例えば、第1の特徴位置及び第2の特徴位置のうち、継続中のタッチにより更新された特徴位置と第3領域との距離を一定又は略一定に維持するように、第3領域の大きさを決定することでもよい。また、更新された特徴位置の第1の方向(第2の方向)における移動量の大きさに応じて、更新された特徴位置との距離を調整して、第3領域の大きさを決定してもよい。ここで、「更新された特徴位置と第3領域との距離」とは、例えば、更新された第1の特徴位置(又は第2の特徴位置)と第3領域の中心とを結ぶ直線において、第1の特徴位置(又は第2の特徴位置)から第3領域の境界線(縁)までの距離である。第3領域の境界線は、正確には、第3領域及び第1領域(第2の特徴位置が端点の場合は第2領域)の境界線である。なお、「更新された特徴位置と第3領域との距離」は、第3領域の中心から第1の方向(又は第2の方向)に延在する線を第1軸とした場合、第1の特徴位置(又は第2の特徴位置)の第1軸の座標と、第3領域の境界線の第1軸との交点との差で表される距離でもよい。   In the above aspect, “determining the size of the third region based on at least one of the first characteristic position and the second characteristic position” means, for example, that of the first characteristic position and the second characteristic position. Of these, the size of the third region may be determined so that the distance between the characteristic position updated by the ongoing touch and the third region is kept constant or substantially constant. Further, the distance between the updated characteristic position and the updated characteristic position is adjusted according to the amount of movement in the first direction (second direction) to determine the size of the third region. May be. Here, the “distance between the updated characteristic position and the third region” means, for example, in a straight line connecting the updated first characteristic position (or the second characteristic position) and the center of the third region, It is the distance from the first characteristic position (or the second characteristic position) to the boundary line (edge) of the third region. To be precise, the boundary line of the third region is a boundary line between the third region and the first region (the second region when the second characteristic position is an end point). The "distance between the updated characteristic position and the third region" is the first when the line extending from the center of the third region in the first direction (or the second direction) is the first axis. The distance represented by the difference between the coordinate of the first axis of the characteristic position (or the second characteristic position) and the intersection of the boundary line of the third region and the first axis.

[付記3]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、配置決定部は、第1の特徴位置と第2の特徴位置との距離に基づいて、第3領域の大きさを決定する、ことを特徴とする。
[Appendix 3]
A program according to another aspect of the present invention is the program according to attachment 1, wherein the placement determining unit determines the size of the third region based on the distance between the first characteristic position and the second characteristic position. Is determined.

この態様では、例えば、配置決定部は、第1の特徴位置と第2の特徴位置との距離に対する第3領域の大きさ(例えば、第3領域の幅等)の比率を維持するように、第3領域の大きさを決定する。この態様では、第1の特徴位置と第2の特徴位置との距離に基づいて第3領域の大きさが決定されるため、第3領域の大きさが操作性を低下させるほどの大きさになることを抑止することができる。従って、この態様によれば、第3領域の大きさが固定されている場合と比較して、操作性を向上させることが可能となる。   In this aspect, for example, the arrangement determining unit maintains the ratio of the size of the third region (for example, the width of the third region) to the distance between the first characteristic position and the second characteristic position, Determine the size of the third region. In this aspect, since the size of the third region is determined based on the distance between the first characteristic position and the second characteristic position, the size of the third region is so large as to reduce the operability. Can be suppressed. Therefore, according to this aspect, it is possible to improve operability as compared with the case where the size of the third region is fixed.

なお、上記態様において、「第1の特徴位置と第2の特徴位置との距離に基づいて第3領域の大きさを決定」とは、例えば、第1の特徴位置と第2の特徴位置との距離(DCP)と第3領域の直径(2・r)との比を維持するように、第3領域の大きさを決定することでもよい(DCP/(2・r)=一定)。また、更新された特徴位置との距離を所定値(DIS)に維持するように、第3領域の直径(2・r)を第1の特徴位置と第2の特徴位置との距離(DCP)から決定してもよい(2・r=DCP−2・DIS)。   In the above aspect, “determining the size of the third region based on the distance between the first characteristic position and the second characteristic position” means, for example, the first characteristic position and the second characteristic position. It is also possible to determine the size of the third region (DCP / (2 · r) = constant) so as to maintain the ratio of the distance (DCP) to the diameter (2 · r) of the third region. Further, the diameter (2 · r) of the third region is set to the distance (DCP) between the first feature position and the second feature position so that the distance between the updated feature position and the predetermined value (DIS) is maintained. It may be determined from (2 · r = DCP−2 · DIS).

[付記4]
本発明の他の態様に係るプログラムは、付記2または3に記載のプログラムであって、前記配置決定部は、前記第1の特徴位置及び前記第2の特徴位置の少なくとも一方に基づいて算出した前記第3領域の大きさが予め決められた上限値を超える場合、前記第3領域の大きさを前記上限値に決定する、ことを特徴とする。
[Appendix 4]
A program according to another aspect of the present invention is the program according to Supplementary Note 2 or 3, wherein the placement determining unit calculates based on at least one of the first characteristic position and the second characteristic position. When the size of the third area exceeds a predetermined upper limit value, the size of the third area is determined as the upper limit value.

この態様では、配置決定部が、第1の特徴位置及び第2の特徴位置の少なくとも一方に基づいて算出した第3領域の大きさが予め決められた上限値を超える場合、第3領域の大きさを上限値に決定するため、第3領域の大きさが操作性を低下させるほどの大きさになることを抑止することができる。従って、この態様によれば、第3領域の大きさの上限値が決められていない場合と比較して、操作性を向上させることが可能となる。   In this aspect, when the size of the third region calculated based on at least one of the first characteristic position and the second characteristic position exceeds the predetermined upper limit value, the arrangement determining unit determines the size of the third region. Since the size is determined as the upper limit value, it is possible to prevent the size of the third region from becoming such a size that the operability is deteriorated. Therefore, according to this aspect, it is possible to improve operability as compared with the case where the upper limit of the size of the third region is not determined.

なお、上記態様において、「第1の特徴位置及び第2の特徴位置の少なくとも一方に基づいて算出した第3領域の大きさ」は、「第1の特徴位置と第2の特徴位置との距離に基づいて算出した第3領域の大きさ」も含む。   In the above aspect, "the size of the third region calculated based on at least one of the first characteristic position and the second characteristic position" is "the distance between the first characteristic position and the second characteristic position. The size of the third region calculated based on

[付記5]
本発明の他の態様に係るプログラムは、付記1乃至4に記載のプログラムであって、前記第3領域の大きさには、下限値が予め決められている、ことを特徴とする。
[Appendix 5]
A program according to another aspect of the present invention is the program according to Supplementary Notes 1 to 4, wherein a lower limit value is predetermined for the size of the third region.

この態様によれば、第3領域の大きさには、下限値が予め決められているため、第3領域の大きさが操作性を低下させるほど小さくなることを抑止することができる。従って、この態様によれば、第3領域の大きさの下限値が決められていない場合と比較して、操作性を向上させることが可能となる。   According to this aspect, since the lower limit value is predetermined for the size of the third region, it is possible to prevent the size of the third region from becoming smaller as the operability is reduced. Therefore, according to this aspect, it is possible to improve the operability as compared with the case where the lower limit of the size of the third region is not determined.

[付記6]
本発明の他の態様に係るプログラムは、付記1乃至5に記載のプログラムであって、前記配置決定部は、前記第1の特徴位置と前記第2の特徴位置との距離に基づいて、前記第1の特徴位置及び前記第2の特徴位置の一方と前記第3領域との距離を決定する、ことを特徴とする。
[Appendix 6]
A program according to another aspect of the present invention is the program according to supplementary notes 1 to 5, wherein the placement determination unit is configured to perform the above-mentioned operation based on a distance between the first characteristic position and the second characteristic position. The distance between one of the first characteristic position and the second characteristic position and the third region is determined.

一般的に、第1の特徴位置と第2の特徴位置との距離が大きくなる場合、指が大きく動いていることが想定される。指を大きく動かすと、第3領域側に指が若干戻る場合がある。この場合、特徴位置と第3領域との距離が小さいと、第1領域及び第2領域の何れかに存在すべきタッチ位置が第3領域に移動し、誤操作が生じる可能性がある。この態様では、第1の特徴位置と第2の特徴位置との距離が大きくなるにしたがい、特徴位置と第3領域との距離を大きくすることにより、第1領域及び第2領域の何れかに存在すべきタッチ位置が第3領域に移動することを抑止することができる。この結果、誤操作が生じる可能性を低減させることができる。   Generally, when the distance between the first characteristic position and the second characteristic position is large, it is assumed that the finger is moving largely. When the finger is greatly moved, the finger may slightly return to the third area side. In this case, if the distance between the characteristic position and the third area is small, the touch position that should exist in either the first area or the second area may move to the third area, and erroneous operation may occur. In this aspect, as the distance between the first characteristic position and the second characteristic position becomes larger, the distance between the characteristic position and the third region becomes larger, so that one of the first region and the second region becomes It is possible to prevent the touch position, which should exist, from moving to the third area. As a result, it is possible to reduce the possibility of erroneous operation.

また、この態様では、第1の特徴位置と第2の特徴位置との距離が大きくなるにしたがい、特徴位置と第3領域との距離を大きくすることにより、第3領域が大きくなり過ぎることを抑止することができる。従って、この態様によれば、特徴位置と第3領域との距離が固定されている場合と比較して、操作性を向上させることが可能となる。   Further, in this aspect, as the distance between the first feature position and the second feature position increases, the third region becomes too large by increasing the distance between the feature position and the third region. Can be deterred. Therefore, according to this aspect, the operability can be improved as compared with the case where the distance between the characteristic position and the third region is fixed.

なお、上記態様において、「第1の特徴位置及び第2の特徴位置の一方と第3領域との距離」とは、例えば、第1の特徴位置(又は第2の特徴位置)と第3領域の中心とを結ぶ直線において、第1の特徴位置(又は第2の特徴位置)から第3領域の境界線(縁)までの距離である。あるいは、「第1の特徴位置及び第2の特徴位置の一方と第3領域との距離」は、第3領域の中心から第1の方向(又は第2の方向)に延在する線を第1軸とした場合、第1の特徴位置(又は第2の特徴位置)の第1軸の座標と、第3領域の境界線の第1軸との交点との差で表される距離でもよい。   In the above aspect, "the distance between one of the first characteristic position and the second characteristic position and the third region" means, for example, the first characteristic position (or the second characteristic position) and the third region. It is the distance from the first characteristic position (or the second characteristic position) to the boundary line (edge) of the third region on a straight line connecting the center of the. Alternatively, “the distance between one of the first characteristic position and the second characteristic position and the third region” is a line extending from the center of the third region in the first direction (or the second direction). When the axis is one, the distance may be represented by the difference between the coordinates of the first axis of the first characteristic position (or the second characteristic position) and the intersection of the first axis of the boundary line of the third region. .

[付記7]
本発明の他の態様に係るプログラムは、付記1乃至6に記載のプログラムであって、前記配置決定部は、前記第1の特徴位置と前記第2の特徴位置との距離に基づいて、前記第3領域の位置を決定する、ことを特徴とする。
[Appendix 7]
A program according to another aspect of the present invention is the program according to supplementary notes 1 to 6, wherein the placement determination unit is configured to perform the above-mentioned operation based on a distance between the first characteristic position and the second characteristic position. It is characterized in that the position of the third region is determined.

この態様では、例えば、特徴位置決定部は、第1の特徴位置と第2の特徴位置との距離に基づく位置(例えば、第1の特徴位置と第2の特徴位置との中点)が第3領域の中心となるように、第3領域の位置を決定する。なお、第3領域の位置が調整される場合は、第1の特徴位置及び第2の特徴位置の一方のみが動くため、第1の特徴位置と第2の特徴位置との中点を「第1の特徴位置と第2の特徴位置との距離に基づく位置」としても問題ない。従って、この態様において、特徴位置決定部は、第1領域又は第2領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、第3領域の位置を修正することが可能となる。このため、この態様によれば、例えば、第3領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。   In this aspect, for example, the characteristic position determination unit determines that the position based on the distance between the first characteristic position and the second characteristic position (for example, the midpoint between the first characteristic position and the second characteristic position) is the first position. The position of the third region is determined so as to be the center of the three regions. When the position of the third region is adjusted, only one of the first feature position and the second feature position moves, so the midpoint between the first feature position and the second feature position is changed to the “first feature position”. There is no problem even if "the position based on the distance between the first characteristic position and the second characteristic position". Therefore, in this aspect, the characteristic position determination unit corrects the position of the third region according to the shift of the touch position even when the touch position in the first region or the second region gradually shifts. Is possible. Therefore, according to this aspect, for example, as compared with the case where the position of the third region is fixed, it is possible to reduce the possibility of erroneous input due to the displacement of the touch position on the touch panel.

[付記8]
本発明の他の態様に係るプログラムは、付記1乃至7に記載のプログラムであって、前記特徴位置決定部は、前記第1領域を含む第1方向領域に前記タッチ位置が存在する場合、前記タッチ位置に基づいて前記第1の特徴位置を決定し、前記第2領域を含む第2方向領域に前記タッチ位置が存在する場合、前記タッチ位置に基づいて前記第2の特徴位置を決定する、ことを特徴とする。
[Appendix 8]
A program according to another aspect of the present invention is the program according to Supplementary Notes 1 to 7, wherein the characteristic position determination unit is configured to: when the touch position exists in a first direction area including the first area, Determining the first characteristic position based on a touch position, and determining the second characteristic position based on the touch position when the touch position exists in a second direction region including the second region, It is characterized by

この態様において、特徴位置決定部は、第1の特徴位置及び第2の特徴位置の2つの特徴位置を用いて、第1領域及び第2領域の位置を決定する。従って、この態様において、特徴位置決定部は、第1領域又は第2領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、第1領域、第2領域及び第3領域の位置を修正することが可能となる。
また、この態様によれば、特徴位置決定部が、2つの特徴位置を用いて、第1領域及び第2領域の位置を決定するため、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作、第2の操作方向の指示の入力を行うための操作、及び、操作方向の指示の入力を行わない場合における操作性を、対比例と比較して良好に保つことが可能となる。
また、この態様によれば、第1領域を含む第1方向領域におけるタッチ位置に基づく位置を、第1の特徴位置として特定し、第2領域を含む第2方向領域におけるタッチ位置に基づく位置を、第2の特徴位置として特定する。すなわち、この態様によれば、タッチ位置が第1領域及び第2領域の外部に外れた場合であっても、当該タッチ位置に基づく特徴位置を用いて、第1領域、第2領域及び第3領域の位置を修正することができる。このため、この態様によれば、例えば、タッチ位置が第1領域及び第2領域の何れかに存在する場合に限りにおいて第1領域、第2領域及び第3領域の位置を修正する場合と比較して、多様なタッチの態様に柔軟に対応した第1領域、第2領域及び第3領域の設定が可能となる。
In this aspect, the characteristic position determination unit determines the positions of the first region and the second region using the two characteristic positions of the first characteristic position and the second characteristic position. Therefore, in this aspect, even if the touch position in the first region or the second region gradually shifts, the feature position determination unit determines whether the first region, the second region, and the It is possible to correct the positions of the three areas.
Further, according to this aspect, since the characteristic position determination unit determines the positions of the first region and the second region using the two characteristic positions, the first operation direction is instructed to any user. To input a second operation direction instruction, an operation to input a second operation direction instruction, and an operation direction instruction It is possible to keep the operability in the case where there is no satisfactorily as compared with the case of the proportionality.
Further, according to this aspect, the position based on the touch position in the first direction region including the first region is specified as the first characteristic position, and the position based on the touch position in the second direction region including the second region is determined. , As the second characteristic position. That is, according to this aspect, even when the touch position deviates from the outside of the first region and the second region, the feature position based on the touch position is used to determine the first region, the second region, and the third region. The position of the area can be modified. Therefore, according to this aspect, for example, in comparison with the case where the positions of the first area, the second area, and the third area are corrected only when the touch position exists in either the first area or the second area. Then, it is possible to set the first area, the second area, and the third area flexibly corresponding to various touch modes.

なお、上記態様において、「第1方向領域」とは、例えば、第1領域と同一の領域であってもよいし、第1領域を含む第1領域よりも広い領域であってもよい。「第2方向領域」とは、例えば、第1方向領域を含まない領域であって、第2領域と同一の領域であってもよいし、第1方向領域を含まない領域であって、第2領域を含む第2領域よりも広い領域であってもよい。   In the above aspect, the “first direction region” may be, for example, the same region as the first region, or may be a region wider than the first region including the first region. The “second direction area” is, for example, an area that does not include the first direction area and may be the same area as the second area, or an area that does not include the first direction area. The area may be wider than the second area including the two areas.

[付記9]
本発明の他の態様に係るプログラムは、付記1乃至8に記載のプログラムであって、前記配置決定部は、前記第1領域が、前記第3領域よりも第1の方向に位置するように、前記第1領域の位置を決定し、前記第2領域が、前記第3領域よりも、前記第1の方向とは反対の第2の方向に位置するように、前記第2領域の位置を決定する、ことを特徴とする。
[Appendix 9]
A program according to another aspect of the present invention is the program according to supplementary notes 1 to 8, wherein the placement determination unit is configured such that the first region is located in a first direction more than the third region. , The position of the first area is determined, and the position of the second area is set so that the second area is located in a second direction opposite to the first direction than the third area. It is characterized by making a decision.

一般的に、タッチ期間において、タッチ位置が、例えば、第3領域よりも第1の方向に位置する第1領域と、第3領域よりも第2の方向に位置する第2領域との間を往復する場合、タッチ位置が、所望の位置よりも、第1の方向または第2の方向にずれる可能性が高い。特に、第1領域が第3領域の中心から見て第2領域の反対側に設けられている場合、第1領域が第3領域の中心から見て第2領域とは反対側では無い位置に設けられている場合と比較して、第1領域内の任意の位置と第2領域内の任意の位置との間の距離が大きくなる可能性が高くなる。すなわち、第1領域が第3領域の中心から見て第2領域の反対側に設けられている場合、第1領域が第3領域の中心から見て第2領域とは反対側では無い位置に設けられている場合と比較して、第1領域または第2領域における所望の位置に対するタッチ位置のずれの量が大きくなる可能性が高くなる。
これに対して、本態様に係る配置決定部は、第1領域におけるタッチ位置に基づく第1の特徴位置と、第2領域におけるタッチ位置に基づく第2の特徴位置と、に基づいて、第1領域、第2領域及び第3領域の位置を修正する。すなわち、本態様に係る配置決定部は、所望の位置に対するタッチ位置のずれが生じる場合に、当該ずれに応じて定められる第1の特徴位置及び第2の特徴位置に基づいて、第1領域、第2領域及び第3領域の位置を修正することができる。そして、本態様では、上述のとおり、第1領域が第3領域の中心から見て第2領域の反対側に設けられているため、第1領域が第3領域の中心から見て第2領域とは反対側では無い位置に設けられている場合と比較して、第1の特徴位置及び第2の特徴位置が、所望の位置に対するタッチ位置のずれを、より鋭敏に反映した位置となる可能性が高くなる。従って、本態様において、配置決定部は、タッチ位置が第1の方向または第2の方向にずれる場合であっても、当該タッチ位置のずれに応じて、第1領域、第2領域及び第3領域の位置を修正することができる。このため、本態様によれば、例えば、第1領域、第2領域及び第3領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
Generally, in the touch period, the touch position is, for example, between a first region located in the first direction from the third region and a second region located in the second direction from the third region. When reciprocating, the touch position is more likely to be displaced in the first direction or the second direction than the desired position. In particular, when the first region is provided on the opposite side of the second region when viewed from the center of the third region, the first region is not on the opposite side of the second region when viewed from the center of the third region. Compared with the case where it is provided, there is a high possibility that the distance between the arbitrary position in the first region and the arbitrary position in the second region becomes large. That is, when the first region is provided on the opposite side of the second region as viewed from the center of the third region, the first region is not on the opposite side of the second region as viewed from the center of the third region. Compared with the case where it is provided, the amount of deviation of the touch position with respect to the desired position in the first region or the second region is likely to be large.
On the other hand, the arrangement determining unit according to the present aspect, based on the first characteristic position based on the touch position in the first area and the second characteristic position based on the touch position in the second area, Correct the positions of the area, the second area, and the third area. That is, when the displacement of the touch position with respect to the desired position occurs, the arrangement determining unit according to this aspect, based on the first characteristic position and the second characteristic position determined according to the displacement, the first region, The positions of the second area and the third area can be modified. Then, in the present aspect, as described above, the first region is provided on the opposite side of the second region when viewed from the center of the third region, so that the first region is the second region when viewed from the center of the third region. Compared with the case where it is provided at a position not on the opposite side, the first characteristic position and the second characteristic position can be positions that more sensitively reflect the deviation of the touch position with respect to the desired position. Will be more likely. Therefore, in this aspect, the arrangement determining unit, even when the touch position is displaced in the first direction or the second direction, according to the displacement of the touch position, the first area, the second area, and the third area. The position of the area can be modified. Therefore, according to this aspect, for example, as compared with the case where the positions of the first area, the second area, and the third area are fixed, there is a possibility of erroneous input due to the shift of the touch position on the touch panel. It becomes possible to reduce.

[付記10]
本発明の一態様に係る情報処理装置は、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、前記第1領域と前記第2領域との間に配置され、前記ゲームに係る操作方向の指示を受け付けない第3領域の位置を、前記特徴位置決定部が特定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、を備える、ことを特徴とする。
[Appendix 10]
An information processing apparatus according to an aspect of the present invention includes an acquisition unit that acquires touch position information indicating a touch position on a touch panel, and a touch position acquired by the acquisition unit in a touch period during which a touch on the touch panel continues. When the touch position indicated by the information exists in the first area for inputting the instruction of the first operation direction related to the game, the first characteristic position is determined based on the touch position, and the touch position is A characteristic position determining unit that determines a second characteristic position based on the touch position when the second characteristic direction exists for inputting a second operation direction instruction related to the game; The first characteristic position and the second characteristic position, which are arranged between the second characteristic region and the third region and do not accept the instruction of the operation direction related to the game, are specified by the characteristic position determining unit. Based on the symptom position comprises a placement determining unit determining, and characterized in that.

この態様において、配置決定部は、特徴位置に基づいて、第1領域と第2領域との間に配置される第3領域の位置を決定する。従って、この態様において、配置決定部は、第1領域又は第2領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、第1領域、第2領域及び第3領域の位置を修正することが可能となる。このため、この態様によれば、例えば、第3領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
また、この態様によれば、配置決定部が、2つの特徴位置を用いて、第1領域と第2領域との間に配置される第3領域の位置を決定する。このため、この態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、第2の操作方向の指示の入力を行うための操作、及び、操作方向の指示の入力を行わない場合における操作性を、対比例と比較して良好に保つことが可能となる。
In this aspect, the arrangement determining unit determines the position of the third area arranged between the first area and the second area based on the characteristic position. Therefore, in this aspect, the arrangement determining unit, even when the touch position in the first area or the second area is gradually displaced, according to the displacement of the touch position, the first area, the second area, and the third area. It is possible to correct the position of the area. Therefore, according to this aspect, for example, as compared with the case where the position of the third region is fixed, it is possible to reduce the possibility of erroneous input due to the displacement of the touch position on the touch panel.
Further, according to this aspect, the arrangement determining unit uses the two characteristic positions to determine the position of the third area arranged between the first area and the second area. Therefore, according to this aspect, an operation for inputting a first operation direction instruction to an arbitrary user, an operation for inputting a second operation direction instruction, and an operation direction It is possible to maintain good operability in the case where the above instruction is not input as compared with the case of the proportional comparison.

[付記11]
本発明の他の態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、第1の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、第2の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、前記第1領域と前記第2領域との間に配置され、前記第1の指示及び前記第2の指示のいずれも受け付けない第3領域の位置を、前記特徴位置決定部が特定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、して機能させる、ことを特徴とする。
[Appendix 11]
A program according to another aspect of the present invention, a processor, the acquisition unit that acquires the touch position information indicating the touch position on the touch panel, in the touch period during which the touch to the touch panel is continued, the acquisition unit acquired. When the touch position indicated by the touch position information exists in the first area for inputting the first instruction, the first characteristic position is determined based on the touch position, and the touch position is the second instruction. When located in the second region for inputting, a feature position determination unit that determines a second feature position based on the touch position, and a feature position determination unit disposed between the first region and the second region, The position of the third region that does not accept either the first instruction or the second instruction is determined based on the first characteristic position and the second characteristic position specified by the characteristic position determination unit. An arrangement determination section that causes to function, characterized in that.

この態様において、配置決定部は、特徴位置に基づいて、第1領域と第2領域との間に配置される第3領域の位置を決定する。従って、この態様において、配置決定部は、第1領域又は第2領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、第1領域、第2領域及び第3領域の位置を修正することが可能となる。このため、この態様によれば、例えば、第3領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
また、この態様によれば、配置決定部が、2つの特徴位置を用いて、第1領域と第2領域との間に配置される第3領域の位置を決定する。このため、この態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、第2の操作方向の指示の入力を行うための操作、及び、操作方向の指示の入力を行わない場合における操作性を、対比例と比較して良好に保つことが可能となる。
In this aspect, the arrangement determining unit determines the position of the third area arranged between the first area and the second area based on the characteristic position. Therefore, in this aspect, the arrangement determining unit, even when the touch position in the first area or the second area is gradually displaced, according to the displacement of the touch position, the first area, the second area, and the third area. It is possible to correct the position of the area. Therefore, according to this aspect, for example, as compared with the case where the position of the third region is fixed, it is possible to reduce the possibility of erroneous input due to the displacement of the touch position on the touch panel.
Further, according to this aspect, the arrangement determining unit uses the two characteristic positions to determine the position of the third area arranged between the first area and the second area. Therefore, according to this aspect, an operation for inputting a first operation direction instruction to an arbitrary user, an operation for inputting a second operation direction instruction, and an operation direction It is possible to maintain good operability in the case where the above instruction is not input as compared with the case of the proportional comparison.

なお、上記態様において、「第1の指示」は、例えば、タッチパネルを用いて提供されるゲームに関する指示であってもよいし、タッチパネルを用いて提供される任意のサービスに係る指示であってもよい。「第2の指示」は、例えば、第1の指示とは異なる指示であって、タッチパネルを用いて提供されるゲームに関する指示であってもよいし、第1の指示とは異なる指示であって、タッチパネルを用いて提供される任意のサービスに係る指示であってもよい。   In the above aspect, the “first instruction” may be, for example, an instruction regarding a game provided using the touch panel, or an instruction regarding any service provided using the touch panel. Good. The “second instruction” is, for example, an instruction different from the first instruction and may be an instruction regarding a game provided using a touch panel, or an instruction different from the first instruction. The instruction may be an instruction regarding an arbitrary service provided using the touch panel.

10…端末装置、11…制御部、12…表示部、13…入力部、14…記憶部、15…振動発生部、111…ゲーム制御部、112…表示制御部、113…タッチ位置情報取得部、114…特徴位置決定部、115…操作領域決定部、116…振動制御部、1000…プロセッサ、1002…タッチパネル。
10 ... Terminal device, 11 ... Control part, 12 ... Display part, 13 ... Input part, 14 ... Storage part, 15 ... Vibration generation part, 111 ... Game control part, 112 ... Display control part, 113 ... Touch position information acquisition part , 114 ... Characteristic position determination unit, 115 ... Operation region determination unit, 116 ... Vibration control unit, 1000 ... Processor, 1002 ... Touch panel.

Claims (10)

プロセッサを、
タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、
前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、
前記第1領域と前記第2領域との間に配置され、前記ゲームに係る操作方向の指示を受け付けない第3領域の位置を、前記特徴位置決定部が決定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、
して機能させる、
ことを特徴とする、プログラム。
The processor
An acquisition unit that acquires touch position information indicating a touch position on the touch panel,
During the touch period in which the touch panel continues to be touched, the touch position indicated by the touch position information acquired by the acquisition unit exists in the first area for inputting a first operation direction instruction related to the game. In this case, the first characteristic position is determined based on the touch position, and when the touch position exists in the second area for inputting the instruction of the second operation direction related to the game, the touch position is set to the touch position. A characteristic position determination unit that determines a second characteristic position based on
The first characteristic position determined by the characteristic position determination unit and the position of the third region which is arranged between the first region and the second region and does not accept an instruction of the operation direction related to the game, and A placement determining unit that determines based on the second characteristic position,
To function,
A program characterized by the following.
前記配置決定部は、
前記第1の特徴位置及び前記第2の特徴位置の少なくとも一方に基づいて、前記第3領域の大きさを決定する、
ことを特徴とする、請求項1に記載のプログラム。
The arrangement determining unit,
Determining the size of the third region based on at least one of the first characteristic position and the second characteristic position,
The program according to claim 1, wherein:
前記配置決定部は、
前記第1の特徴位置と前記第2の特徴位置との距離に基づいて、前記第3領域の大きさを決定する、
ことを特徴とする、請求項1に記載のプログラム。
The arrangement determining unit,
Determining the size of the third region based on the distance between the first characteristic position and the second characteristic position,
The program according to claim 1, wherein:
前記配置決定部は、前記第1の特徴位置及び前記第2の特徴位置の少なくとも一方に基づいて算出した前記第3領域の大きさが予め決められた上限値を超える場合、前記第3領域の大きさを前記上限値に決定する、
ことを特徴とする、請求項2または3に記載のプログラム。
When the size of the third area calculated based on at least one of the first characteristic position and the second characteristic position exceeds a predetermined upper limit value, the arrangement determination unit determines whether the third area Determine the size to the upper limit,
The program according to claim 2 or 3, characterized in that:
前記第3領域の大きさには、下限値が予め決められている、
ことを特徴とする、請求項1乃至4のうち何れか1項に記載のプログラム。
A lower limit is predetermined for the size of the third region,
The program according to any one of claims 1 to 4, characterized in that:
前記配置決定部は、
前記第1の特徴位置と前記第2の特徴位置との距離に基づいて、前記第1の特徴位置及び前記第2の特徴位置の一方と前記第3領域との距離を決定する、
ことを特徴とする、請求項1乃至5のうち何れか1項に記載のプログラム。
The arrangement determining unit,
The distance between one of the first characteristic position and the second characteristic position and the third region is determined based on the distance between the first characteristic position and the second characteristic position,
The program according to any one of claims 1 to 5, characterized in that:
前記配置決定部は、
前記第1の特徴位置と前記第2の特徴位置との距離に基づいて、前記第3領域の位置を決定する、
ことを特徴とする、請求項1乃至6のうち何れか1項に記載のプログラム。
The arrangement determining unit,
Determining the position of the third region based on the distance between the first characteristic position and the second characteristic position,
The program according to any one of claims 1 to 6, characterized in that:
前記特徴位置決定部は、
前記第1領域を含む第1方向領域に前記タッチ位置が存在する場合、前記タッチ位置に基づいて前記第1の特徴位置を決定し、前記第2領域を含む第2方向領域に前記タッチ位置が存在する場合、前記タッチ位置に基づいて前記第2の特徴位置を決定する、
ことを特徴とする、請求項1乃至7のうち何れか1項に記載のプログラム。
The characteristic position determination unit,
When the touch position exists in the first direction area including the first area, the first characteristic position is determined based on the touch position, and the touch position is set in the second direction area including the second area. If present, determining the second feature position based on the touch position,
The program according to any one of claims 1 to 7, characterized in that:
前記配置決定部は、
前記第1領域が、前記第3領域よりも第1の方向に位置するように、前記第1領域の位置を決定し、
前記第2領域が、前記第3領域よりも、前記第1の方向とは反対の第2の方向に位置するように、前記第2領域の位置を決定する、
ことを特徴とする、請求項1乃至8のうち何れか1項に記載のプログラム。
The arrangement determining unit,
The position of the first region is determined so that the first region is located in the first direction more than the third region,
The position of the second region is determined such that the second region is located in the second direction opposite to the first direction, compared to the third region.
The program according to any one of claims 1 to 8, characterized in that:
タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、
前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1領域に存在する場合、前記タッチ位置に基づいて第1の特徴位置を決定し、前記タッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2領域に存在する場合、前記タッチ位置に基づいて第2の特徴位置を決定する特徴位置決定部と、
前記第1領域と前記第2領域との間に配置され、前記ゲームに係る操作方向の指示を受け付けない第3領域の位置を、前記特徴位置決定部が特定した前記第1の特徴位置及び前記第2の特徴位置に基づいて、決定する配置決定部と、
を備える、
ことを特徴とする、情報処理装置。
An acquisition unit that acquires touch position information indicating a touch position on the touch panel,
During the touch period in which the touch panel continues to be touched, the touch position indicated by the touch position information acquired by the acquisition unit exists in the first area for inputting a first operation direction instruction related to the game. In this case, the first characteristic position is determined based on the touch position, and when the touch position exists in the second area for inputting the instruction of the second operation direction related to the game, the touch position is set to the touch position. A characteristic position determination unit that determines a second characteristic position based on
The first characteristic position determined by the characteristic position determination unit and the position of the third area, which is arranged between the first area and the second area and does not accept an instruction of an operation direction related to the game, and A placement determining unit that determines based on the second characteristic position,
With
An information processing device, characterized in that
JP2018190441A 2018-06-06 2018-10-05 Program and information processing device Active JP6683352B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2018190441A JP6683352B2 (en) 2018-10-05 2018-10-05 Program and information processing device
KR1020207036930A KR102493667B1 (en) 2018-06-06 2019-05-17 Recording media and information processing devices
CN201980037461.7A CN112261973A (en) 2018-06-06 2019-05-17 Recording medium and information processing apparatus
PCT/JP2019/019712 WO2019235180A1 (en) 2018-06-06 2019-05-17 Recording medium and information processing device
US17/111,979 US11541304B2 (en) 2018-06-06 2020-12-04 Recording medium and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018190441A JP6683352B2 (en) 2018-10-05 2018-10-05 Program and information processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020042365A Division JP2020110620A (en) 2020-03-11 2020-03-11 Program and information processing device

Publications (2)

Publication Number Publication Date
JP6683352B2 true JP6683352B2 (en) 2020-04-15
JP2020058479A JP2020058479A (en) 2020-04-16

Family

ID=70166385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018190441A Active JP6683352B2 (en) 2018-06-06 2018-10-05 Program and information processing device

Country Status (1)

Country Link
JP (1) JP6683352B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3734819B1 (en) * 2004-07-26 2006-01-11 任天堂株式会社 GAME PROGRAM, GAME DEVICE, AND INPUT DEVICE
JP5041730B2 (en) * 2006-05-08 2012-10-03 任天堂株式会社 Object processing apparatus and object processing program
JP2010066899A (en) * 2008-09-09 2010-03-25 Sony Computer Entertainment Inc Input device
JP5813948B2 (en) * 2010-12-20 2015-11-17 株式会社バンダイナムコエンターテインメント Program and terminal device
JP2014016712A (en) * 2012-07-06 2014-01-30 Nec Casio Mobile Communications Ltd Information processing apparatus, and information processing method and program
JP5843908B2 (en) * 2014-03-07 2016-01-13 株式会社コナミデジタルエンタテインメント GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6444927B2 (en) * 2016-04-13 2018-12-26 株式会社カプコン Computer program and game system

Also Published As

Publication number Publication date
JP2020058479A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
CN109925720B (en) Information processing method and device
JP6371475B2 (en) Eye-gaze input device, eye-gaze input method, and eye-gaze input program
US7640515B2 (en) System for dynamically mapping input device movement as a user's viewpoint changes
US11772001B2 (en) Game processing program, game processing method, and game processing device
US11747974B2 (en) Orientation calculation program and device, and program and device using orientation information
US20220219092A1 (en) Game processing program, game processing method, and game processing device
JP6683352B2 (en) Program and information processing device
US11980816B2 (en) Game processing program, game processing method, and game processing device
JP5956831B2 (en) Display control system, display control method, display control apparatus, and display control program
JP5937773B1 (en) Program and mobile terminal
KR102493667B1 (en) Recording media and information processing devices
JP2020110620A (en) Program and information processing device
JP7210022B2 (en) Program and information processing device
US20150035749A1 (en) Information processing device, information processing method, and program
KR102084581B1 (en) Program and mobile terminal
JP6614539B1 (en) Program and information processing apparatus
JP6775076B1 (en) Methods, programs, and electronics
JP6961881B2 (en) Programs, information processing devices and information processing methods
JP5170715B2 (en) Information processing program, information processing apparatus, information processing system, and instruction determination method
KR102448108B1 (en) Method, system and non-transitory computer-readable recording medium for supporting object control
KR102165807B1 (en) Method, system and non-transitory computer-readable recording medium for determining a dominant eye
JP5200158B1 (en) GAME DEVICE, CONTROL DEVICE, GAME CONTROL METHOD, AND PROGRAM
JP6955132B1 (en) Video display method, video display system, video display control device, and program
JP6824369B1 (en) Methods, programs, and electronics
JP2021062251A (en) Program and game device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191224

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191227

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200130

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200312

R150 Certificate of patent or registration of utility model

Ref document number: 6683352

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250