Recording medium and information processing device
By identifying and correcting the characteristic positions on the touch panel, the input problem of the user's touch position being offset without looking is solved, improving the reliability and accuracy of input.
Patent Information
- Application Number
- CN201980037461.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-05
- Filing Date
- 2019-05-17
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-05-17
AI Technical Summary
On a touch panel, when the user intends to touch without looking or multiple times, the touch position may deviate from the predetermined input area, resulting in the failure to input the desired instructions.
By obtaining the touch position information on the touch panel, the characteristic position is identified and determined, and then the position of the operating area is corrected to reduce the possibility of accidental input.
It effectively reduces accidental input due to touch position deviation and improves the reliability and accuracy of user input without looking at the touch panel.
Smart Images

Figure CN112261973B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a recording medium and to an information processing apparatus. Background Art
[0002] There is a known device that accepts instruction input from a user using a touch panel (for example, see Patent Document 1).
[0003] Related technical literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2014-044455 Summary of the invention
[0006] Technical issues
[0007] In some cases, a predetermined input area is set at a predetermined position on the touch panel to receive an input of a desired instruction. In this case, the user can input a desired instruction by touching the predetermined input area on the touch panel.
[0008] However, in some cases, for example, when the user intends to touch the predetermined input area without looking at the touch panel, or when the user intends to touch the predetermined input area multiple times, the touch position touched by the user is sometimes outside the position in the predetermined input area and is different from the position in the predetermined input area. There is a problem in that if the user's touch position is outside the predetermined input area, the user cannot input the desired input.
[0009] The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technology that can reduce the possibility of an unintended input even when a touch position on a touch panel is outside the position.
[0010] Technical Solution
[0011] In order to achieve the mentioned purpose, a recording medium according to one aspect of the present invention is a non-transitory computer-readable recording medium having a program recorded thereon, the program causing a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; an identifier configured to: if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first input area for receiving input of instructions related to a game to be input therein in a first operation direction, and the touch position satisfies a first condition related to the touch position, then identify a position based on the touch position as a first position, and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area for receiving input of instructions related to a game to be input therein in a second operation direction, and the touch position satisfies a second condition related to the touch position, then identify a position based on the touch position as a second position; and a determiner configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0012] An information processing device according to one aspect of the present invention includes: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; an identifier configured to: if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first input area for receiving input of instructions related to a game to be input therein in a first operation direction, and the touch position satisfies a first condition related to the touch position, then identify a position based on the touch position as a first position; and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area for receiving input of instructions related to a game to be input therein in a second operation direction, and the touch position satisfies a second condition related to the touch position, then identify a position based on the touch position as a second position; and a determiner configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0013] In order to achieve the mentioned purpose, a recording medium according to another aspect of the present invention is a non-transitory computer-readable recording medium having a program recorded thereon, the program causing a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; a feature position determiner configured to: determine a first feature position based on the touch position if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first area for receiving input of instructions related to a game to be input therein in a first operation direction, and determine a second feature position based on the touch position if the touch position is in a second area for receiving input of instructions related to a game to be input therein in a second operation direction; and an arrangement determiner configured to determine a position of a third area based on the first feature position and the second feature position determined by the feature position determiner, the third area being arranged between the first area and the second area and not receiving instructions related to the game operation direction.
[0014] An information processing device according to another aspect of the present invention includes: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; a feature position determiner configured to: determine a first feature position based on the touch position if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first area for receiving input of instructions related to a game to be input therein in a first operation direction, and determine a second feature position based on the touch position if the touch position is in a second area for receiving input of instructions related to a game to be input therein in a second operation direction; and an arrangement determiner configured to determine a position of a third area based on the first feature position and the second feature position determined by the feature position determiner, (the third area is arranged between the first area and the second area and does not receive instructions in an operation direction related to the game). BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 An appearance example of the terminal device 10 according to the first embodiment of the present invention is illustrated.
[0016] Figure 2 An example of the appearance of the terminal device 10 is illustrated.
[0017] Figure 3 An example of the appearance of the terminal device 10 is illustrated.
[0018] Figure 4 An example of the appearance of the terminal device 10 is illustrated.
[0019] Figure 5 is a block diagram illustrating a configuration example of the terminal device 10 .
[0020] Figure 6 is a block diagram showing a hardware configuration example of the terminal device 10 .
[0021] Figure 7 A touch position change example is illustrated.
[0022] Figure 8 A touch position change example is illustrated.
[0023] Fig. 9 A touch position change example is illustrated.
[0024] Fig.10 A touch position change example is illustrated.
[0025] Fig.11 : is a flowchart showing an operation example of the terminal device 10 .
[0026] Fig.12 A touch position change example according to modification A1 is illustrated.
[0027] Fig.13 A touch position change example according to modification A1 is illustrated.
[0028] Fig.14 A touch position change example according to modification A2 is illustrated.
[0029] Fig.15 A touch position change example according to modification A3 is illustrated.
[0030] Fig.16 A touch position change example according to modification A5 is illustrated.
[0031] Fig.17 An input region RD according to modification A6 is illustrated.
[0032] Fig.18 An operation area V according to modification A7 is illustrated.
[0033] Fig.19 An operation area V according to modification A8 is illustrated.
[0034] Fig. 20 An operation area V according to modification A9 is illustrated.
[0035] Fig.21 is a block diagram showing a configuration example of an information processing system SYS according to modification A13.
[0036] Fig. 22 An appearance example of the terminal device 10B according to the second embodiment of the present invention is illustrated.
[0037] Fig.23 An example of the appearance of the terminal device 10B when a touch of the operation area V is performed is illustrated.
[0038] Fig.24 An example of the appearance of the terminal device 10B when a touch of the input region RDr is performed is illustrated.
[0039] Fig.25 An example of the appearance of the terminal device 10B when a touch of the input region RD1 is implemented is illustrated.
[0040] Fig.26 : is a block diagram showing a configuration example of the terminal device 10B.
[0041] Fig. 27 An operation example of the terminal device 10B from activation of a predetermined game to entry of the touch position P into the input region RDr is illustrated.
[0042] Fig.28 An operation example of the terminal device 10B from recognizing the characteristic position CPr to the touch position P entering the input region RD1 is illustrated.
[0043] Fig.29 An operation example when the terminal device 10B repeats the position correction of the operation area V according to the update of the characteristic position CPI is illustrated.
[0044] Fig.30 An operation example of the terminal device 10B when the touch position P re-enters the input region RDr is illustrated.
[0045] Fig.31 is a flowchart showing an operation example of the terminal device 10B.
[0046] Fig.32 An operation example of the terminal device 10B according to the modification B1 is illustrated.
[0047] Fig.33 Another operation example of the terminal device 10B according to modification B1 is illustrated.
[0048] Fig.34 Another operation example of the terminal device 10B according to modification B1 is illustrated.
[0049] Fig.35 An operation example of the terminal device 10B according to modification B2 is illustrated.
[0050] Fig.36 An operation example of the terminal device 10B according to modification B3 is illustrated.
[0051] Fig.37An operation example of the terminal device 10B according to modification B3 is illustrated.
[0052] Fig.38 An operation example of the terminal device 10B according to modification B4 is illustrated.
[0053] Fig.39 An operation example of the terminal device 10B according to modification B5 is illustrated.
[0054] Fig.40 An operation region V according to modification B6 is illustrated.
[0055] Fig.41 An example of the neutral region RN and the input region RD according to modification B7 is illustrated.
[0056] Fig.42 Directional areas according to Modification B8 are illustrated.
[0057] Fig.43 An example of the operation area V according to modification B9 is illustrated.
[0058] Fig.44 An example of the operation area V according to the modification B10 is illustrated.
[0059] Fig.45 An operation example of the terminal device 10B according to modification B18 is illustrated. DETAILED DESCRIPTION
[0060] Hereinafter, the mode for implementing the present invention will be described with reference to the accompanying drawings. In each of the accompanying drawings, the size and ratio of each element are appropriately different from the actual size and ratio. The embodiments described below are preferred specific examples of the present invention. Therefore, various technically preferred limitations are applied. However, unless there is a specific description for limiting the present invention, the scope of the present invention is not limited to these modes.
[0061] A. First embodiment
[0062] Hereinafter, a first embodiment of the present invention will be described.
[0063] A-1. Overview of terminal devices
[0064] Below, refer to Figures 1 to 4 , an example of an overview of the terminal device 10 according to the present embodiment will be described.
[0065] Figures 1 to 41 is a diagram for illustrating an example of the 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. The terminal device 10 may be, for example, a stationary information processing device such as a game device for business use or a desktop personal computer.
[0066] like Figures 1 to 4 As shown, the terminal device 10 includes a touch panel 1002. The touch panel 1002 is used as a display 12 for displaying various images (see Figure 5 ). The touch panel 1002 is used as an input device 13 for receiving an input of an instruction from a user of the terminal device 10 (see Figure 5 ). Specifically, when an object contacts the touch panel 1002, the touch panel 1002 detects a touch position P as a contact position of the object on the touch panel 1002, and periodically outputs touch position information indicating the detected touch position P. The touch panel 1002 may calculate an average value of the contact positions detected in a predetermined unit time period (a time period shorter than a time period for outputting the touch position information) as the touch position P, and may periodically output touch position information indicating the calculated touch position P. In the following, the example case assumes that the object to be in contact with the touch panel 1002 is the user's finger FG.
[0067] In this embodiment, for illustration, Figures 1 to 4 As shown, a touch panel coordinate system ΣS is introduced as a coordinate system fixed on the touch panel 1002. Specifically, for example, the touch panel coordinate system ΣS has an origin Os fixed at a predetermined position on the touch panel 1002, and is a two-axis orthogonal coordinate system having an Xs axis and a Ys axis orthogonal to each other.
[0068] In the present embodiment, the terminal device 10 executes a program (an example of a “program”) according to a predetermined game, thereby displaying an image related to the predetermined game on the touch panel 1002. Specifically, when the terminal device 10 executes the predetermined game, the terminal device 10 displays, on the touch panel 1002, for example, a virtual space SP related to the predetermined game and a character CR existing in the virtual space SP and related to the predetermined game, such as Figure 1 shown.
[0069] In this embodiment, if Figure 2 As shown in FIG. 1 , when the user's finger FG changes from a non-contact state with the touch panel 1002 to a contact state with the touch panel 1002, the terminal device 10 sets the touch position P of the finger FG on the touch panel 1002 as the reference position Ov, and sets the operation area V for the position based on the reference position Ov. The operation area V is a so-called virtual pad, and is an area for accepting input related to the user's operation on the character CR. In this embodiment, as shown in FIG. Figure 2 As shown, the example case assumes that the operation area V is an area in a circle BDv having a radius r and centered at the reference position Ov. In addition, in the present embodiment, the example case assumes that the operation area V is displayed on the touch panel 1002 in a manner that is viewable by the user. The operation area V may be a virtual area set on the touch panel 1002 in a manner that is invisible to the user. The operation area V is not limited to a circle. Hereinafter, the change from a state in which the user's finger FG is not in contact with the touch panel 1002 to a state in contact with the touch panel 1002 is also referred to as "touch-in".
[0070] In the present embodiment, the terminal device 10 maintains a state in which the operation area V is set on the touch panel 1002 during a touch period, which is a period in which the user's finger FG is continuously in contact with the touch panel 1002. When the user's finger FG changes from a state in contact with the touch panel 1002 to a state out of contact with the touch panel 1002, the terminal device 10 removes the operation area V set on the touch panel 1002.
[0071] like Figure 2 As shown, in the present embodiment, the example case assumes that the operation area V includes four input areas RD (RDr, RDl, RDu, and RDd). In addition, in the present embodiment, the example case assumes that each input area RD is an area for receiving an indication of the direction in which the face of the character CR in the touch panel coordinate system ΣS is facing. Each input area RD can be an area for receiving an indication of the direction in which the face of the character CR in the virtual space SP is facing. In the present embodiment, the direction in which the face of the character CR is facing is an example of a "game-related operation direction".
[0072] In the following, for the sake of explanation, an operation area coordinate system ΣV is introduced, which is a coordinate system that takes the reference position Ov as the origin. Specifically, the operation area coordinate system ΣV is a two-axis orthogonal coordinate system that takes the reference position Ov as the origin and has an Xv axis and a Yv axis that are orthogonal to each other. In the present embodiment, the example case assumes that the Xv axis and the Xs axis are parallel to each other and the Yv axis and the Ys axis are parallel to each other. Alternatively, the Xv axis may have a direction different from that of the Xs axis, and the Yv axis may have a direction different from that of the Ys axis. The portion of the Xv axis that is located on the +Xv side from the reference position Ov is an example of a "first reference line". The portion of the Xv axis that is located on the -Xv side from the reference position Ov is an example of a "second reference line". That is, the portion of the Xv axis that has a higher coordinate value on the Xv axis than the reference position Ov is an example of a "first reference line". The portion of the Xv axis that has a lower coordinate value on the Xv axis than the reference position Ov is an example of a "second reference line".
[0073] As described above, in this specification, there is a case where one of the two positions on the Xv axis is larger than the other position on the Xv axis. In this case, "+Xv side" is sometimes used to express the relationship between the two positions, for example, "one of the two positions is located on the +Xv side relative to the other position of the two positions". On the contrary, there is a case where one of the two positions on the Xv axis is smaller than the other position on the Xv axis. In this case, "-Xv side" is sometimes used to express the relationship between the two positions, for example, "one of the two positions is located on the -Xv side relative to the other position of the two positions". Similarly, the relationship between the two positions is sometimes expressed as "+Yv side" or "-Yv side".
[0074] In this embodiment, for example, Figure 2 As shown, the terminal device 10 sets the input area RDr to an area at a position in the +Xv direction (an example of the "first direction") from the reference position Ov. In addition, the terminal device 10 sets the input area RDl to an area at a position in the -Xv direction (an example of the "second direction") from the reference position Ov. The terminal device 10 sets the input area RDu to an area at a position in the +Yv direction (an example of the "third direction") from the reference position Ov. In addition, the terminal device 10 sets the input area RDd to an area at a position in the -Yv direction (another example of the "third direction") from the reference position Ov. More specifically, in the present embodiment, the terminal device 10 sets the fan-shaped area surrounded by a line segment BDrd starting from the reference position Ov and extending in a direction inclined at an angle θ (an example of the "first angle") from the +Xv direction toward the -Yv side, a line segment BDur starting from the reference position Ov and extending in a direction inclined at an angle θ from the +Xv direction toward the +Yv side, and a circle BDv as the input area RDr. The terminal device 10 sets the fan-shaped area surrounded by the line segment BDdl starting from the reference position Ov and extending in the direction of the angle θ (an example of the "second angle") from the -Xv direction toward the -Yv side, the line segment BDlu starting from the reference position Ov and extending in the direction of the angle θ from the -Xv direction toward the +Yv side, and the circle BDv as the input area RDl. The terminal device 10 sets the fan-shaped area surrounded by the line segment BDur, the line segment BDlu and the circle BDv as the input area RDu. The terminal device 10 sets the fan-shaped area surrounded by the line segment BDrd, the line segment BDdl and the circle BDv as the input area RDd. In the present embodiment, the example case assumes that the angle θ is 45 degrees. The angle θ may be greater than 0 degrees and less than 90 degrees. In the present embodiment, the first angle and the second angle are the same angle. Alternatively, the first angle and the second angle may be different angles.
[0075] After the touch-in, for example, the user tilts the finger FG while keeping the finger FG in contact with the touch panel 1002, thereby allowing any area among the input areas RDr, RDl, RDu, and RDd in the touch operation area V to be touched. When the touch position P of the finger FG is in the input area RD, the terminal device 10 receives an instruction for orienting the face of the character CR in a direction. The direction is in the touch panel coordinate system ΣS and is a direction corresponding to the input area RD where the touch position P exists. Specifically, in the present embodiment, as Figure 3 As shown, when the touch position P is in the input area RDr (an example of the “first input area”), the terminal device 10 receives an instruction for making the direction in which the face of the character CR faces in the touch panel coordinate system ΣS be the +Xs direction (an example of the “first operation direction”). Figure 4 As shown, when the touch position P is in the input area RDl (an example of the "second input area"), the terminal device 10 receives an instruction for making the direction in which the face of the character CR faces in the touch panel coordinate system ΣS be the -Xs direction (an example of the "second operation direction"). In the present embodiment, when the touch position P is in the input area RDu (an example of the "third input area"), the terminal device 10 receives an instruction for making the direction in which the face of the character CR faces in the touch panel coordinate system ΣS be the +Ys direction (an example of the "third operation direction"). In the present embodiment, when the touch position P is in the input area RDd (another example of the "third input area"), the terminal device 10 receives an instruction for making the direction in which the face of the character CR faces in the touch panel coordinate system ΣS be the -Ys direction (another example of the "third operation direction"). Hereinafter, the period of time in which the touch position P is in the input area RDr is also referred to as the "input area touch period TRr". Similarly, the period of time in which the touch position P is in the input area RDl is also referred to as the "input area touch period TRl". In addition, the period during which the touch position P is in the input region RDu is also referred to as the “input region touch period TRu”. The period during which the touch position P is in the input region RDd is also referred to as the “input region touch period TRd”. The input region touch periods TRr, TRl, TRu, and TRd are also referred to as the “input region touch period TR” without being specifically distinguished from each other.
[0076] Although described in detail later, the terminal device 10 according to the present embodiment identifies the characteristic position CPr (an example of a "first position") based on the touch position P present in the input area RDr, and identifies the characteristic position CP1 (an example of a "second position") based on the touch position P present in the input area RDl. 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 CP1. That is, the terminal device 10 corrects the reference position Ov in the touch panel coordinate system ΣS based on the characteristic position CPr and the characteristic position CP1, thereby correcting the position in the operation area coordinate system ΣV observed from the touch panel coordinate system ΣS. The characteristic positions CPr and CP1 are also referred to as characteristic positions CP without being specifically distinguished from each other.
[0077] A-2. Terminal device configuration
[0078] Below, refer to Figure 5 and Figure 6 , a configuration example of the terminal device 10 will be described.
[0079] Figure 5 2 is a functional block diagram illustrating a configuration example of the terminal device 10 .
[0080] like Figure 5 As shown, the terminal device 10 includes a controller 11 for controlling each element of the terminal device 10, a display 12 for displaying an image, an input device 13 for receiving an instruction input by a user of the terminal device 10, a storage 14 for storing various information, and a vibration generator 15 for vibrating the terminal device 10 including the touch panel 1002.
[0081] The storage 14 stores various information including the following: a program related to a predetermined game; touch position history information indicating the history of touch position P indicated by touch position information periodically output from the touch panel 1002 over a touch period; feature position information indicating a feature position CP; and operation area information indicating the position of an input area RD in the touch panel coordinate system ΣS.
[0082] The controller 11 includes a game controller 111 , a display controller 112 , a touch position information acquirer 113 , a feature position determiner 114 , an operation region determiner 115 , and a vibration controller 116 .
[0083] The game controller 111 controls the progress of a predetermined game. Specifically, when the touch position P is in the input region RD, the game controller 111 sets the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS to the direction corresponding to the input region RD where the touch position P exists. The display controller 112 controls the display 12 so that the display 12 displays the virtual space SP, the character CR, and the operation region V. The touch position information acquirer 113 (an example of an "acquirer") acquires the touch position information periodically output from the input device 13. The feature position determiner 114 (an example of an "identifier") identifies the feature position CP based on the touch position P existing in the input region RD in the input region touch period TR. The operation region determiner 115 (an example of a "determinator") determines the position of the operation region V on the touch panel 1002 based on the feature position CPr and the feature position CP1. When the touch position P changes from a state in which it does not exist in the input region RD to a state in which it exists in the input region RD, the vibration controller 116 controls the vibration generator 15 so that the vibration generator 15 vibrates the terminal device 10. Alternatively, when the touch position P changes from a state of being present in the input region RD to a state of not being present in the input region RD, the vibration controller 116 may control the vibration generator 15 so that the vibration generator 15 vibrates the terminal device 10. The vibration controller 116 may control the vibration generator 15 so that the vibration generator 15 vibrates the terminal device 10 when a touch-in occurs. It should be noted that the configuration of the terminal device 10 is not limited to Figure 5 For example, the vibration generator 15 may be omitted from the terminal device 10. In this case, the vibration controller 116 may be omitted from the controller 11.
[0084] Figure 6 is a hardware configuration diagram illustrating an example of the hardware configuration of the terminal device 10 .
[0085] like Figure 6 As shown, the terminal device 10 includes a processor 1000 (an example of an “information processing device”) that controls each element of the terminal device 10 , a memory 1001 that stores various information, a touch panel 1002 , and a vibration generating device 1003 .
[0086] The memory 1001 is a non-transitory recording medium, which includes, for example, a volatile memory such as a RAM (random access memory) used as a work space of the processor 1000, and a non-volatile memory such as an EEPROM (electrically erasable programmable read-only memory) storing various information (such as a program related to a predetermined game). The memory 1001 is used as a storage 14. In the present embodiment, the memory 1001 is exemplified as a "recording medium" for recording a program related to a predetermined game. However, the present invention is not limited to such an aspect. The "recording medium" for recording a program related to a predetermined game may be a storage device provided for an external device existing outside the terminal device 10. For example, the "recording medium" for recording a program related to a predetermined game may be a storage device existing outside the terminal device 10, set in a publishing server that publishes a program related to a predetermined game, and storing a program related to a predetermined game. The processor 1000 is, for example, a CPU (central processing unit). The processor 1000 executes a program related to a predetermined game stored in the memory 1001, and operates according to the program, thereby serving as a controller 11. As described above, the touch panel 1002 functions as the display 12 and the input device 13 .
[0087] The vibration generating device 1003 is, for example, a vibration motor that generates vibrations. The vibration generating device serves as the vibration generator 15.
[0088] In addition to or in place of the CPU, the processor 1000 also includes hardware such as a GPU (graphics processing unit), a DSP (digital signal processor), or an FPGA (field programmable gate array). In this case, a part or all of the controller 11 implemented by the processor 1000 can be implemented by hardware such as a DSP. Alternatively, the processor 1000 can include one or more CPUs and some or all of one or more hardware elements. For example, in the case where the processor 1000 includes a CPU, a part or all of the functions of the controller 11 can be implemented by the cooperation of these CPUs according to a program related to a predetermined game.
[0089] A-3. Relationship between touch position and operation area
[0090] In the following, reference is made to Figures 7 to 10 , an example of the relationship between the touch position P of the finger FG and the operation area V on the touch panel 1002 will be described.
[0091] Figures 7 to 10It is an example for illustrating a change in the relationship between the position of the finger FG on the touch panel 1002 and the operation area V set on the touch panel 1002 in the period from time t1 to time t10 (hereinafter, also referred to as a "touch position change example"). Hereinafter, the touch position P at time t is also referred to as the touch position P[t], and the operation area V at time t is also referred to as the operation area V[t]. The operation area coordinate system ΣV at time t is also referred to as the operation area coordinate system ΣV[t], and the reference position Ov at time t is also referred to as the reference position Ov[t].
[0092] like Figure 7 As shown, the touch position change example assumes a case where the finger FG enters touch-in at the touch position P[t1] at time t1. That is, in the touch position change example, the touch period starts from time t1. In this case, the operation area determiner 115 sets the operation area coordinate system ΣV[t1] using the touch position P[t1] as the reference position Ov[t1]. Then, the operation area determiner 115 sets the operation area V[t1] including the input areas RDr, RDl, RDu and RDd at the position corresponding to the reference position Ov[t1]. When the operation area V is set, the operation area determiner 115 stores the position of the input area RD included in the operation area V as the operation area information in the storage 14.
[0093] like Figure 7 As shown, the touch position change example assumes a case where, from time t1 to time t2, the finger FG moves the input area RDr from the touch position P[t1] to the touch position P[t2] while in contact with the touch panel 1002. The touch position change example assumes a case where the touch position P[t2] at time t2 is in the input area RDr. That is, in the touch position change example, at some time between time t1 and time t2, the touch position P enters the input area RDr. In other words, in the touch position change example, the input area touch period TRr (an example of a "first touch period") starts from the time between time t1 and time t2.
[0094] In the present embodiment, if the following condition (an example of a "first condition") is satisfied, the characteristic position determiner 114 identifies the touch position P corresponding to a certain time in the input area touch period TRr as the characteristic position CPr. This condition indicates that in the period from the start time of the input area touch period TRr to a certain time, among the one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113, the touch position P indicating the touch position information acquired by the touch position information acquirer 113 at the certain time is located at the farthest position on the +Xv side. In other words, in the present embodiment, this condition indicates that the touch position P in the input area touch period TRr is the farthest position from the reference position Ov in the +Xv direction. If this condition is satisfied, the characteristic position determiner 114 identifies the touch position P as the characteristic position CPr. Touch position change example assumes a case where, among the touch positions P in the period from time t1 to time t2, the touch position P[t2] is located at the farthest position from the reference position Ov in the +Xv direction. Therefore, in the touch position change example, the feature position determiner 114 identifies the touch position P[t2] as the feature position CPr at time t2.
[0095] As described above, the operation region determiner 115 corrects the operation region coordinate system ΣV, the reference position Ov, and the position of the operation region V based on the characteristic position CPr and the characteristic position CP1. Figure 7 As shown, in the touch position change example, at time t2, the characteristic position CPr is recognized, but the characteristic position CP1 is not recognized. Therefore, in the touch position change example, the operation area determiner 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.
[0096] like Figure 7As shown, the touch position change example assumes a situation where, from time t2 to time t3, the finger FG moves the input area RDr from the touch position P[t2] to the touch position P[t3] while in contact with the touch panel 1002. The touch position change example assumes a situation where the touch position P[t3] at time t3 is positioned farther on the -Xv side than the touch position P[t2] in the input area RDr. That is, in the touch position change example, the touch position P[t2] is positioned farther on the +Xv side than the touch position P[t3]. Therefore, in the touch position change example, the feature position determiner 114 also maintains the state in which the touch position P[t2] is recognized as the feature position CPr at time t3. Note that in the touch position change example, also at time t3, the feature position CP1 is not recognized. Therefore, in the touch position change example, the operation area determiner 115 sets the reference position Ov[t3] and the operation area coordinate system ΣV[t3] so that the operation area V[t3] and the operation area V[t2] are at the same position.
[0097] like Figure 8 As shown, the touch position change example assumes a situation where, from time t3 to time t4, the finger FG moves the input area RDr from the touch position P[t3] to the touch position P[t4] while in contact with the touch panel 1002. The touch position change example assumes a situation where the touch position P[t4] at time t4 is positioned farther on the +Xv side than the touch position P[t2] and the touch position P[t3] in the input area RDr. Therefore, in the touch position change example, the feature position determiner 114 identifies the touch position P[t4] as the feature position CPr at time t4. In other words, in the touch position change example, the feature position determiner 114 updates the feature position CPr from the touch position P[t2] to the touch position P[t4] at time t4. It should be noted that in the touch position change example, also at time t4, the feature position CP1 is not identified. Therefore, in the touch position change example, the operation region determiner 115 sets the reference position Ov[t4] and the operation region coordinate system ΣV[t4] so that the operation region V[t4] and the operation region V[t3] are at the same position.
[0098] like Figure 8 As shown, the touch position change example assumes a case where the finger FG moves from the touch position P[t4] to the touch position P[t5] in the input region RDr and the input region RDd while in contact with the touch panel 1002 from time t4 to time t5. The touch position change example assumes a case where the touch position P enters the input region RD1 at time t5. That is, in the touch position change example, the input region touch period TRr is completed at the time between time t4 and time t5, and the input region touch period TR1 (an example of a "second touch period") starts at time t5.
[0099] In the present embodiment, if the following condition (an example of the "second condition") is satisfied, the characteristic position determiner 114 identifies the touch position P corresponding to a certain time in the input area touch period TR1 as the characteristic position CP1. The condition indicates that, among the one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 within the period from the start time of the input area touch period TR1 to a certain time, the touch position P indicating the touch position information acquired by the touch position information acquirer 113 at the certain time in the input area touch period TR1 is located farthest on the -Xv side. In other words, in the present embodiment, the condition indicates that the touch position P is the position farthest from the reference position Ov in the -Xv direction in the input area touch period TR1. If the condition is satisfied, the characteristic position determiner 114 identifies the touch position P as the characteristic position CP1. In the following, the first condition and the second condition are sometimes collectively referred to as the characteristic position identification condition. Touch position change example assumes a case where the input area touch period TR1 starts at time t5. That is, in the touch position change example, the touch position P[t5] is the position farthest from the reference position Ov in the -Xv direction among the touch positions P in the period from the start of the input area touch period TR1 to time t5. Therefore, in the touch position change example, the feature position determiner 114 identifies the touch position P[t5] as the feature position CP1 at time t5.
[0100] In some cases, after the touch position P moves from one input region RD to the outside of the one input region RD, the touch position P reenters the one input region RD. For example, in some cases, after one input region touch period TRr in which the touch position P is in the input region RDr is completed, another input region touch period TRr in which the touch position P is in the input region RDr starts again. In this case, during the period from the completion of one input region touch period TRr to the start of another input region touch period TRr, the characteristic position determiner 114 maintains the recognition result of the characteristic position CPr when the one input region touch period TRr is completed. In this case, when another input region touch period TRr starts, the characteristic position determiner 114 discards the recognition result of the characteristic position CPr when the one input region touch period TRr is completed, and identifies a new characteristic position CPr in another input region touch period TRr. More specifically, when the characteristic position determiner 114 identifies the characteristic position CPr in one input region touch period TRr, the determiner stores the identified characteristic position CPr as characteristic position information in the storage 14. When the characteristic position determiner 114 identifies the characteristic position CPr in another input region touch period TRr, the determiner updates the characteristic position information with the identified characteristic position CPr. The process of updating the characteristic position CP1 when the touch position P re-enters the input region RD1 is similar to the process of updating the characteristic position CPr when the touch position P re-enters the input region RDr.
[0101] Touch position change example assumes a case where the feature position determiner 114 identifies the touch position P[t4] at time t4 as the feature position CPr when the input area touch period TRr is completed. Figure 8 As shown, in the touch position change example, the characteristic position determiner 114 also maintains the state in which the touch position P[t4] is recognized as the characteristic position CPr at time t5 after the input area touch period TRr is completed.
[0102] In the present embodiment, as described above, the operation area determiner 115 corrects the position of the operation area V based on the characteristic position CPr and the characteristic position CP1. Specifically, in the present embodiment, first, the operation area determiner 115 defines the correction position Md based on the characteristic position CPr and the characteristic position CP1 as described above. Next, the operation area determiner 115 defines the operation area motion vector Vmd whose starting point is the reference position Ov and whose end point is the correction position Md. The operation area determiner 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 motion vector Vmd. Therefore, the operation area determiner 115 is able to correct the position of the reference position Ov in the touch panel coordinate system ΣS, the operation area coordinate system ΣV, and the operation area V so that the reference position Ov is consistent with the correction position Md. When the operation area determiner 115 corrects the position of the operation area V, the determiner updates the operation area information stored in the storage 14 with the position of the input area RD included in the operation area V. Hereinafter, the operation area motion vector Vmd defined at time t is also referred to as the operation area motion vector Vmd[t]. The present embodiment illustrates a case where the operation area determiner 115 moves the reference position Ov by an amount of movement corresponding to the operation area motion vector Vmd to thereby correct the reference position Ov. However, the present invention is not limited to such an aspect. The operation area determiner 115 may simply set the correction position Md defined based on the feature position CPr and the feature position CP1 as the reference position Ov. In other words, for example, if the operation area determiner 115 determines the correction position Md at a certain time, the determiner may determine the reference position Ov at another time after the certain time based on the determined correction position Md, without considering the reference position Ov at the certain time.
[0103] In the present embodiment, for example, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CPl as the correction position Md. Alternatively, for example, the operation area determiner 115 may define the position between the feature position CPr and the feature position CPl as the correction position Md, or may define the position having the same distance from the feature position CPr and the feature position CPl as the correction position Md. In short, the operation area determiner 115 may define the position defined by the feature position CPr and the feature position CPl as the correction position Md. For example, the operation area determiner 115 may define the following position in the reference area, the distance between which position and the line segment connecting the feature position CPr and the feature position CPl is equal to or less than a predetermined reference distance, as the correction position Md.
[0104] For example, assuming that the feature position CP that is first recognized between the feature position CPr and the feature position CPl is referred to as the "first recognized feature position", and the feature position CP that is subsequently recognized between the feature position CPr and the feature position CPl is referred to as the "later recognized feature position", the operation area determiner 115 may define a position that is closer to the later recognized feature position than the first recognized feature position as the correction position Md. In this case, the correction position Md is set to the latest touch position P of the adjacent finger FG. Therefore, compared with the case where the correction position Md is set at a position that is closer to the first recognized feature position than the later recognized feature position, the movement amount of the finger FG can be smaller, and the finger is in a situation where the touch position P is changed from the input area RD corresponding to the later recognized feature position to the input area RD corresponding to the first recognized feature position. That is, in this example, compared with the case where the correction position Md is set at a position that is closer to the first recognized feature position than the later recognized feature position, the operability of the operation of moving the finger FG so that the touch position P reciprocates between the input area RDr and the input area RDl can be maintained.
[0105] For example, the operation area determiner 115 may define a position in the reference area closer to the later-recognized feature position than the earlier-recognized feature position as the correction position Md. In this example, the operability of the operation of moving the finger FG so that the touch position P can reciprocate between the input area RDr and the input area RDl can be well maintained.
[0106] For example, the operation area determiner 115 may define the following position as the correction position Md. This position is located on the line segment connecting the feature position CPr and the feature position CP1 or is located in the reference area and is closer to the post-recognition feature position than the first-recognition feature position. Then, this position has an interval equal to or greater than a predetermined reference interval with the post-recognition feature position. If the interval between the correction position Md and the post-recognition feature position is less than the predetermined reference interval, the interval is also less than the predetermined reference interval, wherein the interval is the interval between the latest touch position P existing in the input area RD corresponding to the post-recognition feature position and the input area RD corresponding to the first-recognition feature position. If the interval between the correction position Md and the post-recognition feature position is less than the predetermined reference interval, the possibility of an unexpected operation input increases, in which the user accidentally touches the input area RD corresponding to the first-recognition feature position with the finger FG even if the user intends to touch the input area RD corresponding to the post-recognition feature position with the finger FG. On the contrary, in this example, the correction position Md is set at a position spaced apart from the post-recognition feature position by a predetermined reference interval or more. Therefore, the interval can be configured to be equal to or greater than a predetermined reference interval, wherein the interval is between the latest touch position P existing in the input region RD corresponding to the later recognition feature position and the input region RD corresponding to the earlier recognition feature position. Therefore, in this example, compared with the case where the interval between the correction position Md and the later recognition feature position is less than the predetermined reference interval, the possibility of an unintended operation input in which the user inadvertently touches the input region RD different from the input region RD intended by the user with the finger FG is reduced.
[0107] For example, the operation area determiner 115 may define a position, among positions closer to the later recognition feature position than the first recognition feature position, whose interval with the later recognition feature position is equal to or greater than a predetermined reference interval as the correction position Md. In this example, compared with a case where the interval between the correction position Md and the later recognition feature position is less than the predetermined reference interval, the possibility of an unintended operation input in which the user inadvertently touches an input area RD different from the user's intended input area RD with the finger FG is reduced.
[0108] For example, the operation area determiner 115 may define the correction position Md so that the following ratio is equal to or greater than a predetermined value η (η is a natural number satisfying "0<η<1"). The ratio refers to the ratio of the distance between the correction position Md and the post-recognition feature position to the distance between the feature position CPr and the feature position CPl among the positions that are in the reference area and are closer to the post-recognition feature position than the first-recognition feature position. In this example, compared to the case where the ratio of the distance between the correction position Md and the post-recognition feature position to the distance between the feature position CPr and the feature position CPl is less than the predetermined value η, the possibility of an accidental operation input in which the user accidentally touches the input area RD different from the input area RD intended by the user with the finger FG is reduced.
[0109] For example, the operation area determiner 115 can define the correction position Md so that the following ratio is equal to or greater than a predetermined value η. The ratio refers to the ratio of the distance between the correction position Md and the later-recognized feature position to the distance between the feature position CPr and the feature position CPl, among the positions that are closer to the later-recognized feature position than the first-recognized feature position. In this example, compared to the case where the ratio of the distance between the correction position Md and the later-recognized feature position to the distance between the feature position CPr and the feature position CPl is less than the predetermined value η, the possibility of an accidental operation in which the user accidentally touches an input area RD different from the input area RD intended by the user with the finger FG is reduced. In the following, the correction position Md defined by the operation area determiner 115 at time t is also referred to as the correction position Md[t].
[0110] In the touch position change example, such as Figure 8 As shown, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CP1 as the correction position Md[t5] at time t5. The operation area determiner 115 also defines an operation area motion vector Vmd[t5] whose starting point is the reference position Ov[t5] and whose end point is the correction position Md[t5]. At time t6, the operation area determiner 115 defines the position of the end point of the operation area motion vector Vmd[t5] as the reference position Ov[t6], which is the position when the starting point of the operation area motion vector Vmd[t5] is set to the reference position Ov[t5]. The operation area determiner 115 sets the operation area coordinate system ΣV[t6] so that the reference position Ov[t6] is set to the origin. The operation area determiner 115 sets the operation area V[t6] at a position corresponding to the operation area coordinate system ΣV[t6] at time t6. In the touch position change example, time t6 is a time after time t5, but may be the same time as time t5.
[0111] like Fig. 9As shown, the touch position change example assumes a case where, from time t6 to time t7, the finger FG moves the input area RD1 from the touch position P[t5] to the touch position P[t7] while in contact with the touch panel 1002. The touch position change example assumes a case where the touch position P[t7] at time t7 is positioned farther on the -Xv side than the touch position P[t5] in the input area RD1. Therefore, in the touch position change example, the feature position determiner 114 identifies the touch position P[t7] as the feature position CP1 at time t7. In other words, in the touch position change example, the feature position determiner 114 updates the feature position CP1 from the touch position P[t5] to the touch position P[t7] at time t7.
[0112] In the touch position change example, such as Fig. 9 As shown, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CP1 as the correction position Md[t7] at time t7. The operation area determiner 115 also defines an operation area motion vector Vmd[t7] whose starting point is the reference position Ov[t7] and whose end point is the correction position Md[t7]. Then, the operation area determiner 115 moves the reference position Ov[t7], the operation area coordinate system ΣV[t7], and the operation area V[t7] by a movement amount corresponding to the operation area motion vector Vmd[t7] at time t8, thereby setting the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8]. In other words, the operation area determiner 115 sets the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8] so that the reference position Ov[t8] is the same as the correction position Md[t7]. In the touch position change example, time t8 is a time after time t7, but it may be the same time as time t7.
[0113] like Fig.10 As shown, the touch position change example assumes a situation where, from time t8 to time t9, the finger FG moves from the touch position P[t7] to the touch position P[t9] in the input area RD1 and the input area RDd while in contact with the touch panel 1002. The touch position change example assumes a situation where the touch position P re-enters the input area RDr at time t9. That is, in the touch position change example, the input area touch period TR1 is completed at the time between time t8 and time t9, and the input area touch period TRr restarts at time t9. In the following, for the sake of explanation, in some cases, the input area touch period TRr that starts at the time between time t1 and time t2 is referred to as the "first input area touch period TRr". The input area touch period TRr that starts at time t9 is referred to as the "latter input area touch period TRr".
[0114] As described above, in the present embodiment, when the rear input area touch period TRr starts, the characteristic position determiner 114 discards the recognition result of the characteristic position CPr when the first input area touch period TRr is completed. In addition, the characteristic position determiner 114 recognizes a new characteristic position CPr in the rear input area touch period TRr. Therefore, in the touch position change example, as Fig.10 As shown, the feature position determiner 114 identifies the touch position P[t9] as the feature position CPr at time t9. In other words, in the touch position change example, the feature position determiner 114 updates the feature position CPr from the touch position P[t4] to the touch position P[t9] at time t9.
[0115] In the touch position change example, such as Fig.10 As shown, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CP1 as the correction position Md[t9] at time t9. The operation area determiner 115 also defines an operation area motion vector Vmd[t9] whose starting point is the reference position Ov[t9] and whose end point is the correction position Md[t9]. Then, the operation area determiner 115 moves the reference position Ov[t9], the operation area coordinate system ΣV[t9], and the operation area V[t9] by a movement amount corresponding to the operation area motion vector Vmd[t9] at time t10, thereby setting the reference position Ov[t10], the operation area coordinate system ΣV[t10], and the operation area V[t10]. In other words, the operation area determiner 115 sets the reference position Ov[t10], the operation area coordinate system ΣV[t10], and the operation area V[t10] so that the reference position Ov[t10] is the same as the correction position Md[t9]. In the touch position change example, time t10 is a time after time t9 , but time t10 may be the same time as time t9 .
[0116] A-4. Operation of terminal device
[0117] In the following, reference is made to Fig.11 , an example of the operation of the terminal device 10 will be described.
[0118] Fig.11 10 is a flowchart showing an operation example 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 for starting a predetermined game through the touch panel 1002, it is assumed that the terminal device 10 starts the predetermined game.
[0119] like Fig.11As shown, when the predetermined game starts, the touch position information acquirer 113 determines whether the touch panel 1002 outputs the touch position information (S100). If the determination result in step S100 is negative, the touch position information acquirer 113 advances the processing to step S128. On the contrary, if the determination result in step S100 is positive, the touch position information acquirer 113 acquires the touch position information output from the touch panel 1002 (S102). The touch position information acquirer 113 updates the touch position history information stored in the storage 14 based on the touch position information acquired in step S102. Specifically, the touch position information acquirer 113 associates the touch position information acquired in step S102 with the time when the touch position information is acquired, and includes them in the touch position history information. The touch position history information may include information indicating the area where the input position P among the input areas RDr, RDl, RDu and RDd exists at each time. Alternatively, the touch position history information may include information indicating an input area touch period including a time when the touch position information is acquired among the input area touch periods TRr, TRl, TRu, and TRd, instead of information indicating the input area RD where the touch position P exists.
[0120] Next, the feature position determiner 114 determines whether the time when the touch position information acquirer 113 acquires the touch position information in step S102 is the time after the user's finger FG touches on the touch panel 1002 (S104). Specifically, for example, the feature position determiner 114 refers to the touch position history information in step S104 to determine whether the touch position information acquired by the touch position information acquirer 113 in step S102 is the touch position information acquired for the second time or later among one or more touch position information acquired by the touch position information acquirer 113 after the start of the touch period. If the determination result in step S104 is negative, the feature position determiner 114 advances the processing to step S124. On the contrary, if the determination result in step S104 is positive, the feature position determiner 114 acquires the operation area information stored in the storage 14 and identifies the position of each input area RD (S106).
[0121] Next, the feature position determiner 114 determines whether the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 is in the input region RD (S108). If the determination result in step S108 is positive, the time when the touch position information acquirer 113 acquires the touch position information in step S102 is included in the input region touch period TR corresponding to the input region RD where the touch position P exists. The feature position determiner 114 may update the touch position history information based on the determination result in step S108. If the determination result in step S108 is negative, the feature position determiner 114 advances the process to step S126.
[0122] On the contrary, if the determination result in step S108 is positive, the vibration controller 116 determines whether the touch position information acquired by the touch position information acquirer 113 in step S102 is the touch position information initially acquired among one or more touch position information acquired by the touch position information acquirer 113 in the input area touch period TR to be determined (S110). It should be noted that the input area touch period TR to be determined is the input area touch period TR corresponding to the input area RD in which the touch position P exists and has been determined in step S108. If the determination result in step S110 is negative, the vibration controller 116 advances the processing to step S114. On the contrary, if the determination result in step S110 is positive, the vibration controller 116 controls the vibration generator 15 so that the vibration generator 15 vibrates the terminal device 10 (S112).
[0123] Next, the feature position determiner 114 determines whether the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 satisfies the feature position recognition condition (S114). Specifically, if the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 is in the input region RDr, the feature position determiner 114 determines whether the touch position P satisfies the first condition in step S114. If the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 is in the input region RDl, the feature position determiner 114 determines whether the touch position P satisfies the second condition in step S114. If the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 is in the input region RDu or the input region RDd, the feature position determiner 114 determines in step S114 that the feature position recognition condition is not satisfied. If the determination result in step S114 is negative, the feature position determiner 114 advances the process to step S126 .
[0124] On the contrary, if the determination result in step S114 is positive, the characteristic position determiner 114 identifies the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 as the characteristic position CP (S116). Specifically, if the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 satisfies the first condition, the characteristic position determiner 114 identifies the touch position P as the characteristic position CPr. If the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102 satisfies the second condition, the characteristic position determiner 114 identifies the touch position P as the characteristic position CP1. It should be noted that the characteristic position determiner 114 updates the characteristic position information stored in the storage 14 based on the recognition result in step S116.
[0125] Next, the operation area determiner 115 determines whether both the characteristic position CPr and the characteristic position CP1 exist (S118). If the determination result in step S118 is negative, the operation area determiner 115 advances the process to step S126. On the contrary, if the determination result in step S118 is positive, the operation area determiner 115 determines the reference position Ov based on the characteristic position CPr and the characteristic position CP1 (S120).
[0126] Next, the operation area determiner 115 determines the positions of 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 (S122). It should be noted that the operation area determiner 115 updates the operation area information stored in the storage 14 with the position of the input area RD determined in step S122.
[0127] On the contrary, if the determination result in step S104 is negative, the operation area determiner 115 sets the reference position Ov to the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S102; and sets the operation area V including the input areas RDr, RDl, RDu and RDd to a position based on the reference position Ov (S124).
[0128] If the determination result in step S108, S114, or S118 is negative, the operation region determiner 115 does not change but maintains the position of the input region RD (S126).
[0129] Subsequently, the game controller 111 determines the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS (S128). Specifically, if in step S128 the finger FG is in contact with the touch panel 1002 (S100: Yes) and the touch position P is in the input area RD (S108: Yes), the game controller 111 sets the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS to the direction corresponding to the input area RD in which the touch position P exists and has been determined in step S108. If in step S128 the finger FG is in contact with the touch panel 1002 (S100: Yes) and the touch position P is not in the input area RD (S108: No), the game controller 111 sets the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS to a predetermined direction, for example, Figure 1 If the finger FG is not in contact with the touch panel 1002 in step S128 (S100: No), the game controller 111 sets the direction in which the face of the character CR faces in the touch panel coordinate system ΣS to a predetermined direction, for example, Figure 1 Front orientation shown.
[0130] Next, the display controller 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V, and controls the display 12 to display an image based on the display information ( S130 ).
[0131] Subsequently, the game controller 111 determines whether the user has input a predetermined end operation for ending the predetermined game through the touch panel 1002 (S132). If the determination result in step S132 is negative, the game controller 111 advances the process to step S100. If the determination result in step S132 is positive, the controller ends the predetermined game.
[0132] A-5. Summary of the First Embodiment
[0133] As described above, in the present embodiment, the operation area determiner 115 determines the position of the operation area V including the input areas RDr, RD1, RDu, and RDd based on the characteristic position CPr and the characteristic position CP1. Therefore, in the present embodiment, even if the touch position P in the operation area V gradually deviates, the operation area determiner 115 can correct the operation area V in response to the deviation (gap) of the touch position P. Therefore, in the present embodiment, for example, compared with the case where the position of the operation area V is fixed on the touch panel 1002, the possibility of an unexpected input due to the deviation of the touch position P is reduced.
[0134] Generally, there is a high possibility that the relative position relationship between the following two feature positions CP as feature position CPr and feature position CPl and the interval between the two feature positions CP as feature position CPr and feature position CPl are defined based on the shape and size of the finger FG in contact with the touch panel 1002 and the touching method of each user (such as the pressure with which the user's finger FG starts to contact the touch panel 1002 and the movement method of the finger FG).
[0135] In contrast, in the present embodiment, the operation area determiner 115 determines the position of the operation area V including the input area RDr and the input area RDl based on two characteristic positions CP as the characteristic position CPr and the characteristic position CPl. Therefore, in the present embodiment, for example, compared with the case where the position of the input area RD is defined based on one characteristic position CP, the operation area V including the input area RDr and the input area RDl can be set at a position taking into account the touch pattern of each user. Therefore, in the present embodiment, for example, compared with the case where the position of the input area RD is defined based on one characteristic position CP, the operability of the operation of touching the input area RD with the finger FG can be conveniently maintained for any user.
[0136] In a certain type of game, the input frequency in one direction related to the game is higher than the input frequency in other directions related to the game. Hereinafter, in some cases, the indication in the +Xs direction related to the predetermined game and the indication in the -Xs direction related to the predetermined game are collectively referred to as the Xs direction indication. Similarly, in some cases, the indication in the +Ys direction related to the predetermined game and the indication in the -Ys direction related to the predetermined game are collectively referred to as the Ys direction indication. For example, in the predetermined game, the input frequency of the Xs direction indication is higher than the input frequency of the Ys direction indication. Determining the position of the input area RD based on the touch position P related to the indication input with a low frequency leads to the possibility of setting the input area RD at a position that does not correspond to the time interval of the position of the user's finger FG.
[0137] In contrast, in the present embodiment, the operation region determiner 115 determines the positions of the input region RDu and the input region RDd based on the touch position P that is in the input region RDr and the input region RDl and corresponds to the input indicated by the Xs direction. Therefore, in the present embodiment, in the case where the input frequency indicated by the Xs direction is greater than the input frequency indicated by the Ys direction, the possibility that the operation region V is set at a position that just corresponds to the deviation of the touch position P increases compared to the following case. In this case, for example, the positions of the input region RDu and the input region RDd are determined based on the touch position P that is in the input region RDu and the input region RDd and corresponds to the input indicated by the Ys direction.
[0138] A-6. Modification of the first embodiment
[0139] Various modifications can be made to the above-mentioned modes. The modes of specific modifications will be illustrated below. Two or more modes freely selected from the following examples can be appropriately combined within the scope of non-conflict. In the following illustrated modifications, the elements with operations and functions equivalent to the elements in the embodiment are also assigned the symbols cited in the above description, and the detailed description of these elements is appropriately omitted.
[0140] Modification A1
[0141] In the above-mentioned embodiment, the characteristic position determiner 114 identifies the characteristic position CPr based on the touch position P present in the input area RDr; and identifies the characteristic position CP1 based on the touch position P present in the input area RDl. In addition, the operation area determiner 115 defines the position of the operation area V in the direction including the +Xv direction and the -Xv direction; and the position of the operation area V in the direction including the +Yv direction and the -Yv direction based on the characteristic position CPr and the characteristic position CP1. However, the present invention is not limited to such aspects. For example, in addition to the characteristic position CPr and the characteristic position CP1, the characteristic position determiner 114 can also identify the characteristic position CPu based on the touch position P present in the input area RDu. Then, the characteristic position determiner 114 can identify the characteristic position CPd based on the touch position P present in the input area RDd. It should be noted that the characteristic position CPr, the characteristic position CP1, the characteristic position CPu and the characteristic position CPd are collectively referred to as the characteristic position CP without special distinction. Specifically, if the following condition (an example of the "third condition") is satisfied, the characteristic position determiner 114 may identify the touch position P corresponding to a certain time in the input region touch period TRu in the input region RDu as the characteristic position CPu. This condition indicates that, among the one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 within the period from the start time of the input region touch period TRu to a certain time, the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time is located farthest on the +Yv side. If the following condition (an example of the "fourth condition") is satisfied, the characteristic position determiner 114 may identify the touch position P corresponding to a certain time in the input region touch period TRd in the input region RDd as the characteristic position CPd. This condition indicates that, in the period from the start time of the input area touch period TRd to a certain time, among one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113, the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time is positioned farthest on the -Yv side. In this case, the operation area determiner 115 can define the position of the operation area V in the direction including the +Xv direction and the -Xv direction based on the characteristic position CPr and the characteristic position CP. The operation area determiner 115 can identify the position of the operation area V in the direction including the +Yv axis direction and the -Yv direction based on the characteristic position CPu and the characteristic position CPd. In the following, the first condition, the second condition, the third condition, and the fourth condition are sometimes collectively referred to as the characteristic position recognition condition.
[0142] Fig.12 and Fig.13 is a diagram for illustrating a touch position change example according to the present modification. Assume that the period from time t1 to time t4 in the touch position change example according to the present modification is the same as Figure 7 and Figure 8 The period from time t1 to time t4 in the touch position change example according to the embodiment shown in FIG.
[0143] like Fig.12 As shown, the touch position change example according to this modification assumes the following situation: from time t4 to time t5, the finger FG moves from the touch position P[t4] to the touch position P[t5] in the input area RDr and the input area RDd while being in contact with the touch panel 1002, and enters the input area RDl at time t5. In the touch position change example according to this modification, the feature position determiner 114 recognizes the touch position P[t5] as the feature position CP1 at time t5. The touch position change example according to this modification assumes the situation where the feature position determiner 114 recognizes the touch position P[t4] as the feature position CPr at time t5. In the touch position change example according to this modification, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CP1 as the correction position Md[t5] at time t5. The operation area determiner 115 also defines a vector obtained by taking only the Xv component from a vector whose starting point is the reference position Ov[t5] and whose end point is the correction position Md[t5] as an operation area motion vector Vmd[t5]. Then, the operation area determiner 115 moves the reference position Ov[t5], the operation area coordinate system ΣV[t5], and the operation area V[t5] by a movement amount corresponding to the operation area motion vector Vmd[t5] at time t6, thereby setting the reference position Ov[t6], the operation area coordinate system ΣV[t6], and the operation area V[t6]. In the touch position change example according to this modification, time t6 is a time after time t5, but time t6 may be the same time as time t5.
[0144] like Fig.13As shown, the touch position change example according to this variant example assumes the following situation: from time t6 to time t7, the finger FG moves from the touch position P[t5] to the touch position P[t7] in the input area RD1 while in contact with the touch panel 1002, and enters the input area RDu at time t7. In the touch position change example according to this variant example, the feature position determiner 114 recognizes the touch position P[t7] as the feature position CPu at time t7. Subsequently, assume the following situation: from time t7 to time t8, the finger FG moves the input area RDu, the input area RD1, and the input area RDd from the touch position P[t7] to the touch position P[t8] while in contact with the touch panel 1002. In the touch position change example according to this variant example, the feature position determiner 114 recognizes the touch position P[t8] as the feature position CPd at time t8. In the touch position change example according to this modification, the operation area determiner 115 defines the midpoint between the feature position CPu and the feature position CPd as the correction position Md[t8] at time t8. The operation area determiner 115 also defines a vector obtained by taking only the Yv component from a vector having a starting point at the reference position Ov[t8] and an end point at the correction position Md[t8] as an operation area motion vector Vmd[t8]. Then, the operation area determiner 115 moves the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8] by a movement amount corresponding to the operation area motion vector Vmd[t8] at time t9, thereby setting the reference position Ov[t9], the operation area coordinate system ΣV[t9], and the operation area V[t9]. In the touch position change example according to this modification, time t9 is a time after time t8, but time t9 may be the same time as time t8.
[0145] As described above, in this modification, the operation area determiner 115 determines the positions of the input area RDr and the input area RDl based on the touch position P present in the input area RDr and the input area RDl. Then, the operation area determiner 115 determines the positions of the input area RDu and the input area RDd based on the touch position P present in the input area RDu and the input area RDd. Therefore, in this embodiment, for example, compared with the case where the position of the input area RD is fixed on the touch panel 1002, the possibility of an unexpected input due to a deviation of the touch position P is reduced.
[0146] Modification A2
[0147] In the above-mentioned embodiment, the inclination of the operation area coordinate system ΣV relative to the touch panel coordinate system ΣS is unchanged. However, the present invention is not limited to such aspects. For example, the operation area determiner 115 may change the inclination of the operation area coordinate system ΣV relative to the touch panel coordinate system ΣS based on the feature position CP. More specifically, if the feature position determiner 114 identifies the feature position CPr and the feature position CP1, the operation area determiner 115 may determine the direction from the reference position Ov to the feature position CPr as the +Xv direction. In addition, the operation area determiner 115 may define the direction from the reference position Ov to the feature position CP1 as the -Xv direction, thereby setting the operation area coordinate system ΣV.
[0148] Fig.14 is a diagram for illustrating a touch position change example according to the present modification. Assume that the period from time t1 to time t4 in the touch position change example according to the present modification is the same as Figure 7 and Figure 8 The period from time t1 to time t4 in the touch position change example according to the embodiment shown in FIG.
[0149] like Fig.14As shown, the touch position change example according to this modification assumes the following situation: from time t4 to time t5, the finger FG moves from the touch position P[t4] to the touch position P[t5] in the input area RDr and the input area RDd while being in contact with the touch panel 1002, and enters the input area RDl at time t5. In the touch position change example according to this modification, the feature position determiner 114 recognizes the touch position P[t5] as the feature position CP1 at time t5. The touch position change example according to this modification assumes the situation where the feature position determiner 114 recognizes the touch position P[t4] as the feature position CPr at time t5. In the touch position change example according to this modification, the operation area determiner 115 defines the midpoint between the feature position CPr and the feature position CP1 at time t5 as the correction position Md[t5]. The operation area determiner 115 also defines a vector whose starting point is the reference position Ov[t5] and whose end point is the correction position Md[t5] as the operation area motion vector Vmd[t5]. Then, the operation area determiner 115 moves the reference position Ov[t5], the operation area coordinate system ΣV[t5], and the operation area V[t5] at time t6 by the movement amount corresponding to the operation area motion vector Vmd[t5], thereby setting the reference position Ov[t6], the operation area coordinate system ΣV[t6], and the operation area V[t6]. More specifically, the operation area determiner 115 moves the reference position Ov from time t5 to time t6 so that the reference position Ov[t6] coincides with the correction position Md[t5]. Subsequently, at time t7, the operation area determiner 115 defines the direction from the correction position Md[t5] to the feature position CPr as the +Xv direction. In addition, the operation area determiner 115 defines the direction from the correction position Md[t5] to the input area RDu and orthogonal to the direction from the correction position Md[t5] to the feature position CPr as the +Yv direction, thereby setting the operation area coordinate system ΣV[t7]. The operation area determiner 115 sets the input areas RDr, RDl, RDu, and RDd at positions based on the operation area coordinate system ΣV[t7] at time t7. Specifically, at time t7, the operation area determiner 115 sets the input area RDr in the +Xv direction from the reference position Ov[t7]; sets the input area RDl in the -Xv direction from the reference position Ov[t7]; sets the input area RDu in the +Yv direction from the reference position Ov[t7]; and sets the input area RDd in the -Yv direction from the reference position Ov[t7]. In the touch position change example according to this modification, time t6 and time t7 are times after time t5, but time t6 and time t7 may be the same time as time t5.
[0150] As described above, in this modification, the operation area determiner 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 CP1. Therefore, in this embodiment, for example, compared with the case where the inclination angle of the operation area coordinate system ΣV is fixed on the touch panel 1002, the possibility of accidental input due to the deviation of the touch position P is reduced.
[0151] Modification A3
[0152] In the above-described embodiment and variants A1 and A2, the touch position P present in the input region RD is identified as the feature position CP. However, the present invention is not limited to such an aspect. For example, the feature position determiner 114 may identify the feature position CP based on the touch position P present in the extended region RDX that includes the input region RD and is wider than the input region RD. Fig.15 The illustrated example assumes a case where four extended areas RDX (RDXr, RDX1, RDXu, and RDXd) are defined.
[0153] Specifically, the characteristic position determiner 114 identifies the touch position P corresponding to a certain time in the extended area touch period TX during which the state of the touch position P existing in the extended area RDX continues as the characteristic position CP if the following condition is satisfied. The condition means that among the one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in the period from the start time of the extended area touch period TX to a certain time, the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time is at a position farthest from the reference position Ov in the direction indicating the extended area RDX.
[0154] Specifically, Fig.15As shown, if the following condition (another example of the “first condition”) is satisfied, the characteristic position determiner 114 identifies the touch position P corresponding to a certain time as the characteristic position CPr. This condition means that among the one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in the period from the start time of the extended area touch period TXr to a certain time, at the certain time in the extended area touch period TXr in which the state of the touch position P existing in the extended area RDXr (an example of the “first area”) continues, the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 is located farthest on the +Xv side. If the following condition (another example of the “second condition”) is satisfied, the characteristic position determiner 114 identifies the touch position P corresponding to a certain time as the characteristic position CP1 in the extended area touch period TX1 in which the state of the touch position P existing in the extended area RDX1 (an example of the “second area”) continues. This condition indicates that among one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the period from the start time of the extended area touch period TXl to a certain time, the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time is positioned farthest on the -Xv side.
[0155] As described above, in this modification, the feature position determiner 114 identifies the feature position CP based on the touch position P present in the extended area RDX including the input area RD, and determines the position of the input area RD based on the feature position CP. Therefore, in this modification, for example, compared with the case where the position of the input area RD is fixed on the touch panel 1002, the possibility of an unexpected input due to a deviation of the touch position P is reduced.
[0156] Modification A4
[0157] In the above-mentioned embodiment and variants A1 to A3, the characteristic position identification condition indicates that in the input area touch period TR, the touch position P is the position farthest from the reference position Ov in the direction indicating the input area RD from the reference position Ov. If the characteristic position identification condition is met, the characteristic position determiner 114 identifies the touch position P as a characteristic position CP. However, the present invention is not limited to such aspects. For example, if the following conditions are met, the characteristic position determiner 114 can identify the touch position P corresponding to a certain time in the input area touch period TR as a characteristic position CP. The condition indicates that the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time deviates from the reference position in the direction indicating the input area RD from the reference position Ov, and the reference position is defined based on one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the period from the start time of the input area touch period TR to the certain time.
[0158] Specifically, if the following condition (another example of the “first condition”) is satisfied, the characteristic position determiner 114 may identify the touch position P corresponding to a certain time in the input area touch period TRr as the characteristic position CPr. The condition indicates that the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time is located farther in the +Xv direction than the first reference position (an example of the “first reference position”) defined based on one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in the period from the start time of the input area touch period TRr to the certain time. If the following condition (another example of the “second condition”) is satisfied, the characteristic position determiner 114 may identify the touch position P corresponding to the certain time as the characteristic position CP1. This condition indicates that the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at a certain time in the input area touch period TRl is positioned farther in the -Xv direction than a second reference position (an example of a "second reference position"), which is defined based on one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the period from the start time of the input area touch period TRl to the certain time.
[0159] The reference position may be, for example, an average position of one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in a period from the start time of the input region touch period TR to a certain time. Alternatively, the reference position may be a touch position P farthest from the reference position Ov in a direction in which the input region RD is indicated from the reference position Ov among some of the one or more touch positions P.
[0160] Modification A5
[0161] In the above-mentioned embodiment and variations A1 to A4, if the characteristic position identification condition is satisfied in the input area touch period TR, the characteristic position determiner 114 identifies the touch position P as the characteristic position CP. However, the present invention is not limited to such aspects. The characteristic position determiner 114 may identify the characteristic position CP based on some or all of the one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the input area touch period TR.
[0162] Specifically, the feature position determiner 114 may identify the average position of some or all of the one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 as the feature position CP. Fig.16 In the example shown, if the three pieces of touch position information acquired by the touch position information acquirer 113 in the input area touch period TRr indicate touch positions P[t2], P[t3], and P[t4], the feature position determiner 114 can identify the average position of the three touch positions P[t2], P[t3], and P[t4] as the feature position CPr.
[0163] For example, the feature position determiner 114 may identify, as the feature position CP, a touch position P indicating the last acquired touch position information among one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in the input area touch period TR. Fig.16 In the example shown, if the three touch position information acquired by the touch position information acquirer 113 in the input area touch period TRr indicate touch positions P[t2], P[t3] and P[t4], the feature position determiner 114 can identify the touch position P[t4] corresponding to the last acquired touch position information as the feature position CPr.
[0164] For example, if two or more touch positions P exist at substantially the same position for at least a predetermined period of time among the touch positions P indicated by the plurality of touch position information acquired by the touch position information acquirer 113 in the input region touch period TR, the feature position determiner 114 may identify the two or more touch positions P as feature positions CP. Here, for example, “one touch position P and another touch position P exist at substantially the same position” may mean that one touch position P and another touch position P exist at the same position, or that the interval between one touch position P and another touch position P is equal to or less than a predetermined distance.
[0165] Modification A6
[0166] The embodiment and modifications A1 to A5 illustrate the case where each input region RD is a sector-shaped region. However, the present invention is not limited to such an aspect. Each input region RD may be, for example, an elliptical region or a polygonal region, such as Fig.17 shown.
[0167] Modification A7
[0168] The above-described embodiment and modifications A1 to A6 illustrate a case where the operation area V is composed of input areas RDr, RDl, RDu, and RDd, which are areas for inputting instructions in the direction in which the face of the character CR is facing. However, the present invention is not limited to such an aspect. The operation area V may include a neutral area RN, which is an area that does not receive input of instructions in the direction in which the face of the character CR is facing. In this case, for example, Fig.18 As shown, the neutral region RN may be set as a region including the center (ie, reference position Ov) of each of the input regions RDr, RD1, RDu, and RDd. Hereinafter, a specific example of Modification 7 will be described in the second embodiment.
[0169] Modification A8
[0170] In the embodiment and modifications A1 to A7, the input area RD is an area for inputting instructions in a single direction related to a predetermined game. However, the present invention is not limited to such an aspect. Fig.19 As shown, each input region RD may include K sub-regions for inputting instructions in K directions (K is a natural number of 2 or greater). Fig.19 In the example shown, the input region RDr includes sub-regions RDr1, RDr2, and RDr3. The input region RD1 includes sub-regions RDl1, RDl2, and RDl3. The input region RDu includes sub-regions RDu1, RDu2, and RDu3. The input region RDd includes sub-regions RDd1, RDd2, and RDd3.
[0171] Modification A9
[0172] The above-mentioned embodiment and modifications A1 to A8 illustrate the case where the operation area V includes four input areas RD (RDr, RD1, RDu, and RDd). However, the present invention is not limited to such an aspect. The operation area V only needs to include M input areas RD (M is a natural number of 2 or more). For example, Fig. 20 As shown, the operation area V may include 12 input areas RD (RDru, RDr, RDrd, RDdr, RDd, RDdl, RDld, RDl, RDlu, RDul, RDu, and RDur). In this variation, the number M of input areas may be an even number. In this case, Fig. 20 As illustrated, the input region RDr and the input region RD1 may be disposed at positions symmetrical with respect to the reference position Ov.
[0173] Modification A10
[0174] In the above-mentioned embodiment and variants A1 to A9, the first direction indicating the input region RDr from the reference position Ov and the second direction indicating the input region RDl from the reference position Ov are opposite directions. However, the present invention is not limited to such an aspect. The angle between the first direction and the second direction may be an angle greater than 0 degrees and less than 180 degrees.
[0175] Modification A11
[0176] In the embodiment and variations A1 to A10, the input area RD is an area for inputting instructions in the direction in which the face of the character CR is facing. However, the present invention is not limited to such aspects. The input area RD may be an area for inputting instructions related to a predetermined game. For example, the input area RDr may be an area for inputting instructions (an example of a "first instruction") regarding the attack of the character CR in the predetermined game. The input area RDl may be an area for inputting instructions (an example of a "second instruction") regarding the defense of the character CR in the predetermined game. For example, the input area RD may be an area for inputting instructions regarding the direction in which the character CR moves in the touch panel coordinate system ΣS or the virtual space SP. Specifically, for example, the input area RDr may be an area for inputting instructions for moving the character CR in one direction in the touch panel coordinate system ΣS or the virtual space SP. The input area RDl may be an area for inputting instructions for moving the character CR in another direction in the touch panel coordinate system ΣS or the virtual space SP.
[0177] Modification A12
[0178] In the embodiment and variants A1 to A11, a program related to a predetermined game is described as an example of a program. However, the present invention is not limited to such an aspect. The program may be a program related to any application. In this case, the first indication may be any indication related to any application. The second indication may be an indication related to the application and different from the first indication.
[0179] Modification A13
[0180] In the embodiment and modifications A1 to A12, the predetermined game is executed by the terminal device 10. However, the present invention is not limited to such an aspect. The predetermined game may be executed by a configuration element other than the terminal device 10.
[0181] Fig.21 An overview of the information processing system SYS according to the present variation is shown. The information processing system SYS includes a server device 30A and a terminal device 10A. The server device 30A is capable of executing a predetermined game and is capable of communicating with the terminal device 10A via a network NW. Specifically, the server device 30A includes: a controller 11 that controls each element of the server device 30A; a storage device 31 that stores various information (such as a program related to a predetermined game); and a communicator 32 for communicating with an external device such as the terminal device 10A. In addition to a display 12, an input device 13, and a vibration generator 15, the terminal device 10A also includes a communicator 16 for performing communication with an external device such as the server device 30A. The display 12 and the input device 13 are implemented as a touch panel 1002 as described above. The server device 30A generates display information based on the information input by the input device 13 of the terminal device 10A. The display 12 included in the terminal device 10A displays an image related to the predetermined game based on the display information generated in the server device 30A.
[0182] B. Second Implementation
[0183] Hereinafter, a second embodiment of the present invention will be described. Figures 1 to 22 Like elements described in are assigned like reference numerals, and detailed descriptions thereof are omitted.
[0184] B-1. Overview of terminal devices
[0185] Below, refer to Figure 22 to Figure 25 , an example of the overview of the terminal device 10B according to the present embodiment will be described. The terminal device 10B is similar to the terminal device 10 according to the first embodiment except that an operation area V including a neutral area RN and an input area RD is set at a predetermined position on the touch panel 1002 when a predetermined game starts.
[0186] Fig. 22 10B is a diagram for illustrating an example of the appearance of the terminal device 10B. For example, the terminal device 10B executes a program (an example of a “program”) according to a predetermined game, thereby displaying an image related to the predetermined game on the touch panel 1002. Specifically, when the terminal device 10B executes the predetermined game, the terminal device 10B displays a virtual space SP related to the predetermined game, a character CR existing in the virtual space SP, and an operation area V such as a virtual board on the touch panel 1002.
[0187] In this embodiment, when a predetermined game is activated, an operation area V is set at a predetermined position on the touch panel 1002. Also in this embodiment, the operation area V is not limited to a circle. For example, the left half of the screen of the touch panel 1002 can be set as the operation area V. The operation area V can be a virtual area set to be invisible to the user.
[0188] In the present embodiment, the following example case is assumed: the operation area V includes: four input areas RD (RDr, RDl, RDu, and RDd), which are areas for inputting instructions in the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS; and a neutral area RN, which is an area that does not receive input of instructions in the direction in which the face of the character CR is facing. The input area RD can be an area for receiving instructions in the direction in which the face of the character CR is facing in the virtual space SP. In the present embodiment, the direction in which the face of the character CR is facing is an example of a "game-related operation direction". The input area RDr is an example of a "first area". The input area RDl is an example of a "second area". The neutral area RN is an example of a "third area".
[0189] In the present embodiment, the neutral region RN is visibly arranged between the input region RDr and the input region RDl on the touch panel 1002, but may be arranged invisibly between the input region RDr and the input region RDl on the touch panel 1002. The expression "a state in which the neutral region RN is arranged between the input region RDr and the input region RDl" refers to a state in which the input region RDr, the input region RDl, and the neutral region RN have a positional relationship in which the endpoints are located in the input region RDr and the input region RDl and a line passing through the neutral region RN is allowed to be drawn.
[0190] In the present embodiment, for example, the terminal device 10B sets the neutral region RN as a region including the reference position Ov. In addition, the terminal device 10B sets the input region RDr as a region at a position in the +Xv direction (an example of a "first direction") from the neutral region RN. The terminal device 10B sets the input region RDl as a region at a position in the -Xv direction (an example of a "second direction") from the neutral region RN. In addition, the terminal device 10B sets the input region RDu as a region at a position in the +Yv direction from the neutral region RN. The terminal device 10B sets the input region RDd as a region at a position in the -Yv direction from the neutral region RN.
[0191] More specifically, in the present embodiment, the terminal device 10B sets the area in the circle BDn with the reference position Ov as the center as the neutral area RN. It is to be noted that the circle BDn is smaller than the circle BDv. The terminal device 10B sets the area formed by removing the neutral area RN from the sector area surrounded by the line segment BDrd starting from the reference position Ov and extending in the direction of the angle θ from the +Xv direction toward the -Yv side, the line segment BDur starting from the reference position Ov and extending in the direction of the angle θ from the +Xv direction toward the +Yv side, and the circle BDv as the input area RDr. The terminal device 10B sets the area formed by removing the neutral area RN from the sector area surrounded by the line segment BDdl starting from the reference position Ov and extending in the direction of the angle θ from the -Xv direction toward the -Yv side, the line segment BDlu starting from the reference position Ov and extending in the direction of the angle θ from the -Xv direction toward the +Yv side, and the circle BDv as the input area RDl. The terminal device 10B sets the area formed by removing the neutral area RN from the fan-shaped area surrounded by the line segment BDur, the line segment BDlu and the circle BDv as the input area RDu. The terminal device 10B sets the area formed by removing the neutral area RN from the fan-shaped area surrounded by the line segment BDrd, the line segment BDdl and the circle BDv as the input area RDd.
[0192] In this embodiment, the example case assumes that the angle θ is 45 degrees. The angle θ may be greater than 0 degrees and less than 90 degrees. In this embodiment, the angle between the line segment BDrd and the line segment BDur is equal to the angle between the line segment BDdl and the line segment BDlu. However, the angle between the line segment BDrd and the line segment BDur may be different from the angle between the line segment BDdl and the line segment BDlu. Next, referring to Figure 23 to Figure 25 , an overview of the operation using the operation area V will be described.
[0193] Fig.2310B is a diagram for illustrating an example of the appearance of the terminal device 10B when the touch of the operation area V is implemented. The user can change the direction of the face of the character CR by touching any area among the input areas RDr, RDl, RDu, and RDd in the operation area V. In the present embodiment, when the neutral area RN is touched with the finger FG in a predetermined game, the terminal device 10B performs a process similar to that when the finger FG is away from the touch panel 1002.
[0194] For example, when the finger FG leaves the touch panel 1002 and then the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS remains the same as the direction before the finger FG leaves the touch panel 1002, even if the neutral area RN is touched with the finger FG, the direction in which the face of the character CR is facing does not change. Fig.23 In the example shown, the first touch after activating the predetermined game is a touch with the neutral area RN. In this case, the orientation of the face of the character CR is maintained at Fig. 22 The orientation shown in (the front direction in the touch panel coordinate system ΣS). That is, when the touch position P of the finger FG is in the neutral area RN, the orientation of the face of the character CR remains the same as the orientation before the user touched the neutral area RN with the finger FG. It should be noted that there is a case where the finger FG leaves the touch panel 1002 and the orientation of the face of the character CR in the touch panel coordinate system ΣS is set to a predetermined orientation (for example, the front direction in the touch panel coordinate system ΣS). In this case, when the neutral area RN is touched with the finger FG, the orientation of the face of the character CR is set to a predetermined orientation. In the following, the processing performed when the finger FG is removed from the touch panel 1002 is also referred to as non-touch processing.
[0195] For example, after the neutral area RN is touched by the finger FG, the user tilts the finger FG while keeping the finger FG in contact with the touch panel 1002, thereby allowing any area among the input areas RDr, RD1, RDu, and RDd in the operation area V to be touched. Fig.24 and Fig.25 As shown, when the touch position P of the finger FG is located in the input area RD, the terminal device 10B receives an instruction for orienting the face of the character CR in a direction that is in the touch panel coordinate system ΣS and corresponds to the input area RD where the touch position P exists. The operation of the terminal device 10B when the touch position P is in the input area RD is similar to the operation of the terminal device 10 according to the first embodiment. Therefore, in the present embodiment, a detailed description of the operation of the terminal device 10B when the touch position P is in the input area RD is omitted.
[0196] Fig.24An example of the appearance of the terminal device 10B when a touch of the input area RDr is implemented is illustrated. Fig.24 In the example shown, the touch position P is in the input region RDr. Therefore, the character CR whose face is facing the +Xs direction is displayed on the touch panel 1002.
[0197] Fig.25 An example of the appearance of the terminal device 10B when a touch of the input area RD1 is implemented is illustrated. Fig.24 In the example shown, the touch position P is in the input region RD1. Therefore, the character CR whose face is facing the +Xs direction is displayed on the touch panel 1002.
[0198] B-2. Configuration of terminal devices
[0199] Below, refer to Fig.26 , a configuration example of the terminal device 10B will be described.
[0200] Fig.26 is a functional block diagram illustrating a configuration example of a terminal device 10B. Figure 5 In addition to the controller 11 shown, the terminal device 10B is Figure 5 The terminal device 10 shown is similar.
[0201] For example, the terminal device 10B includes a controller 11B that controls each element of the terminal device 10B, a display 12 for displaying an image, an input 13 that receives an instruction input from a user of the terminal device 10B, a storage 14 that stores various information, and a vibration generator 15 that causes the terminal device 10B to vibrate.
[0202] The storage 14 stores various information including the following: a program related to a predetermined game, touch position history information, feature position information, and operation area information. In the present embodiment, the operation area information includes not only information indicating the position of the input area RD in the touch panel coordinate system ΣS, but also information indicating the position of the neutral area RN in the touch panel coordinate system ΣS. The vibration generator 15 vibrates the entire terminal device 10B including the touch panel 1002.
[0203] The controller 11B includes a game controller 111, a display controller 112, a touch position information acquirer 113 (an example of an “acquirer”), a feature position determiner 114B (an example of a “feature position determiner”), an operation area determiner 115B (an example of an “arrangement determiner”), and a vibration controller 116. That is, the controller 11B includes the feature position determiner 114B instead of Figure 5 The feature position determiner 114 shown in FIG. 1 and includes an operation area determiner 115B instead of Figure 5The other functions of the controller 11B are similar to those of the operating area determiner 115. Figure 5 The functions of the controller 11 are shown. Therefore, referring to Fig.26 , the description is mainly given for the feature position determiner 114B and the operation area determiner 115B.
[0204] When the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 is in any of the input areas RDr and RD1 in the touch period which is the period in which the user's finger FG remains in contact with the touch panel 1002, the characteristic position determiner 114B determines the characteristic position CP based on the touch position P. The operation area determiner 115B determines the position of the neutral area RN on the touch panel 1002 based on the characteristic position CPr and the characteristic position CP1 determined by the characteristic position determiner 114B. The operation area determiner 115B determines the position of the operation area V on the touch panel 1002 based on the characteristic position CPr and the characteristic position CP1.
[0205] The configuration of the terminal device 10B is not limited to Fig.26 The hardware configuration of the terminal device 10B is similar to Figure 6 The hardware configuration of the terminal device 10 is shown.
[0206] B-3. Relationship between touch position and operation area
[0207] In the following, reference is made to Figures 27 to 30 , 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.
[0208] Figures 27 to 30 1002 and the operation area V set on the touch panel 1002 in the period from time t0 to time t10. Figures 27 to 30 In the example of touch position change shown in FIG. Figures 7 to 10 The time t in the touch position change example shown uses the time t1 and the like regardless of the time t.
[0209] Figures 27 to 30 The illustrated touch position change example assumes a case where a predetermined game is activated at time t0 and a touch-in is made with the finger FG at a touch position P[ t1 ] in the neutral region RN at time t1 as the first touch after activation of the predetermined game. Figures 27 to 30The touch position change example shown and the like assume the following case: from time tn to time t(n+1) (n is a natural number of 1 or more), the finger FG moves from the touch position P[tn] to the touch position P[t(n+1)] while in contact with the touch panel 1002. First, referring to Fig. 27 , an overview of the operation of the terminal device 10B from activation of a predetermined game to entry of the touch position P into the input region RDr will be described.
[0210] Fig. 27 1 is a diagram for illustrating an operation example of the terminal device 10B from activation of a predetermined game to entry of the touch position P into the input region RDr.
[0211] Since the predetermined game is activated at time t0, the operation area determiner 115B sets the operation area coordinate system ΣV[t0] using the predetermined position as the reference position Ov[t0]. Then, the operation area determiner 115B sets the operation area V[t0] including the neutral area RN and the input areas RDr, RDl, RDu, and RDd at a position corresponding to the reference position Ov[t0]. The operation area determiner 115B stores the positions of the neutral area RN and the input area RD included in the operation area V in the storage 14 as the operation area information.
[0212] At time t1, as the initial touch after the activation of the predetermined game, the touch position P[t1] in the neutral region RN is touched by the finger FG. That is, the touch period in which the user's finger FG remains in contact with the touch panel 1002 starts at time t1. The touch position P[t1] is in the neutral region RN. Therefore, the operation region determiner 115B maintains the position of the operation region V[t1] at the same position as the position of the operation region V[t0]. For example, the operation region determiner 115B sets the reference position Ov[t1] and the operation region coordinate system ΣV[t1] so that the operation region V[t1] and the operation region V[t0] are at the same position.
[0213] From time t1 to time t2, the touch position P moves from the touch position P[t1] in the neutral region RN to the touch position P[t2] in the input region RDr. Fig. 27 In the example shown, at time t2, the touch position P enters the input region RDr. That is, the input region touch period TRr during which the touch position P is in the input region RDr starts from time t2.
[0214] In this embodiment, for example, the feature position determiner 114B determines whether to identify the position based on the latest touch position P in the input area RDr as the feature position CPr, or to maintain the current feature position CPr without updating it, based on the touch position P. Then, the feature position determiner 114B determines the feature position CPr according to the determination result. Figures 7 to 10 The “first condition” described in the illustrated touch position change example is used as a condition for updating the feature position CPr.
[0215] exist Fig. 27 In the example shown, the input area touch period TRr starts at time t2. Therefore, at time t2, the touch position P[t2] in the input area touch period TRr is located at the position farthest from the reference position Ov in the +Xv direction. Therefore, the feature position determiner 114B determines the touch position P[t2] as the feature position CPr at time t2.
[0216] At time t2, the characteristic position CPr is recognized, but the characteristic position CP1 is not recognized. Therefore, the operation area determiner 115B 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. Fig.28 , an overview of the operation of the terminal device 10B from recognizing the feature position CPr to the touch position P entering the input area RD1 will be described.
[0217] Fig.28 10B is a diagram for illustrating an example of operation of the terminal device 10B from the recognition feature position CPr to the touch position P entering the input area RD1. Fig.28 Shows Fig. 27 Continuation of the indicated operation.
[0218] 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. Since the touch position P[t3] at time t3 is at a position farther on the +Xv side than the touch position P[t2] in the input area RDr, the first condition is satisfied. Therefore, the feature position determiner 114B determines the touch position P[t3] as the feature position CPr at time t3. In other words, the feature position determiner 114B updates the feature position CPr from the touch position P[t2] to the touch position P[t3] at time t3. In addition, at time t3, the feature position CP1 is not identified. Therefore, the operation area determiner 115B sets the reference position Ov[t3] and the operation area coordinate system ΣV[t3] so that the operation area V[t3] and the operation area V[t2] are at the same position.
[0219] 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. Since the touch position P[t4] at time t4 is located farther on the -Xv side than the characteristic position CPr (touch position P[t3]). In other words, the touch position P[t3] is located farther on the +Xv side than the touch position P[t2] and the touch position P[t4]. Therefore, the characteristic position determiner 114B maintains the state in which the touch position P[t3] is identified as the characteristic position CPr at time t4. In addition, at time t4, the characteristic position CP1 is not identified. Therefore, the operation area determiner 115B sets the reference position Ov[t4] and the operation area coordinate system ΣV[t4] so that the operation area V[t4] and the operation area V[t3] are at the same position.
[0220] From time t4 to time t5, the touch position P moves from the touch position P[t4] in the input region RDr to the touch position P[t5] in the input region RD1. Fig.28 In the example shown, at time t5, the touch position P enters the input region RD1. That is, the input region touch period TR1 during which the touch position P is in the input region RD1 starts from time t5. The input region touch period TRr ends at the time between time t4 and time t5 (the time when the touch position P enters the neutral region RN).
[0221] In the example of this embodiment, the feature position determiner 114B determines whether to identify the position based on the latest touch position P in the input area RD1 as the feature position CPl, or to keep the current feature position CPl without updating it, based on the touch position P. Then, the feature position determiner 114B determines the feature position CPl according to the determination result. For example, Figures 7 to 10 The “second condition” described in the illustrated touch position change example is used as a condition for updating the feature position CP1.
[0222] exist Fig.28 In the example shown, the input area touch period TR1 starts at time t5. Therefore, at time t5, the touch position P[t5] in the input area touch period TR1 is located at the position farthest from the reference position Ov in the -Xv direction. That is, the touch position P[t5] at time t5 satisfies the second condition. Therefore, the feature position determiner 114B determines the touch position P[t5] as the feature position CP1 at time t5.
[0223] In some cases, after the touch position P moves from one input region RD to another input region RD, the touch position P re-enters one input region RD. For example, in some cases, after one input region touch period TRr in which the touch position P is in the input region RDr is completed, another input region touch period TRr in which the touch position P is in the input region RDr starts again. In this case, during the period from the completion of the one input region touch period TRr to the start of the other input region touch period TRr, the characteristic position determiner 114B maintains the determination result of the characteristic position CPr when the one input region touch period TRr is completed. In this case, when the other input region touch period TRr starts, the characteristic position determiner 114B discards the determination result of the characteristic position CP when the one input region touch period TRr is completed. In addition, the characteristic position determiner 114B determines a new characteristic position CP in the other input region touch period TRr. The process of updating the characteristic position CP1 when the touch position P re-enters the input region RDl is similar to the process of updating the characteristic position CPr when the touch position P re-enters the input region RDr.
[0224] In the present embodiment, if the touch position P moves from one input region RD to the neutral region RN and then re-enters the one input region RD without entering another input region RD, the determination result of the characteristic position CP at the completion of the one input region touch period TR is not discarded. In this case, when the touch position P re-enters the one input region RD and another input region touch period TR is started, the characteristic position determiner 114B determines the characteristic position CP based on: the touch position P; and the determination result of the characteristic position CP at the completion of the one input region touch period TR.
[0225] exist Fig.28 In the example shown, the characteristic position determiner 114B determines the touch position P[t3] at time t3 as the characteristic position CPr when the input area touch period TRr is completed. Therefore, also at time t5 after the input area touch period TRr is completed, the storage 14 maintains the characteristic position information indicating the touch position P[t3] as the characteristic position CPr.
[0226] Also in the present embodiment, as described above, the operation region determiner 115B corrects the position of the operation region V based on the characteristic position CPr and the characteristic position CP1. The method of correcting the position of the operation region V is similar to that of the first embodiment.
[0227] 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. Therefore, the operation region determiner 115B corrects the position of the reference position Ov, thereby allowing the position of the neutral region RN to be corrected. In the present embodiment, the size of the neutral region RN (for example, the radius of the circle BDn) is maintained as a predetermined size and does not change before and after the position of the neutral region RN is corrected. When the operation region determiner 115B corrects the position of the operation region V, the determiner updates the operation region information stored in the storage 14 using the positions of the neutral region RN and the input region RD included in the operation region V.
[0228] For example, at time t5, the operation area determiner 115B defines the midpoint between the characteristic position CPr (touch position P[t3]) and the characteristic position CP1 (touch position P[t5]) as the correction position Md[t5]. The operation area determiner 115B also defines an operation area motion vector Vmd[t5] whose starting point is the reference position Ov[t5] and whose end point is the correction position Md[t5]. Then, at Fig.29 At time t6 shown, the operation region determiner 115B corrects the position of the operation region V so that the reference position Ov coincides with the correction position Md[t5].
[0229] In the present embodiment, the method of correcting the reference position Ov is not limited to the method of moving the reference position Ov by an amount corresponding to the operation area motion vector Vmd.
[0230] In the present embodiment, the operation area determiner 115B may define the position defined by the feature position CPr and the feature position CPl as the correction position Md. For example, assuming that the feature position CP first determined between the feature position CPr and the feature position CPl is referred to as the first-recognition feature position, and the feature position subsequently recognized between the feature position CPr and the feature position CPl is referred to as the second-recognition feature position, the operation area determiner 115B may define the position closer to the second-recognition feature position than the first-recognition feature position as the correction position Md. In this example, since the correction position Md is set to the latest touch position P of the adjacent finger FG, the circular neutral area RN with the correction position Md as the center is also set to the adjacent latest touch position P. Therefore, in the case where the correction position Md is set to a position closer to the first-recognition feature position than the second-recognition feature position, the finger FG can move less when changing the touch position P from the input area RD corresponding to the second-recognition feature position to the neutral area RN, compared with the case where the correction position Md is set to a position closer to the first-recognition feature position than the second-recognition feature position. That is, in this example, compared with the case where the correction position Md is set at a position closer to the previous recognition feature position than the later recognition feature position, the operability of moving the finger FG so that the touch position P reciprocates between the input area RDl and the neutral area RN can be well maintained.
[0231] For example, the operation area determiner 115B may define the following position as the correction position Md. Among the positions on the line segment connecting the feature position CPr and the feature position CPl or the positions in the reference area and closer to the post-recognition feature position than the first-recognition feature position, the interval between the position and the post-recognition feature position is equal to or wider than the predetermined reference interval. In this case, it is possible to ensure that the interval between the latest touch position P in the input area RD corresponding to the post-recognition feature position and the neutral area RN is at least the size of the interval defined by the predetermined reference interval and the neutral area RN (e.g., the radius of the circle BDn). Therefore, in this example, compared with the case where the interval between the correction position Md and the post-recognition feature position is less than the predetermined reference interval, the possibility of an accidental operation input when the user accidentally touches the neutral area RN with the finger FG instead of the input area RD intended by the user is reduced. The predetermined reference interval may be defined by the absolute value of the distance, or may be defined by the ratio of the distance between the correction position Md and the post-recognition feature position to the distance between the feature position CPr and the feature position CPl. Next, referring to Fig.29 , an operation outline of the terminal device 10B to repeat the position correction of the operation area V according to the update of the characteristic position CP1 will be described.
[0232] Fig.2914 is a diagram for illustrating an operation example of the terminal device 10B repeating the position correction of the operation area V according to the update of the characteristic position CP1. Fig.29 Shows Fig.28 Continuation of the indicated operation.
[0233] At time t6, the operation area determiner 115 sets the position of the end point of the operation area motion vector Vmd[t5] as the reference position Ov[t6], where the position of the end point refers to the position when the position of the starting point of the operation area motion vector Vmd[t5] is defined as the reference position Ov[t5]. Then, the operation area determiner 115 sets the operation area coordinate system ΣV[t6] so that the reference position Ov[t6] is set as the origin. The operation area determiner 115B sets the operation area V[t6] at a position corresponding to the operation area coordinate system ΣV[t6] at time t6. Then, the operation area determiner 115B updates the operation area information stored in the storage 14 with the positions of the neutral area RN and the input area RD included in the operation area V[t6]. Fig.28 and Fig.29 In the illustrated example, time t6 is a time after time t5 , but time t6 may be the same time as time t5 .
[0234] From time t6 to time t7, the touch position P moves from the touch position P[t5] in the input region RD1 to the touch position P[t7] in the input region RD1. The touch position P[t7] at time t7 is located farther on the -Xv side than the touch position P[t5] in the input region RD1. Therefore, the feature position determiner 114B determines the touch position P[t7] as the feature position CP1 at time t7. In other words, the feature position determiner 114B updates the feature position CP1 from the touch position P[t5] to the touch position P[t7] at time t7.
[0235] At time t7, the operation area determiner 115B defines the midpoint between the characteristic position CPr (touch position P[t3]) and the characteristic position CP1 (touch position P[t7]) as the correction position Md[t7]. The operation area determiner 115B also defines an operation area motion vector Vmd[t7] whose starting point is the reference position Ov[t7] and whose end point is the correction position Md[t7].
[0236] At time t8, the operation area determiner 115B moves the reference position Ov[t7], the operation area coordinate system ΣV[t7], and the operation area V[t7] by an amount of movement corresponding to the operation area motion vector Vmd[t7], thereby setting the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8]. In other words, the operation area determiner 115B sets the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8] so that the reference position Ov[t8] is consistent with the correction position Md[t7]. Fig.29 In the example shown, time t8 is a time after time t7, but time t8 may be the same time as time t7. Fig.30 , an overview of the operation of the terminal device 10B when the touch position P re-enters the input region RDr will be described.
[0237] Fig.30 1 is a diagram for illustrating an operation example of the terminal device 10B when the touch position P re-enters the input region RDr. Note that Fig.30 Shows Fig.29 Continuation of the operations shown in .
[0238] From time t8 to time t9, the touch position P moves from the touch position P[t7] in the input region RD1 toward the touch position P[t9] in the input region RDr. Fig.30 In the example shown, at time t9, the touch position P re-enters the input region RDr. That is, the input region touch period TR1 ends at the time between time t8 and time t9 (the time when the touch position P enters the neutral region RN), and the input region touch period TRr restarts at time t9. Hereinafter, for the sake of explanation, in some cases, the input region touch period TRr starting at time t2 is referred to as the first input region touch period TRr. In some cases, the input region touch period TRr starting at time t9 is referred to as the second input region touch period TRr.
[0239] As described above, in the present embodiment, when the rear input area touch period TRr begins, the characteristic position determiner 114B discards the determination result of the characteristic position CPr when the first input area touch period TRr is completed. In addition, the characteristic position determiner 114B determines a new characteristic position CPr in the rear input area touch period TRr. Therefore, at time t9, the touch position P[t9] is at a position farther on the -Xv side than the touch position P[t3]. The characteristic position determiner 114B determines the touch position P[t9] as the characteristic position CPr. In other words, the characteristic position determiner 114B updates the characteristic position CPr from the touch position P[t3] to the touch position P[t9] at time t9.
[0240] At time t9, the operation area determiner 115B defines the midpoint between the characteristic position CPr (touch position P[t9]) and the characteristic position CP1 (touch position P[t7]) as the correction position Md[t9]. The operation area determiner 115B also defines an operation area motion vector Vmd[t9] having a starting point at the reference position Ov[t9] and an end point at the correction position Md[t9].
[0241] At time t10, the operation area determiner 115B moves the reference position Ov[t9], the operation area coordinate system ΣV[t9], and the operation area V[t9] by an amount of movement corresponding to the operation area motion vector Vmd[t9], thereby setting the reference position Ov[t10], the operation area coordinate system ΣV[t10], and the operation area V[t10]. In other words, the operation area determiner 115B sets the reference position Ov[t10], the operation area coordinate system ΣV[t10], and the operation area V[t10] so that the reference position Ov[t10] is consistent with the correction position Md[t9]. Fig.30 In the illustrated example, time t10 is a time after time t9 , but time t10 may be the same time as time t9 .
[0242] B-4. Operation of terminal device
[0243] Below, refer to Fig.31 , an operation example of the terminal device 10B will be described.
[0244] Fig.31 is a flowchart showing an operation example of the terminal device 10B in the case where the terminal device 10B executes a predetermined game. Fig.11 For example, a series of processing of steps S103 and S105 is similar to that of Fig.11 The series of processing from step S107 to step S120 is similar to the series of processing from step S100 to step S102 in FIG. Fig.11 The series of processing of steps S106 to S120 in FIG. 1 is similar to the series of processing of steps S106 to S120 in FIG. 1. In addition, the series of processing of steps S128, S130 and S132 is similar to the series of processing of steps S106 to S120 in FIG. Fig.11 In the present embodiment, for example, when the user of the terminal device 10B inputs a predetermined start operation for starting a predetermined game through the touch panel 1002, it is assumed that the terminal device 10B starts the predetermined game. After the predetermined game starts, the process of step S101 is executed.
[0245] In step S101, the display controller 112 generates display information for displaying the virtual space SP, the character CR and the operation area V on the display 12, and controls the display 12 to display images based on the display information. The orientation of the face of the character CR and the position of the operation area V are predetermined when a predetermined game starts.
[0246] Next, in step S103, the touch position information acquirer 113 determines whether the touch panel 1002 outputs touch position information. If the determination result in step S103 is negative, the touch position information acquirer 113 advances the process to step S129. On the contrary, if the determination result in step S103 is positive, the touch position information acquirer 113 advances the process to step S105.
[0247] In step S105 , the touch position information acquirer 113 acquires the touch position information output from the touch panel 1002 .
[0248] Next, in step S107, the feature position determiner 114B acquires the operation region information stored in the storage 14, and identifies the positions of the neutral region RN and the input regions RDr, RD1, RDu, and RDd.
[0249] Next, in step S108, the feature position determiner 114B determines whether the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S105 is in any of the input regions RDr, RD1, RDu, and RDd. If the determination result in step S108 is negative, that is, if the latest touch position P exists outside the input region RD (for example, in the neutral region RN), the feature position determiner 114B advances the process to step S129.
[0250] In contrast, if the determination result in step S108 is affirmative, that is, if the latest touch position P exists in any of the input regions RDr, RD1, RDu, and RDd, the feature position determiner 114B advances the process to step S111.
[0251] In step S111 , the vibration controller 116 determines whether the touch position P changes from a state of not existing in the input region RD to a state of existing in the input region RD.
[0252] If the determination result in step S111 is negative, that is, if the latest touch on the touch panel 1002 is not the initial touch in any of the input areas RDr, RD1, RDu, and RDd, the vibration controller 116 advances the process to step S114. On the contrary, if the determination result in step S111 is positive, that is, if the latest touch on the touch panel 1002 is the initial touch in any of the input areas RDr, RD1, RDu, and RDd, the vibration controller 116 advances the process to step S112.
[0253] In step S112, the vibration controller 116 controls the vibration generator 15 so that the vibration generator 15 vibrates the terminal device 10B. Then, the vibration controller 116 advances the process to step S114.
[0254] In step S114, the feature position determiner 114B determines whether the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S105 satisfies the feature position recognition condition. If the determination result in step S114 is negative, that is, if the feature position recognition condition is not satisfied, the feature position determiner 114B advances the process to step S128. Therefore, if the feature position recognition condition is not satisfied, the position of the neutral region RN and the position of the operation region V are not changed and are maintained. On the contrary, if the determination result in step S114 is positive, that is, if the feature position recognition condition is satisfied, the feature position determiner 114B advances the process to step S116.
[0255] In step S116 , the characteristic position determiner 114B determines the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 in step S105 as the characteristic position CP.
[0256] Next, in step S118, the operation area determiner 115B determines whether both the characteristic position CPr and the characteristic position CP1 exist. If the determination result in step S118 is negative, that is, if there is no paired characteristic position CP, the operation area determiner 115B advances the processing to step S128. Therefore, if there is no paired characteristic position CP, the position of the neutral region RN and the position of the operation region V do not change and are maintained. On the contrary, if the determination result in step S118 is positive, that is, if both the characteristic position CPr and the characteristic position CP1 exist, the operation area determiner 115B advances the processing to step S120.
[0257] In step S120, the operation region determiner 115B determines the reference position Ov based on the feature position CPr and the feature position CP1.
[0258] Next, in step S123, the operation area determiner 115B determines the positions of the neutral area RN and 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. It is to be noted that the operation area determiner 115B updates the operation area information stored in the storage 14 with the positions of the neutral area RN and the input area RD determined in step S123. The operation area determiner 115B performs the processing in step S123 and then advances the processing to step S128.
[0259] In step S128, the game controller 111 determines the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS. The game controller 111 performs the processing in step S128 and then advances the processing to step S130. Before describing the processing in step S130, the processing in step S129 to be performed when a touch in the input area RD is not detected will be described.
[0260] In step S129, the game controller 111 performs a non-touch process and advances the process to step S130. Fig.23 As described, the non-touch processing is a processing performed when the finger FG is removed from the touch panel 1002. For example, the non-touch processing refers to a processing that does not change and maintains the direction in which the face of the character CR is facing in the touch panel coordinate system ΣS. Alternatively, the non-touch processing may be a processing that sets the orientation of the face of the character CR in the touch panel coordinate system ΣS to a predetermined orientation. The non-touch processing is not limited to the above example. In the present embodiment, the game controller 111 performs the non-touch processing when the finger FG is removed from the touch panel 1002, but it does not need to perform any specific processing related to the touch of the finger FG. For example, if it is determined in step S103 that the touch panel 1002 does not output the touch position information, the game controller 111 can cause the processing to proceed to step S130 without performing any specific processing. Alternatively, if it is determined in step S108 that the latest touch position P exists outside the input area RD (for example, in the neutral area RN), the game controller 111 can cause the processing to proceed to step S130 without performing any specific processing.
[0261] Therefore, if the finger FG is not in contact with the touch panel 1002 ( S103 : No) or if the touch position P is not in the input region RD ( S108 : No), the positions of the neutral region RN and the operation region V are not changed and are maintained.
[0262] In step S130 , the display controller 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V on the display 12 , and controls the display 12 to display an image based on the display information.
[0263] Next, in step S132, the game controller 111 determines whether the user has input a predetermined end operation for ending the predetermined game through the touch panel 1002. If the determination result in step S132 is negative, the game controller 111 returns the process to step S103 and continues the game. On the contrary, if the determination result in step S132 is positive, the game controller 111 ends the predetermined game.
[0264] according to Fig.31 According to the operation shown in , if the finger FG is not in contact with the touch panel 1002 (S103: No), if the touch position P does not exist in the input area RD (S108: No), if the characteristic position recognition condition is not satisfied (S114: No), or if there is no paired characteristic position CP (S118: No), the operation area determiner 115B does not change but maintains the position of the neutral area RN. In other words, if the paired characteristic position CP is updated, the operation area determiner 115B changes the position of the neutral area RN based on the characteristic position CPr and the characteristic position CP1.
[0265] The operation of the terminal device 10B is not limited to Fig.31 For example, the feature position determiner 114B may determine the feature position CP based on the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 and the touch position P that satisfies the feature position recognition condition in the previous step S114. Fig.28 At time t3 shown, the feature position determiner 114B may determine the average position of touch positions P[t2] and P[t3] as the feature position CPr. For example, the sample in the case of calculating the average position of touch positions P that satisfy the feature position recognition condition until a certain time is a predetermined number (e.g., five) of the latest touch positions P from the certain time. The following touch positions P may be excluded from the samples used to calculate the feature position CP. The touch position P has the maximum and minimum values of the Xv coordinate among the touch positions P that satisfy the feature position recognition condition until a certain time. Alternatively, touch positions P that are a predetermined distance or more from the feature position CP at other times and touch positions P that satisfy the feature position recognition condition at other times may be excluded from the samples used to calculate the feature position CP. In this case, for example, even if the finger FG accidentally moves a lot and returns to the original position, the position of the neutral area RN can be appropriately changed.
[0266] B-5. Summary of implementation methods
[0267] As described above, in the present embodiment, the operation area determiner 115B determines the position of the operation area V including the neutral area RN and the input areas RDr, RD1, RDu, and RDd based on the characteristic position CPr and the characteristic position CP1. Therefore, in the present embodiment, even if the touch position P in the operation area V gradually deviates, the operation area determiner 115B can correct the operation area V (i.e., the neutral area RN and the input area RD) in response to the deviation of the touch position P. Therefore, in the present embodiment, for example, compared with the case where the position of the operation area V (i.e., the neutral area RN and the input area RD) is fixed on the touch panel 1002, the possibility of an unexpected input due to the deviation of the touch position P is reduced.
[0268] Generally, there is a high possibility that the relative positional relationship between two feature positions CP as feature position CPr and feature position CPl and the interval between two feature positions CP as feature position CPr and feature position CPl are defined based on the shape and size of the finger FG in contact with the touch panel 1002 and the touching method of each user (such as the pressure with which the user's finger FG starts to contact the touch panel 1002 and the movement method of the finger FG).
[0269] In contrast, in the present embodiment, the operation area determiner 115B determines the position of the operation area V including the neutral area RN, the input area RDr, and the input area RDl based on two characteristic positions CP as the characteristic position CPr and the characteristic position CPl. Furthermore, in the present embodiment, the neutral area RN is arranged between the input area RDr and the input area RDl. Therefore, in the present embodiment, for example, compared with the case where the position of the neutral area RN is defined based on one characteristic position CP, the operation area V including the neutral area RN, the input area RDr, and the input area RDl can be set at a position taking into account the touch pattern of each user. As a result, in the present embodiment, for example, compared with the case where the position of the neutral area RN is defined based on one characteristic position CP, the operability of the operation of touching the neutral area RN and the input area RD with the finger FG can be well maintained for any user.
[0270] In a certain type of game, the frequency of input in one direction related to the game is greater than the frequency of input in other directions related to the game. For example, in a predetermined game, the frequency of input indicated by the Xs direction is greater than the frequency of input indicated by the Ys direction. In this case, determining the position of the neutral area RN based on the touch position P related to the input of the indication with a low frequency increases the possibility that the neutral area RN is set at a position that does not correspond to the time deviation of the position of the user's finger FG.
[0271] In contrast, in the present embodiment, the operation region determiner 115B determines the position of the neutral region RN based on the touch position P that is in the input region RDr and the input region RDl and corresponds to the input indicated by the Xs direction. Therefore, in the present embodiment, when the input frequency indicated by the Xs direction is greater than the input frequency indicated by the Ys direction, the operation region V is more likely to be set at a position that appropriately corresponds to the deviation of the touch position P than when the position of the neutral region RN is determined based on the touch position P that is in the input region RDu and the input region RDd and corresponds to the input indicated by the Ys direction.
[0272] In the example of the present embodiment, the operation area determiner 115B defines the area obtained by excluding the neutral area RN from the fan-shaped area extending from the reference position Ov as the center of the neutral area RN in the +Xv direction as the input area RDr. In addition, the operation area determiner 115B defines the area obtained by excluding the neutral area RN from the fan-shaped area extending from the reference position Ov in the -Xv direction as the input area RDl. Therefore, in the present embodiment, for example, when the user touches the touch panel 1002 with the finger FG, the user touches the neutral area RN with the finger FG and tilts it in the +Xv direction, thereby allowing the input area RDr to be touched. In addition, the user touches the neutral area RN with the finger FG and tilts it in the -Xv direction, thereby allowing the input area RDl to be touched. That is, in the present embodiment, for example, when the user touches the touch panel 1002 with the finger FG, the user can touch two input areas RD, that is, the input area RDr and the input area RDl, without moving the finger FG away from the touch panel. Therefore, in this embodiment, compared to the example case in which the finger is required to leave the touch panel between a touch in the input area RDr and a touch in the input area RDl, the user can easily switch between an operation for inputting an indication in the first operation direction and an operation for inputting an indication in the second operation direction.
[0273] B-6. Modification of the Second Embodiment
[0274] Various modifications can be made to the above-mentioned modes. The modes of specific modifications will be exemplified below. Two or more modes freely selected from the following examples can be appropriately combined within a certain range as long as they do not conflict. In the modifications exemplified below, elements having operations and functions equivalent to those in the embodiments are also assigned the symbols cited in the above description, and the detailed description of these elements is appropriately omitted. The detailed description of the modifications similar to the modifications exemplified in the first embodiment is also appropriately omitted.
[0275] Modification B1
[0276] In the above-described embodiment, the size of the neutral region RN (e.g., the radius of the circle BDn defining the neutral region RN) is maintained as a predetermined size and does not change before and after the position of the neutral region RN is corrected. However, the present invention is not limited to such an aspect. For example, the operation region determiner 115B may determine the size of the neutral region RN based on at least one of the feature position CPr and the feature position CP1. As a method of determining the size of the neutral region RN, refer to Figure 32 to Figure 34 Three examples are described. The method of determining the size of the neutral region RN is not limited to Figure 32 to Figure 34 The three examples shown in .
[0277] Fig.32 An operation example of the terminal device 10B according to the modification B1 is illustrated. Fig.32 An example of a touch position change example according to modification B1 is shown. Fig.32 In the example of touch position change shown, the terminal device 10B determines the size of the neutral region RN so as to keep the distance Wnr between the characteristic position CPr and the neutral region RN constant. Fig.32 In the example shown, the distance Wnr between the feature position CPr and the neutral region RN refers to the distance from the boundary line between the neutral region RN and the input region RDr (the circle BDn defining the neutral region RN) to the feature position CPr on the connecting line of the feature position CPr and the center of the neutral region RN. Hereinafter, 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]. The distance Wnr between the feature position CPr and the neutral region RN and the distance Wnl between the feature position CPl and the neutral region RN are also referred to as the distance Wn without specific distinction from each other. Fig.32 The times t20, t21, and t22 shown are included in the input area touch period TRr. Hereinafter, the operation of the terminal device 10B will be described, assuming that in the input area touch period TRr including the time t20, etc., at the time t18 (not shown) before the time t20, the touch position P[t18] is determined as the characteristic position CP.
[0278] Based on the characteristic position CPr (touch position P[t18]) and the characteristic position CP1, from time t19 (not shown) when the operation area V is set, etc. to time t20, the touch position P moves from the touch position P[t18] in the input area RDr to the touch position P[t20] in the input area RDr. The touch position P[t20] at time t20 is at a position farther than the characteristic position CPr (touch position P[t18]) on the -Xv side. Therefore, the characteristic position determiner 114B maintains the state in which the touch position P[t18] is recognized as the characteristic position CPr at time t20. At time t20, the characteristic position CPr is not updated. Therefore, the operation area determiner 115B maintains the position of the operation area V[t20] including the neutral area RN without changing. At time t20, the distance Wnr[t20] between the characteristic position CPr (touch position P[t18]) and the neutral area RN is the predetermined distance DIS.
[0279] From time t20 to time t21, the touch position P moves from the touch position P[t20] in the input region RDr to the touch position P[t21] in the input region RDr. Since the touch position P[t21] at time t21 is located farther on the +Xv side than the characteristic position CPr (touch position P[t18]), the characteristic position determiner 114B determines the touch position P[t21] as the characteristic position CPr at time t21. In other words, the characteristic position determiner 114B updates the characteristic position CPr from the touch position P[t18] to the touch position P[t21] at time t21.
[0280] At time t21, the operation area determiner 115B defines the midpoint between the characteristic position CPr (touch position P[t21]) and the characteristic position CP1 as the correction position Md[t21]. The operation area determiner 115B also defines an operation area motion vector Vmd[t21] whose starting point is the reference position Ov[t21] and whose end point is the correction position Md[t21].
[0281] At time t22, the operation area determiner 115B moves the reference position Ov[t21], the operation area coordinate system ΣV[t21], and the operation area V[t21] by the movement amount corresponding to the operation area motion vector Vmd[t21], thereby setting the reference position Ov[t22], the operation area coordinate system ΣV[t22], and the operation area V[t22]. In other words, the operation area determiner 115B sets the reference position Ov[t22], the operation area coordinate system ΣV[t22], and the operation area V[t22] so that the reference position Ov[t22] coincides with the correction position Md[t21].
[0282] At time t22, the operation area determiner 115B determines the size of the neutral area RN so that the distance Wnr[t22] between the feature position CPr (touch position P[t21]) and the neutral area RN can be the distance DIS. For example, the operation area determiner 115B sets the value obtained by subtracting the distance DIS from the distance between the feature position CPr (touch position P[t21]) and the reference position Ov[t22] (the center of the neutral area RN) as the radius r[t22] of the circle BDn that defines the neutral area RN. As a result, even when the position of the neutral area RN is corrected by updating the feature position CPr, the distance Wnr between the feature position CPr and the neutral area RN remains the distance DIS. Fig.32 The dotted circle in the neutral region RN shown in represents the neutral region RN when the size of the neutral region RN is constant. Fig.32 In the illustrated example, time t22 is a time after time t21 , but time t22 may be the same time as time t21 .
[0283] exist Fig.32 In the example shown, even when the feature position CP is updated, the distance Wn (e.g., distance Wnr) between the feature position CP and the neutral region RN is maintained at the distance DIS. Therefore, when the user moves the finger FG from the neutral region RN to the input region RD, the touch position P is returned to the neutral region RN by returning the finger FG by a constant amount corresponding to the distance DIS. Fig.32 In the illustrated example, compared with a case where the size of the neutral region RN is constant, the operation of returning the touch position P to the neutral region RN can be facilitated.
[0284] The operation region determiner 115B does not need to execute the operation region determiner 115B in the period after the predetermined game is activated and before the touch position P at least the distance DIS from the neutral region RN is detected. Fig.32 Alternatively, the feature position determiner 114B may set the position at a distance DIS from the neutral region RN as the initial value of the feature position CP when a predetermined game is activated. The operation region determiner 115B may set the following distance (e.g., Fig.35 The distances Wxr and Wxl shown in FIG. 1 are set as the distance Wn between the feature position CP and the neutral region RN. The distance is represented by the difference between the Xv coordinate of the feature position CP in the operation region coordinate system ΣV and the intersection of the circle BDn defining the neutral region RN and the Xv axis.
[0285] Fig.33 Another operation example of the terminal device 10B according to modification B1 is illustrated. Fig.33An example of a touch position change example according to modification B1 is shown. Fig.33 In the touch position change example shown, the terminal device 10B changes the distance Wnr between the characteristic position CPr and the neutral area RN according to the distance DCP between the characteristic position CPr and the characteristic position CPl. Fig.33 The operation of the terminal device 10B at times t20 and t21 is shown to be similar to Fig.32 The operation shown in FIG. 1 is the same as that shown in FIG. 1 . Therefore, its description is omitted. In the following, the distance DCP at time t is also referred to as the distance DCP[t]. Fig.33 In the illustrated example, time t22 is a time after time t21 , but time t22 may be the same time as time t21 .
[0286] At time t22, the operation region determiner 115B sets the reference position Ov[t22], the operation region coordinate system ΣV[t22], and the operation region V[t22] so that the reference position Ov[t22] coincides with the correction position Md[t21], as shown in Fig.32 shown.
[0287] At time t22, the operation area determiner 115B determines the size of the neutral area RN so that the distance Wnr[t22] between the feature position CPr (touch position P[t21]) and the neutral area RN is a distance based on the distance DCP[t22] between the feature position CPr (touch position P[t21]) and the feature position CPl. The distance Wnr between the feature position CPr and the neutral area RN increases as the distance DCP between the feature position CPr and the feature position CPl increases.
[0288] For example, the operation area determiner 115B calculates the distance Wnr[t22] between the feature position CPr (touch position P[t21]) and the neutral area RN based on the distance DCP[t22] between the feature position CPr (touch position P[t21]) and the feature position CPl. Then, the operation area determiner 115B sets the value obtained by subtracting the distance Wnr[t22] from the distance between the feature position CPr (touch position P[t21]) and the reference position Ov[t22] (the center of the neutral area RN) as the radius r[t22] of the circle BDn defining the neutral area RN. As a result, when the position of the neutral area RN is corrected by the update of the feature position CPr, the distance Wnr between the feature position CPr and the neutral area RN is set to the distance according to the updated distance DCP between the feature position CPr and the feature position CPl. Fig.33The dashed circle surrounding the neutral region RN shown represents the neutral region RN when the distance Wnr between the feature position CPr and the neutral region RN is maintained at the distance DIS. The distance DCP[t22] between the feature position CPr (touch position P[t21]) and the feature position CP1 is greater than the distance DCP[t20] between the touch position P[t18] (the feature position CPr that has not been updated) and the feature position CP1. Therefore, the distance Wnr[t22] between the feature position CPr (touch position P[t21]) and the neutral region RN is greater than the distance Wnr[t20] between the touch position P[t18] (the feature position CPr that has not been updated) and the neutral region RN at time t20.
[0289] When the distance DCP between the feature position CPr and the feature position CPl increases, it is assumed that the finger FG moves a large amount. When the finger FG moves a large amount, the finger FG slightly returns to the neutral region RN side in some cases. In this case, if the distance Wn between the feature position CP and the neutral region RN is small, the touch position P to be present in the input region RD moves to the neutral region RN, which may cause an unexpected operation input.
[0290] Therefore, in Fig.33 In the example shown, 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 region RN increases. This can prevent the touch position P in the input region RD from moving into the neutral region RN. As a result, the possibility of causing an unexpected operation input is reduced.
[0291] exist Fig.33 In the example shown, as the distance DCP between the feature position CPr and the feature position CPl increases, the distance Wn between the feature position CP and the neutral region RN increases, which can prevent the neutral region RN from excessively increasing. For example, in the case where the finger FG moves from one of the input regions RDr and RDl to the other, excessive increase in the neutral region RN increases the movement amount (operation amount) of the finger FG and sometimes reduces operability. Fig.33 In the illustrated example, the neutral region RN is prevented from excessively increasing, which can prevent operability from being deteriorated.
[0292] The operation region determiner 115B does not need to execute the operation region determiner 115B in the period after the predetermined game is activated and before the touch position P whose distance from the neutral region RN is at least the predetermined minimum distance is detected. Fig.33 Alternatively, the feature position determiner 114B sets the position at the minimum distance from the neutral region RN as the initial value of the feature position CP when a predetermined game is activated.
[0293] When setting the initial value of the feature position CP, the distance Wn between the feature position CP and the neutral area RN can be calculated based on any one of the following equations (1), (2) and (3), or based on a formula different from equations (1), (2) and (3).
[0294] Wn=Wint(1+(DCP-Dint) / (Dmax-Dint)*α)...(1)
[0295] Wn=Wint*DCP / Dint...(2)
[0296] Wn=DCP*β...(3)
[0297] In formula (1) and formula (2), "Wint" represents the distance between the feature position CP and the neutral area RN when the predetermined game is activated (the initial value of the distance Wn). "Dint" represents the distance between the feature position CPr and the feature position CPl when the predetermined game is activated (the initial value of the distance DCP). In formula (1), "Dmax" represents the maximum value among the possible values of the distance DCP. "α" represents a constant set to a positive real number. "β" in formula (3) represents a constant set to a real number greater than 0 and less than 0.5. When the initial value of the feature position CP is not set, formula (3) can be used.
[0298] The operation area determiner 115B may calculate the following distances (eg, Fig.35 The distances Wxr and Wxl shown in FIG. 1 are set as the distance Wn between the feature position CP and the neutral region RN. The distance is represented by the difference between the Xv coordinate of the feature position CP in the operation region coordinate system ΣV and the intersection of the circle BDn defining the neutral region RN and the Xv axis.
[0299] Fig.34 Another operation example of the terminal device 10B according to modification B1 is illustrated. Fig.34 An example of a touch position change example according to modification B1 is shown. Fig.34 In the touch position change example shown, the terminal device 10B changes the radius r of the circle BDn defining the neutral area RN (i.e., the size of the neutral area RN) according to the distance DCP between the feature position CPr and the feature position CPl. In addition to the feature positions CPr and CPl and the touch positions P[t18], P[t20], and P[t21], Fig.34 The operation of the terminal device 10B at times t20 and t21 is shown to be similar to Fig.32 The operation shown in FIG. 1 is the same as that shown in FIG. 1 . Therefore, its detailed description is omitted. Fig.34In the illustrated example, time t22 is a time after time t21 , but time t22 may be the same time as time t21 .
[0300] At time t20, the touch position P[t20] at time t20 is located farther on the -Xv side than the characteristic position CPr (touch position P[t18]). Therefore, the positions of the characteristic position CPr and the operation area V[t20] do not change and are maintained.
[0301] At time t21, the touch position P[t21] is located farther from the characteristic position CPr (touch position P[t18]) on the +Xv side. Therefore, the characteristic position determiner 114B updates the characteristic position CPr from the touch position P[t18] to the touch position P[t21]. The operation area determiner 115B defines 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 determiner 115B defines the operation area motion vector Vmd[t21] whose starting point is the reference position Ov[t21] and whose end point is the correction position Md[t21].
[0302] At time t22, the operation region determiner 115B sets the reference position Ov[t22], the operation region coordinate system ΣV[t22], and the operation region V[t22] so that the reference position Ov[t22] coincides with the correction position Md[t21], as shown in Fig.32 shown.
[0303] At time t22, the operation area determiner 115B determines the radius r[t22] of the circle BDn defining the neutral area RN (i.e., the size of the neutral area RN) based on the distance DCP[t22] between the feature position CPr (touch position P[t21]) and the feature position CPl. As the distance DCP between the feature position CPr and the feature position CPl increases, the radius r of the circle BDn defining the neutral area RN increases.
[0304] For example, the operation area determiner 115B 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 feature position CPr and the feature position CPl does not change before and after the position of the neutral area RN is corrected. In this case, the ratio of the radius r[t22] of the circle BDn to the distance DCP[t22] between the feature position CPr (touch position P[t21]) and the feature position CPl is the same as the ratio of the radius r[t20] of the circle BDn to the distance DCP[t20] between the touch position P[t18] (the feature position CPr that has not been updated yet) and the feature position CPl. Fig.34The dotted circle in the neutral region RN shown in the figure represents 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 greater than the distance DCP[t20] between the touch position P[t18] (characteristic position CPr that has not been updated) and the characteristic position CPl. Therefore, the radius r[t22] of the circle BDn is greater than the radius r[t20] of the circle BDn.
[0305] exist Fig.34 In the example shown, the radius r of the circle BDn defining the neutral region RN (i.e., the size of the neutral region RN) is changed according to the distance DCP between the feature position CPr and the feature position CP1, which can prevent the neutral region RN from being excessively enlarged and can prevent operability from being reduced. Fig.32 In the method shown in FIG. 1 for maintaining the distance Wn between the characteristic position CP and the neutral region RN at the distance DIS, the distance DCP between the characteristic position CPr and the characteristic position CPl increases, and thus the ratio of the radius r of the circle BDn to the distance DCP increases. Fig.32 The method shown helps return the touch position P to the neutral region RN. However, an increase in the distance DCP between the feature position CPr and the feature position CP1 sometimes causes the neutral region RN to have a size that reduces operability.
[0306] On the contrary, Fig.34 In the example shown, the ratio of the radius r of the circle BDn to the distance DCP between the characteristic position CPr and the characteristic position CP1 is maintained at a predetermined value. Therefore, it is possible to prevent the neutral region RN from having a size that reduces operability. Fig.34 In the illustrated example, the neutral region RN can be prevented from excessively increasing, which can prevent operability from being reduced.
[0307] In this modification, an upper limit value may be predetermined for the size of the neutral region RN to prevent the neutral region RN from having a size that reduces operability. For example, there is a case where the size of the neutral region RN calculated based on at least one of the feature position CPr and the feature position CP1 exceeds a predetermined upper limit value. In this case, the operation region determiner 115B may determine the size of the neutral region RN as the upper limit value.
[0308] In this modification, a lower limit value may be predetermined to prevent the neutral region RN from having a size that reduces operability. For example, there is a case where the size of the neutral region RN calculated based on at least one of the feature position CPr and the feature position CP1 is smaller than a predetermined lower limit value. In this case, the operation region determiner 115B may determine the size of the neutral region RN as the lower limit value.
[0309] As described above, in this modification, the operation area determiner 115B determines the size of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CP1. Therefore, in this modification, for example, the operability is improved compared to the case where the size of the neutral area RN is fixed.
[0310] Modification B2
[0311] In the above-described embodiment, the position of the neutral region RN is determined using the correction position Md. However, the present invention is not limited to such an aspect. For example, the operation region determiner 115B may determine the position of the neutral region RN based on at least one of the feature position CPr and the feature position CP1. Fig.35 An example of a method of determining the position of the neutral region RN based on at least one of the characteristic position CPr and the characteristic position CP1 is described. However, the method of determining the position of the neutral region RN is not limited to Fig.35 Example shown.
[0312] Fig.35 An operation example of the terminal device 10B according to modification B2 is illustrated. Fig.35 An example of a touch position change example according to modification B2 is shown. Fig.35 In the touch position change example shown, the terminal device 10B determines the position of the neutral area RN to keep the distance Wxr constant. The distance Wxr is represented by the difference between the Xv coordinate of the characteristic position CPr in the operating area coordinate system ΣV and the intersection between the circle BDn and the Xv axis defining the neutral area RN. In the following, the distance Wxr at time t is also referred to as the distance Wxr[t]. In the operating area coordinate system ΣV, the distance Wxl and the distance Wxr are also referred to as the distance Wx without special distinction from each other. Here, the distance Wxl is represented by the difference between the Xv coordinate of the characteristic position CP1 and the intersection between the circle BDn and the Xv axis defining the neutral area RN. Fig.35 The operation of the terminal device 10B at time t20 is shown to be similar to Fig.32 The operation shown in FIG. 1 is the same as that shown in FIG. 1 . Therefore, its description is omitted. In addition to the method of calculating the operation area motion vector Vmd, Fig.35 The operation of the terminal device 10B at time t21 is shown to be similar to Fig.32 Therefore, the method of calculating the operation area motion vector Vmd will be mainly described. Fig.35 In the illustrated example, time t22 is a time after time t21 , but time t22 may be the same time as time t21 .
[0313] At time t21, the touch position P[t21] is located farther from the +Xv side than the characteristic position CPr (touch position P[t18]). Therefore, the characteristic position determiner 114B updates the characteristic position CPr from the touch position P[t18] to the touch position P[t21]. The operation area determiner 115B defines a vector obtained by taking only the Xv component from a vector whose starting point is the characteristic position CPr (touch position P[t18]) and whose end point is the updated characteristic position CPr (touch position P[t21]) as the operation area motion vector Vmd[t21].
[0314] At time t22, the operation area determiner 115B moves the reference position Ov[t21], the operation area coordinate system ΣV[t21], and the operation area V[t21] by the movement amount corresponding to the operation area motion vector Vmd[t21], thereby setting the reference position Ov[t22], the operation area coordinate system ΣV[t22], and the operation area V[t22]. As a result, the distance Wxr[t22] after the position of the neutral area RN is moved is maintained as the distance DISx, which is the same as the distance Wxr[t20] before the position of the neutral area RN is moved. That is, the operation area determiner 115B sets the neutral area RN and the operation area V so that the distance Wx determined by the updated feature position CP and the neutral area RN is maintained as the distance DISx.
[0315] exist Fig.35 In the example shown, the neutral region RN moves by an amount corresponding to the operating region motion vector Vmd obtained by taking only the Xv component from a vector starting at the feature position CPr that has not been updated and ending at the updated feature position CPr. Therefore, the center of the neutral region RN is the midpoint between the feature position CPr and the feature position CP1 ( Fig.35 Therefore, the center of the neutral region RN is not consistent with the midpoint between the feature position CPr and the feature position CPl ( Fig.35 That is, the center of the neutral region RN does not need to be consistent with the midpoint between the feature position CPr and the feature position CPl ( Fig.35 Hereinafter, a vector whose starting point is a feature position CP that has not been updated and whose end point is an updated feature position CP is also referred to as a motion vector of the feature position CP.
[0316] Even if the position of the neutral region RN is determined without using the correction position Md, the center of the neutral region RN may be aligned with the midpoint between the feature position CPr and the feature position CP1 ( Fig.35For example, the operation area determiner 115B may determine a vector whose components are half of the Xv component and the Yv component of the motion vector of the feature position CPr as the operation area motion vector Vmd[t21].
[0317] The operation area determiner 115B may determine the motion vector of the feature position CPr as the operation area motion vector Vmd[t21]. In this case, the positional relationship between the feature position CPr and the neutral region RN is maintained before and after the position of the neutral region RN is corrected. The operation area determiner 115B may adjust the size of the neutral region RN. For example, the operation area determiner 115B may adjust the size of the neutral region RN so that the midpoint between the feature position CPr and the feature position CP1 is outside the neutral region RN.
[0318] and Fig.33 Similar to the example shown, the operation area determiner 115B may change the distance Wx determined by the feature position CP and the neutral region RN according to the distance DCP between the feature position CPr and the feature position CPl. In this case, for example, the size of the operation area motion vector Vmd may be smaller than the size of the Xv component of the motion vector of the feature position CP. In the case where the distance Wx changes according to the distance DCP, the operation area determiner 115B may maintain the radius r of the circle BDn defining the neutral region RN (the size of the neutral region RN) to a predetermined size. Alternatively, the operation area determiner 115B may change the radius according to the distance DCP between the feature position CPr and the feature position CPl. In the example case where the distance Wx and the radius r of the circle BDn are changed according to the distance DCP between the feature position CPr and the feature position CPl, the operation area determiner 115B sets the increase amount of the radius r of the circle BDn within a range not exceeding a certain value. The value is obtained by subtracting the size of the operation area motion vector Vmd from the size of the Xv component of the motion vector of the feature position CP.
[0319] As described above, in this modification, the operation area determiner 115B determines the position of the neutral area RN based on at least one of the characteristic position CPr and the characteristic position CP1, without calculating the correction position Md. Therefore, similar to the above-mentioned embodiment and modification B1, in this modification as well, the possibility of an unexpected input due to a deviation of the touch position P is reduced compared to the case where the position of the neutral area RN is fixed on the touch panel 1002. In this modification, the correction position Md is not calculated. Therefore, compared to the case where the correction position Md is calculated, the processing can be simplified.
[0320] Modification B3
[0321] In the above-described embodiment, the characteristic position determiner 114B determines the characteristic position CPr based on the touch position P present in the input region RDr, and determines the characteristic position CP1 based on the touch position P present in the input region RD1, and the operation region determiner 115B defines the position of the operation region V in the direction including the +Xv direction and the -Xv direction, and the position of the operation region V in the direction including the +Yv direction and the -Yv direction based on the characteristic position CPr and the characteristic position CP1. However, the present invention is not limited to such an aspect.
[0322] Although the reference Fig.36 and Fig.37 As described in detail, for example, in addition to the feature position CPr and the feature position CP1, the feature position determiner 114B can also determine the feature position CPu based on the touch position P present in the input area RDu. In addition, the feature position determiner 114B can determine the feature position CPd based on the touch position P present in the input area RDd.
[0323] For example, the feature position determiner 114B may determine whether to identify the position based on the latest touch position P in the input area RDu as the feature position CPu, or to maintain the current feature position CPu without updating. The feature position determiner 114B may then determine the feature position CPu based on the determination result. Alternatively, the feature position determiner 114B may determine, based on the touch position P, whether to identify the position based on the latest touch position P in the input area RDd as the feature position CPd, or to maintain the current feature position CPd without updating. The feature position determiner 114B may then determine the feature position CPd based on the determination result. Modification B3 is similar to modification A1, except that a neutral area RN is included in the operation area V. Referring to Fig.36 and Fig.37 , a touch position change example according to the present modification will be described.
[0324] Fig.36 An operation example of the terminal device 10B according to modification B3 is illustrated. Fig.36 An example of a touch position change example according to modification B3 is shown. Fig.36 The touch position change example shown shows an operation example of the terminal device 10B in the case of determining the position of the operation area V in the direction including the +Xv direction and the -Xv direction. Assume that the period from time t0 to time t4 in the touch position change example according to the present modification is the same as that according to Fig. 27 and Fig.28 The time period in the touch position change example of the embodiment shown is similar. In addition to the method of calculating the operation area motion vector Vmd, Fig.36The operation of the terminal device 10B at time t5 is shown to be similar to Fig.28 Therefore, regarding the operation of the terminal device 10B at time t5, the method of calculating the operation area motion vector Vmd will be mainly described.
[0325] From time t4 to time t5, the touch position P moves from the touch position P[t4] in the input region RDr to the touch position P[t5] in the input region RDl. At time t5, the touch position P enters the input region RDl, and the input region touch period TRl begins. In the input region touch period TRl starting from 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 feature position determiner 114B determines the touch position P[t5] as the feature position CP1.
[0326] At time t5, the operation area determiner 115B defines the midpoint between the feature position CPr and the feature position CP1 as the correction position Md[t5]. The operation area determiner 115B also defines the following vector as the operation area motion vector Vmd[t5], which is obtained by taking only the Xv component from the vector whose starting point is the reference position Ov[t5] and whose end point is the correction position Md[t5].
[0327] At time t6, the operation area determiner 115B moves the reference position Ov[t5], the operation area coordinate system ΣV[t5], and the operation area V[t5] by the movement amount corresponding to the operation area motion vector Vmd[t5], thereby setting the reference position Ov[t6], the operation area coordinate system ΣV[t6], and the operation area V[t6]. That is, the operation area determiner 115B moves the neutral area RN by the movement amount corresponding to the operation area motion vector Vmd[t5]. In the touch position change example according to the present modification, time t6 is the time after time t5, but time t6 may be the same time as time t5. Next, referring to Fig.37 , will describe Fig.36 Continuation of the indicated operation.
[0328] Fig.37 An operation example of the terminal device 10B according to modification B3 is illustrated. Fig.37 An example of a touch position change example according to modification B3 is shown. Fig.37 The illustrated touch position change example shows an operation example of the terminal device 10B in the case of determining the position of the operation area V in the directions including the +Yv direction and the −Yv direction.
[0329] From time t6 to time t7, the touch position P moves from the touch position P[t5] in the input region RD1 to the touch position P[t7] in the input region RDu. At time t7, the touch position P enters the input region RDu, and the input region touch period TRu begins. In the input region touch period TRu starting from time t7, the touch position P[t7] is located at the position farthest from the reference position Ov in the +Yv direction. Therefore, at time t7, the feature position determiner 114B determines the touch position P[t7] as the feature position CPu.
[0330] Subsequently, from time t7 to time t8, the touch position P moves from the touch position P[t7] in the input region RDu to the touch position P[t8] in the input region RDd. The input region touch period TRu ends at the time between time t7 and time t8 (the time when the touch position P enters the input region RDl). The input region touch period TRd starts at the time between time t7 and time t8 (the time when the touch position P enters the input region RDd).
[0331] At time t8, the touch position P[t8] in the input area touch period TRd is located at the position farthest from the reference position Ov in the -Yv direction. Therefore, at time t8, the feature position determiner 114B determines the touch position P[t8] as the feature position CPd.
[0332] At time t8, the operation area determiner 115B defines the midpoint between the feature position CPu and the feature position CPd as the correction position Md[t8]. The operation area determiner 115B also defines a vector obtained by taking only the Yv component from a vector whose starting point is the reference position Ov[t8] and whose end point is the correction position Md[t8] as the operation area motion vector Vmd[t8].
[0333] At time t9, the operation area determiner 115B moves the reference position Ov[t8], the operation area coordinate system ΣV[t8], and the operation area V[t8] by the movement amount corresponding to the operation area motion vector Vmd[t8], thereby setting the reference position Ov[t9], the operation area coordinate system ΣV[t9], and the operation area V[t9]. That is, the operation area determiner 115B moves the neutral area RN by the movement amount corresponding to the operation area motion vector Vmd[t8]. In the touch position change example according to the present modification, time t9 is the time after time t8, but time t9 may be the same time as time t8.
[0334] In this variant example, by a method similar to the above-mentioned variant example B1, the operation area determiner 115B can change the size of the neutral area RN according to one of the distance between the feature position CPr and the feature position CP1 in the direction along the Xv axis and the distance between the feature position CPu and the feature position CPd in the direction along the Yv axis.
[0335] When the expansion / contraction ratio of the size of the neutral region RN is different between the direction along the Xv axis and the direction along the Yv axis, the shape of the neutral region RN is an ellipse. The position adjustment of the neutral region RN along the Yv axis is not performed. That is, the position of the neutral region RN in the direction along the Yv axis may be fixed. The direction along the Xv axis is the +Xv direction or the -Xv direction, and the direction along the Yv axis is the +Yv direction or the -Yv direction.
[0336] As described above, in this modification, the operation area determiner 115B determines the position of the neutral area RN in the direction along the Xv axis based on the touch position P present in the input area RDr and the input area RDl. In addition, the operation area determiner 115B determines the position of the neutral area RN in the direction along the Yv axis based on the touch position P present in the input area RDu and the input area RDd. Therefore, in this embodiment, for example, compared with the case where the position of the neutral area RN is fixed on the touch panel 1002, the possibility of an unexpected input due to a deviation of the touch position P is reduced.
[0337] Modification B4
[0338] In the above-described embodiment, the inclination of the operation area coordinate system ΣV relative to the touch panel coordinate system ΣS is unchanged. However, the present invention is not limited to such an aspect. For example, the operation area determiner 115B may change the inclination of the operation area coordinate system ΣV relative to the touch panel coordinate system ΣS based on the feature position CP. Modification B4 is similar to Modification A2 except that the neutral area RN is included in the operation area V.
[0339] Fig.38 An operation example of the terminal device 10B according to modification B4 is illustrated. Fig.38 An example of a touch position change example according to modification B4 is shown. Fig.38 The touch position change example shown shows an operation example of the terminal device 10B in the case where the inclination of the operation area coordinate system ΣV relative to the touch panel coordinate system ΣS changes. Assume that the period from time t0 to time t4 in the touch position change example according to the present modification is the same as that according to Fig. 27 and Fig.28 The time periods in the touch position change examples of the illustrated embodiment are similar. Fig.38The operation of the terminal device 10B at time t5 is shown to be similar to Fig.28 The operations shown are the same. Therefore, the description thereof is omitted.
[0340] At time t6, the operation area determiner 115B moves the reference position Ov[t5], the operation area coordinate system ΣV[t5] and the operation area V[t5] by an amount corresponding to the operation area motion vector Vmd[t5], thereby setting the reference position Ov[t6], the operation area coordinate system ΣV[t6] and the operation area V[t6].
[0341] Subsequently, at time t7, the operation region determiner 115B defines the direction from the correction position Md[t5] to the feature position CPr as the +Xv direction. In addition, the operation region determiner 115B defines the direction from the correction position Md[t5] to the input region RDu and orthogonal to the direction from the correction position Md[t5] to the feature position CPr as the +Yv direction, thereby setting the operation region coordinate system ΣV[t7]. As a result, at Fig.38 In the example shown, the Xv axis and the Yv axis of the operation area coordinate system ΣV[t7] are tilted by γ degrees relative to the Xv axis and the Yv axis of the operation area coordinate system ΣV[t6]. At time t7, the operation area determiner 115B sets the neutral area RN and the input areas RDr, RDl, RDu and RDd at positions based on the operation area coordinate system ΣV[t7].
[0342] Specifically, at time t7, the operation area determiner 115B sets the neutral area RN centered at the reference position Ov, the input area RDr farther than the neutral area RN in the +Xv direction, the input area RDl farther than the neutral area RN in the -Xv direction; the input area RDu farther than the neutral area RN in the +Yv direction; and the input area RDd farther than the neutral area RN in the -Yv direction. In the touch position change example according to the present modification, time t6 and time t7 are times after time t5, but time t6 and time t7 may be the same time as time t5.
[0343] As described above, in this modification, the operation area determiner 115B 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 CP1. Therefore, in this modification, for example, compared with the case where the inclination of the operation area coordinate system ΣV is fixed on the touch panel 1002, the possibility of an unexpected input due to a deviation of the touch position P is reduced.
[0344] Modification B5
[0345] In the above-mentioned embodiment and variations B1 to B4, if the characteristic position identification condition is satisfied in the input area touch period TR, the characteristic position determiner 114B identifies the touch position P as the characteristic position CP. However, the present invention is not limited to such aspects. For example, the characteristic position determiner 114B may determine the characteristic position CP based on some or all of the touch positions P among the one or more touch positions P indicated by one or more pieces of touch position information acquired by the touch position information acquirer 113 in the input area touch period TR. Variation B5 is similar to variation A5 except that a neutral area RN is included in the operation area V.
[0346] Fig.39 An operation example of the terminal device 10B according to modification B5 is illustrated. For example, if the three pieces of touch position information acquired by the touch position information acquirer 113 in the input area touch period TRr indicate touch positions P[t2], P[t3], and P[t4], the feature position determiner 114B may determine the average position of the three touch positions P[t2], P[t3], and P[t4] as the feature position CPr.
[0347] For example, the feature position determiner 114B may identify, as the feature position CP, a touch position P indicated by the last acquired touch position information among one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the input area touch period TR.
[0348] For example, if two or more touch positions P exist at substantially the same position for at least a predetermined period of time among the touch positions P, the feature position determiner 114B may determine the two or more touch positions P as feature positions CP. The touch positions P are indicated by a plurality of pieces of touch position information acquired by the touch position information acquirer 113 in the input region touch period TR.
[0349] Typically, if the touch position P maintains substantially the same position in the input region RD, there is a high probability that the user who made the touch intended to touch the input region RD, and there is a high probability that the touch was not an accidental input. Therefore, the aspect of determining the characteristic position CP based on two or more touch positions P existing at substantially the same position in the input region RD for at least a predetermined period of time can prevent the neutral region RN and the input region RD from being set at positions opposite to the user's intention.
[0350] Modification B6
[0351] The embodiment and modifications B1 to B5 illustrate the case where the operation area V is circular. However, the present invention is not limited to such an aspect. Fig.40As shown, the left half of the screen of the touch panel 1002 can be set as the operation area V.
[0352] Fig.40 An example of the operation area V according to modification B6 is illustrated. Fig.40 The line segment BDc in represents the boundary between the left half screen and the right half screen of the touch panel 1002 . Fig.40 The line segment BDrd shown in Fig. 22 A line segment BDrd shown in FIG. 1 is extended to the lower side of the touch panel 1002 . Fig.40 The line segment BDur shown is the line segment that is drawn by Fig. 22 The line segment BDur shown is a line segment obtained by extending the line segment BDc. Fig.40 The line segment BDdl shown is the line segment BDdl that is drawn by Fig. 22 The line segment BDd1 shown is a line segment obtained by extending to the lower side of the touch panel 1002. Fig.40 The line segment BDlu shown is the line segment that is drawn by Fig. 22 The line segment BDlu shown is a line segment obtained by extending to the left side of the touch panel 1002.
[0353] exist Fig.40 In the example shown, the operation area determiner 115B sets the area obtained by eliminating the neutral area RN from the area surrounded by the following items: the line segment BDrd; the line segment BDur; the lower side of the touch panel 1002; and the line segment BDc as the input area RDr. The operation area determiner 115B sets the area obtained by eliminating the neutral area RN from the area surrounded by the following items: 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 as the input area RDl. The operation area determiner 115B sets the area obtained by eliminating the neutral area RN from the area surrounded by the following items: 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 as the input area RDu. The operation area determiner 115B sets the area obtained by eliminating the neutral area RN from the area surrounded by the following items: the line segment BDrd, the line segment BDdl; and the lower side of the touch panel 1002 as the input area RDd.
[0354] Modification B7
[0355] The embodiment and modifications B1 to B5 illustrate a case where the input region RD is a region obtained by eliminating a circular neutral region RN from a sector-shaped region. However, the present invention is not limited to such an aspect. Fig.41 As shown, the input region RD may be, for example, an elliptical region or a polygonal region. Modification B7 is similar to Modification A6 except that a neutral region RN is included in the operation region V.
[0356] Fig.41 An example of a neutral region RN and an input region RD according to Modification B7 is illustrated. Fig.41 In the example shown, the operation area determiner 115B sets an elliptical input area RDr in a sector-shaped area surrounded by: a line segment BDrd; a line segment BDur; and a circle BDv. The operation area determiner 115B sets an elliptical input area RDl in a sector-shaped area surrounded by: a line segment BDdl; a line segment BDlu; and a circle BDv. The operation area determiner 115B sets an elliptical input area RDu in a sector-shaped area surrounded by: a line segment BDur; a line segment BDlu; and a circle BDv. The operation area determiner 115B sets an elliptical input area RDd in a sector-shaped area surrounded by: a line segment BDrd; a line segment BDdl; and a circle BDv. The operation area determiner 115B sets the entire area or a part of the area other than the input area RD on the touch panel 1002 as a neutral area RN. Even in the case where a part of the area other than the input area RD on the touch panel 1002 is set in the neutral area RN, the neutral area RN is set to include the area between the input area RDr and the input area RD1.
[0357] Modification B8
[0358] The embodiment and modifications B1 to B7 illustrate the case where the characteristic position CPr is determined based on the touch position P present in the input region RDr, and the characteristic position CP1 is determined based on the touch position P present in the input region RDl. However, the present invention is not limited to such an aspect. Fig.42 As shown, the feature position determiner 114B can determine the feature position CPr based on the touch position P existing in the first direction area RR including the input area RDr. In addition, the feature position determiner 114B can determine the feature position CP1 based on the touch position P existing in the second direction area RL including the input area RD1.
[0359] Fig.42 An example of the direction areas according to Modification B8 is illustrated. Fig.42The input area RDuA in represents an area belonging to the input area RDu and in the +Xv direction from the Yv axis. The input area RDuB represents an area belonging to the input area RDu and in the -Xv direction from the Yv axis. The input area RDdA represents an area belonging to the input area RDd and in the +Xv direction from the Yv axis. The input area RDdB represents an area belonging to the input area RDd and in the -Xv direction from the Yv axis. The first direction area RR includes the input area RDr, the input area RDuA, and the input area RDdA. The second direction area RL includes the input area RDl, the input area RDuB, and the input area RDdB.
[0360] Modification B9
[0361] In the embodiment and modifications B1 to B8, the input area RD is an area for inputting instructions in a single direction related to a predetermined game. However, the present invention is not limited to such an aspect. Fig.43 As shown, each input region RD may include K sub-regions for inputting K (K is a natural number of 2 or more) directions. Modification B9 is similar to modification A8 except that a neutral region RN is included in the operation region V.
[0362] Fig.43 An example of the operation area V according to the modification B9 is illustrated. Fig.43 In the example shown, each input region RD includes three sub-regions for inputting instructions about 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. The input region RDd includes sub-regions RDd1, RDd2, and RDd3.
[0363] Modification B10
[0364] The above-mentioned embodiment and modifications B1 to B9 illustrate the case where the operation area V includes four input areas RDr, RDl, RDu and RDd. However, the present invention is not limited to such an aspect. For example, the operation area V only needs to include M (M is a natural number of 2 or more) input areas RD. Modification B10 is similar to modification A9 except that a neutral area RN is included in the operation area V.
[0365] Fig.44 An example of the operation area V according to the modification B10 is illustrated. Fig.44In the example shown, 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 area RDr and the input area RDl may be arranged at positions symmetrical with respect to the reference position Ov. In modification B10, the neutral area RN is arranged between the input area RDr and the input area RDl.
[0366] Modification B11
[0367] In the above-mentioned embodiment and variants B1 to B4 and variants B6 to B10, if the characteristic position recognition condition is satisfied in the input area touch period TR, the characteristic position determiner 114B recognizes the touch position P as the characteristic position CP. Here, the characteristic position recognition condition indicates that the touch position P refers to the position farthest from the reference position Ov in the direction from the reference position Ov indicating the input area RD. However, the present invention is not limited to such aspects. For example, if the following conditions are satisfied, the characteristic position determiner 114B can recognize the touch position P corresponding to a certain time in the input area touch period TR as the characteristic position CP. The condition indicates that the touch position P indicated by the touch position information acquired by the touch position information acquirer 113 at the certain time deviates from the reference position in the direction from the reference position Ov indicating the input area RD. The reference position is defined based on one or more touch positions P indicated by one or more touch position information acquired by the touch position information acquirer 113 in the period from the start time of the input area touch period TR to the certain time. Modification B11 is similar to Modification A4 except that the operation region V includes a neutral region RN therein.
[0368] Modification B12
[0369] In the above-described embodiment and modifications B1 to B11, the first direction indicating the input region RDr from the reference position Ov and the second direction indicating the input region RDl from the reference position Ov are opposite directions. However, the present invention is not limited to such aspects. For example, the angle between the first direction and the second direction may be greater than 0 degrees and less than 180 degrees. Modification B12 is similar to modification A10 except that the neutral region RN is included in the operation region V.
[0370] Modification B13
[0371] In the embodiment and modifications B1 to B12, the input area RD is an area for inputting instructions in the direction in which the face of the character CR is facing. However, the present invention is not limited to such an aspect. The input area RD may be an area for inputting instructions related to a predetermined game. Modification B13 is similar to modification A11 except that a neutral area RN is included in the operation area V.
[0372] Modification B14
[0373] In the present embodiment and modifications B1 to B13, a program related to a predetermined game is described as an example of a program. However, the present invention is not limited to such an aspect. The program may be related to any application. Modification B14 is similar to modification A12 except that a neutral region RN is included in the operation region V.
[0374] Modification B15
[0375] In the above-mentioned embodiment and variations B1 to B14, if the touch position P moves from one input area RD to the neutral area RN, and then re-enters the one input area RD without entering another input area RD, the determination result of the characteristic position CP at the completion of the one input area touch period TR is not discarded. However, the present invention is not limited to such aspects. For example, if the touch position P moves from one input area RD to the neutral area RN, and then re-enters the one input area RD without entering another input area RD, the determination result of the characteristic position CP at the completion of the one input area touch period TR may be discarded. Specifically, in the input area touch period TR started by the touch position P re-entering a certain input area RD, the characteristic position determiner 114B may discard the determination result of the characteristic position CP at the completion of the one input area touch period TR, and determine a new characteristic position CP.
[0376] Modification B16
[0377] In the embodiment and variants B1 to B15, the case where there is no initial value for determining the characteristic position CP is described as an example. However, the present invention is not limited to such aspects. For example, the initial value of the characteristic position CP of each input area RD can be determined. Specifically, when a predetermined game is activated, the characteristic position determiner 114B can set the position at a predetermined distance (for example, a distance DIS) from the neutral area RN in the +Xv direction as the initial value of the characteristic position CPr. In addition, the characteristic position determiner 114B can set the position at a predetermined distance (for example, a distance DIS) from the neutral area RN in the -Xv direction as the initial value of the characteristic position CP1.
[0378] Modification B17
[0379] In the embodiment and variants B1 to B16, when a predetermined game is activated, the operation area determiner 115B sets the operation area V at a predetermined position on the touch panel 1002. However, the present invention is not limited to such aspects. For example, whenever a touch-in occurs, the operation area determiner 115B may set the touch position P of the finger FG on the touch panel 1002 as the reference position Ov, and set the operation area V at a position based on the reference position Ov. In this case, the terminal device 10B maintains a state in which the operation area V is set on the touch panel 1002 during the touch period, which is a period in which the user's finger FG remains in contact with the touch panel 1002. When the user's finger FG changes from a state in contact with the touch panel 1002 to a state out of contact with the touch panel 1002, the terminal device 10B causes the operation area V set on the touch panel 1002 to disappear.
[0380] Modification B18
[0381] In the above-described embodiment and modifications B1 to B17, the operation area determiner 115B freely moves the reference position Ov according to the characteristic position CP on the touch panel 1002. However, the present invention is not limited to such an aspect. For example, the movement range of the reference position Ov may be limited to a predetermined range (e.g., Fig.45 within the range defined by the quadrilateral BDq shown).
[0382] Fig.45 1 is a diagram for illustrating an operation example of the terminal device 10B according to the modification B18. Fig.45 In the example shown, the moving range of the reference position Ov is limited to the range (preset range) defined by the quadrilateral BDq. More specifically, when the reference position Ov calculated based on the feature position CPr and the feature position CPl exists outside the quadrilateral BDq, the operation area determiner 115B limits the reference position Ov to the quadrilateral BDq so that the reference position Ov does not pass through the periphery of the quadrilateral BDq. When the reference position Ov calculated based on the feature position CPr and the feature position CPl exists outside the quadrilateral BDq, there is a high possibility of making an unexpected input (for example, a temporary deviation of the position of the finger FG due to the vibration of the train) by touching a position away from the user's desired position with the user's finger FG. In variant B18, a limit is set on the moving range of the reference position Ov. Therefore, it is possible to prevent the input area RD and the neutral area RN from moving upward or rightward on the touch panel 1002 in large amounts. As a result, in variant B18, operability can be improved compared to the case where the moving range of the reference position Ov is not limited.
[0383] Modification B19
[0384] In the embodiment and variants B1 to B18, the predetermined game is executed by the terminal device 10B. However, the present invention is not limited to such an aspect. The predetermined game may be executed by a configuration element other than the terminal device 10B. Variant B19 is similar to variant A13 except that the neutral area RN is included in the operation area V. For example, Fig.21 The illustrated server device 30A may include a controller 11B instead of the controller 11 .
[0385] C. Notes
[0386] According to the above description, the present invention is understood as follows. In order to facilitate understanding of each mode, in the following, for convenience, the figure numerals are marked in brackets. However, this is not intended to limit the present invention to the modes shown in the drawings.
[0387] Note 1
[0388] According to an aspect of the present invention, a non-transitory computer-readable recording medium (e.g., memory 1001) having a program recorded thereon causes a processor (e.g., processor 1000) of an information processing device (e.g., terminal device 10) to function as: an acquirer (e.g., touch position information acquirer 113) configured to acquire touch position information indicating a touch position (e.g., touch position P) on a touch panel (e.g., touch panel 1002); an identifier (e.g., feature position determiner 114) configured to: if, during a touch period in which continuous touching of the touch panel is implemented, the touch position indicated by the touch position information acquired by the acquirer is in a first input area (e.g., +Xs direction) for receiving an input indicated in a first operation direction (e.g., +Xs direction) related to a game to be input therein; An input area RDr) and the touch position satisfies a first condition related to the touch position, the position based on the touch position is identified as a first position (e.g., a characteristic position CPr), and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area (e.g., input area RDl) for receiving input indicated in a second operation direction (e.g., -Xs direction) related to a game to be input therein, and the touch position satisfies a second condition related to the touch position, the position based on the touch position is identified as a second position (e.g., a characteristic position CPl); and a determiner (e.g., an operation area determiner 115), which is configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0389] In the present aspect, the determiner determines the positions of the first input area and the second input area (hereinafter, in some cases, the first input area and the second input area are collectively referred to as "input areas") based on the following items: the first position is based on the position of the touch position in the first input area; and the second position is based on the position of the touch position in the second input area (hereinafter, in some cases, the first position and the second position are collectively referred to as "characteristic positions"). Therefore, in the present aspect, even if the touch position in the input area gradually moves away from the original position, the determiner is able to correct the position of the input area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the position of the input area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced.
[0390] It is possible to consider an aspect of determining the positions of the first input area and the second input area based on a characteristic position (hereinafter, this aspect is referred to as a "comparative example"). Specifically, in the comparative example, for example, a first representative position representing the position of the first input area, such as the center position or the centroid of the first input area, is determined at a position corresponding to a characteristic position; and a second representative position representing the position of the second input area, such as the center position or the centroid of the second input area, is determined at a position corresponding to the first representative position (hereinafter, in some cases, the first input area and the second input area are collectively referred to as "representative positions"). For example, in the comparative example, a 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. That is, in the comparative example, the relative positional relationship between the characteristic position and the representative position of each input area, or the interval between the characteristic position and the representative position of each input area can be adjusted. In other words, the comparison example only determines the positions of the first input area and the second input area under any of the constraints that the relative positional relationship between the feature position and the representative position of each input area is maintained at a predetermined positional relationship, and the interval between the feature position and the representative position of each input area is maintained at a predetermined interval.
[0391] On the contrary, for example, when a user touches the touch panel with a finger, the size and shape of the finger of each user are different from each other. For example, when a user touches the touch panel with a finger, the pressure when the user touches the touch panel with a finger, the inclination of the finger and the touch panel, the movement mode of the finger, etc. are different from each other for each user. As described above, when a user touches the touch panel with a finger, the touch mode of each user is different. Therefore, when a user touches the touch panel with a finger, for each user, there are the following differences: the relative positional relationship between the characteristic position and the representative position of each input area, and the interval between the characteristic position and the representative position of each input area. Therefore, in order to keep the operability of the operation for inputting the indication in the first operation direction and the operation for inputting the indication in the second operation direction well for any user, it is preferred to adjust the relative positional relationship between the characteristic position and the representative position of each input area, and the interval between the characteristic position and the representative position of each input area according to the touch mode of each user.
[0392] However, in the comparative example, as described above, it is difficult to adjust any of the relative positional relationship between the characteristic position and the representative position of each input area, and the interval between the characteristic position and the representative position of each input area. Therefore, in the comparative example, it is difficult for any user to well maintain operability in the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction.
[0393] On the contrary, according to this aspect, the determiner determines the positions of the first input area and the second input area using two characteristic positions of the first position and the second position. Generally, there is a high possibility that the relative positional relationship between the first position and the second position and the interval between the first position and the second position are determined according to the touch pattern of each user. Therefore, in this aspect, compared with the comparative example, the operability in the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction can be well maintained for any user.
[0394] In the above aspect, the "first operation direction related to the game" is an example of the "operation direction related to the game". For example, the "operation direction related to the game" may be a direction in a virtual space related to the game, or may be a direction on a screen related to the game. For example, the "direction in the virtual space related to the game" is a direction of change in one or both of the position and orientation of a game element in the virtual space related to the game. Here, for example, the "game element" may be a virtual object existing in a virtual space related to the game, or may be a virtual camera that captures an image of a virtual space related to the game. The "virtual object existing in a virtual space related to the game" may be a concept including a character related to the game and an object related to the game. The "direction on the screen related to the game" may be a direction of change in one or both of the position and orientation of an image indicating a virtual object displayed on a screen related to the game. Alternatively, the "direction on the screen related to the game" may be a moving direction of an image on a menu screen related to the game, the image indicating a game element, which is a pointer displayed on the menu screen, etc. and has nothing to do with the progress of the game.
[0395] In the above aspect, the “second operation direction related to the game” is another example of the “operation direction related to the game”. Here, the “second operation direction” is a direction different from the first operation direction. For example, the “second operation direction” may be a direction opposite to the first operation direction.
[0396] In the above aspects, for example, the "first input area" may be an area visibly provided on the touch panel to receive input of instructions in a first operating direction and related to a game, or may be a virtual area invisibly provided on the touch panel to receive input of instructions in a first operating direction and related to a game. The "second input area" may be an area different from the first input area and visibly provided on the touch panel to receive input of instructions in a second operating direction, wherein the instructions are related to a game to be input therein. Alternatively, for example, the "second input area" may be a virtual area that is different from the first input area and invisibly provided on the touch panel to receive input of instructions in a second operating direction, wherein the instructions are related to a game to be input therein.
[0397] In the above aspect, for example, the "first condition" may be a condition regarding the existence range of the touch position indicated by the touch position information, or may be a condition regarding the history of the touch position indicated by the touch position information, or may be a condition regarding the moving speed of the touch position indicated by the touch position information. Here, for example, the "condition regarding the history of the touch position indicated by the touch position information" may be a condition that, during a period in which the touch position indicated by the touch position information is in the first input area, the touch position indicated by the touch position information is the position farthest from the reference position in a predetermined direction. Specifically, for example, the "condition regarding the history of the touch position indicated by the touch position information" may be a condition that, if the first input area is at a position farther than the second input area in the first direction, during a period in which the touch position indicated by the touch position information is in the first input area, the touch position indicated by the touch position information is the position farthest from the second input area in the first direction. For example, the "condition regarding the existence range of the touch position indicated by the touch position information" may be a condition that, during the period in which the touch position indicated by the touch position information is in the first input area, the touch position indicated by the touch position information is in the first input area within a predetermined range for at least a predetermined period of time. Specifically, for example, the "condition regarding the existence range of the touch position indicated by the touch position information" may be a condition that the touch position indicated by the touch position information is in substantially the same position in the first input area for at least a predetermined period of time. Here, for example, the fact that a certain position and another position are in "substantially the same position" may mean that the certain position and the other position may be the same position, or may be a positional relationship in which the certain position and the other position have a predetermined distance or less. For example, the "second condition" may be a condition regarding the existence range of the touch position indicated by the touch position information, may be a condition regarding the history of the touch position indicated by the touch position information, or may be a condition regarding the moving speed of the touch position indicated by the touch position information. Specifically, for example, the “second condition” may be a condition that if the second input area is at a position farther than the first input area in the second direction, then during the period in which the touch position indicated by the touch position information is in the second input area, the touch position indicated by the touch position information is the position farthest from the first input area in the second direction. For example, the “second condition” may be a condition that the touch position indicated by the touch position information is at substantially the same position in the second input area for at least a predetermined period of time.
[0398] In the above aspect, for example, the "position based on the touch position" may be a position identified using the touch position, or may be a position defined with reference to the touch position. Specifically, for example, the "position based on the touch position" may be the same position as the touch position, an average position of the touch position within a predetermined period, or may be a position having a predetermined distance from the touch position.
[0399] Note 2
[0400] A recording medium according to another aspect of the present invention is a recording medium as described in Note 1, wherein: if during a touch period, the touch position indicated by the touch position information acquired by the acquirer is in a first area (for example, an extended area RDXr) including a first input area, and the touch position satisfies a first condition, the identifier is configured to identify a position based on the touch position as a first position, and if during a touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second area (for example, an extended area RDXl) including a second input area, and the touch position satisfies a second condition, the identifier is configured to identify a position based on the touch position as a second position.
[0401] In this aspect, the determiner determines the position of the first input area and the second input area using two characteristic positions as the first position and the second position. Therefore, in this aspect, even if the touch position in the input area gradually leaves the original position, the determiner can correct the position of the input area in response to the deviation of the touch position. According to this aspect, the determiner determines the position of the first input area and the second input area using two characteristic positions. Therefore, compared with the comparative example, the operability of the operation for inputting the indication in the first operation direction and the operation for inputting the indication in the second operation direction can be well maintained for any user. In addition, according to this aspect, the position based on the touch position in the first area including the first input area is identified as the first position, and the position based on the touch position in the second area including the second input area is identified as the second position. That is, according to this aspect, even if the touch position moves outside the input area, the position of the input area can be corrected using the characteristic position based on the touch position. Therefore, according to this aspect, for example, compared with the case where the position of the input area is corrected only when the touch position is in the input area, the setting of the input area that flexibly supports various touch methods can be achieved.
[0402] In the above aspect, for example, the "first area" may be the same area as the first input area, or may be an area including the first input area and wider than the first input area. For example, the "second area" may be an area not including the first area and the same area as the second input area, or may be an area not including the first area, including the second input area and wider than the second input area.
[0403] Note 3
[0404] A recording medium according to another aspect of the present invention is a recording medium as described in Note 1, wherein: if the touch position indicated by the touch position information acquired by the acquirer during the touch period changes from a state of being outside the first input area to a state of being in the first input area, the identifier is configured to identify the position based on the changed touch position as the first position, and if the touch position indicated by the touch position information acquired by the acquirer during the touch period changes from a state of being outside the second input area to a state of being in the second input area, the identifier is configured to identify the position based on the changed touch position as the second position.
[0405] In the present aspect, for example, the recognizer recognizes a touch position based on the presence in one input area as a characteristic position at a first time point. In a case where the touch position exists outside the one input area at a second time point after the first time point and the touch position exists again in the one input area at a third time point after the second time point, the recognizer recognizes the position based on the touch position at the third time point as the characteristic position. Therefore, in the present aspect, the recognizer is able to set a new characteristic position at the third time point without being subject to any restrictions on the characteristic position recognized at the first time. That is, in the present aspect, even if the touch position changes, the determiner is able to flexibly determine the input position in response to the change in the touch position without being subject to any restrictions on the characteristic position recognized at the past time point.
[0406] Note 4
[0407] A recording medium according to another aspect of the present invention is a recording medium as described in Note 1 or 3, wherein: if the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a first touch period in the first input area, and the touch position is farthest from the reference position in the first direction, the identifier is configured to identify the position based on the touch position as the first position, and if the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a second touch period in the second input area, and the touch position is farthest from the reference position in the second direction, the identifier is configured to identify the position based on the touch position as the second position.
[0408] Typically, the relative positional relationship and interval between the touch position farthest from the reference position in the first direction among the touch positions existing in the first input area and the touch position farthest from the reference position in the second direction among the touch positions existing in the second input area vary according to the touch pattern of each user. In the present aspect, when the touch position exists in the first input area and is farthest from the reference position in the first direction, the identifier identifies the position based on the touch position as the first position. When the touch position exists in the second input area and is farthest from the reference position in the second direction, the identifier identifies the position based on the touch position as the second position. Therefore, in the present aspect, compared with the comparative example, the operability in the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction can be well maintained for any user.
[0409] In the above aspect, for example, the "reference position" may be a position between the first input area and the second input area, may be a position having substantially the same distance from the first input area and the second input area, or may be any position on the touch panel.
[0410] In the above aspect, for example, the "first direction" may be a direction indicating any position included in the first input area from the reference position, or may be a direction different from the direction indicating any position included in the first input area from the reference position. The "second direction" refers to a direction different from the first direction. For example, the "second direction" may be a direction opposite to the first direction, or may be a direction intersecting the first direction. Specifically, for example, the "second direction" may be a direction indicating any position included in the second input area from the reference position, or may be a direction different from the direction indicating any position included in the second input area from the reference position.
[0411] Note 5
[0412] A recording medium according to another aspect of the present invention is a recording medium as described in Note 1 or 3, wherein: if a touch position indicated by touch position information included in a touch period and acquired by an acquirer is in a first touch period in a first input area, and the touch position is located at a position farther than a first reference position in a first direction, then the identifier is configured to identify a position based on the touch position as a first position, and the first reference position is defined based on the history of the touch position during the first touch period; and if a touch position indicated by touch position information included in the touch period and acquired by the acquirer is in a second touch period in a second input area, and the touch position is located at a position farther than a second reference position in the second direction, then the identifier is configured to identify a position based on the touch position as a second position, and the second reference position is defined based on the history of the touch position during the second touch period.
[0413] Typically, the relative positional relationship and interval between the touch position when the touch position is farther from the first reference position in the first direction in the first touch period and the position when the touch position is farther from the second reference position in the second direction in the second touch period vary according to the touch pattern of each user. In this aspect, the identifier identifies the position based on the touch position when the touch position is farther than the first reference position in the first touch period as the first position. In addition, the identifier identifies the position based on the touch position when the touch position is farther than the second reference position in the second touch period as the second position. Therefore, in this aspect, compared with the comparative example, the operability of the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction can be well maintained for any user.
[0414] In the above aspect, for example, the “first reference position” may be based on the position of the touch position indicated by the touch position information in the period before the current time in the first touch period when the touch position indicated by the touch position information is the position farthest from the position between the first input area and the second input area in the first direction. For example, the “first reference position” may be the average position of the touch position indicated by the touch position information in the period before the current time in the first touch period. For example, the “second reference position” may be based on the position of the touch position indicated by the touch position information in the period before the current time in the second touch period when the touch position indicated by the touch position information is the position farthest from the position between the first input area and the second input area in the second direction. For example, the “second reference position” may be the average position of the touch position indicated by the touch position information in the period before the current time in the second touch period.
[0415] Note 6
[0416] According to another aspect of the present invention, a recording medium is a recording medium as described in Note 4, wherein the determiner is configured to: determine a position between a first position and a second position as a reference position; and determine a position of a first input area so that the first input area is located at a position farther in a first direction than the reference position; and determine a position of a second input area so that the second input area is located at a position farther in a second direction than the reference position.
[0417] Typically, the relative positional relationship and interval between a touch position farthest from the reference position in the first direction among touch positions existing in the first input area and a touch position farthest from the reference position in the second direction among touch positions existing in the second input area vary according to the touch pattern of each user. In the present aspect, when the touch position is in the first input area set farther than the reference position in the first direction and is farthest from the reference position in the first direction, the identifier identifies the position based on the touch position as the first position. When the touch position is in the second input area set farther than the reference position in the second direction and is farthest from the reference position in the second direction, the identifier identifies the position based on the touch position as the second position. Therefore, in the present aspect, compared with the comparative example, the operability of the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction for any user can be well maintained.
[0418] Note 7
[0419] According to another aspect of the present invention, a recording medium is a recording medium as described in Note 4 or 6, wherein, if a state in which a touch of the touch panel is not implemented is changed to a state in which a touch of the touch panel is implemented, the determiner is configured to determine a position of a touch position indicated by touch position information acquired by the acquirer after the change as a reference position.
[0420] In the present aspect, when the state without the touch of the touch panel changes to the state with the touch, the determiner determines the position based on the touch position after the change to the state with the touch as the reference position. That is, in the present aspect, the determiner determines the positions of the first input area and the second input area based on the first position and the second position identified by the touch position when the touch of the touch panel occurs. Therefore, according to the present aspect, for example, compared with the case where the reference position and the positions of the first input area and the second input area are predetermined, the possibility of accidentally touching an input area different from the expected input area when a touch on the touch panel occurs is reduced. In other words, according to the present aspect, for example, compared with the case where the reference position and the positions of the first input area and the second input area are predetermined, the possibility of causing an unexpected input is reduced.
[0421] Note 8
[0422] A recording medium according to another aspect of the present invention is a recording medium as described in Note 1 or 3, wherein: if the touch position indicated by the touch position information acquired by the acquirer in the touch period is located at substantially the same position in the first input area for at least a predetermined period of time, the identifier is configured to identify the position based on the touch position as the first position, and if the touch position indicated by the touch position information acquired by the acquirer in the touch period is located at substantially the same position in the second input area for at least a predetermined period of time, the identifier is configured to identify the position based on the touch position as the second position.
[0423] In this aspect, when the touch position is located at substantially the same position in the input area for at least a predetermined period of time, the recognizer recognizes the position based on the touch position as a characteristic position. Generally, when the touch position remains at substantially the same position in the input area, there is a high possibility that the user performing the touch intends to touch the input area, and there is a high possibility that the touch is not an accidental input. Therefore, according to this aspect, the first input area and the second input area are prevented from being set at positions that violate the user's intention.
[0424] Note 9
[0425] According to another aspect of the present invention, a recording medium is a recording medium as described in any one of Notes 1 to 8, wherein the determiner is configured to: determine the position of the first input area so that the first input area is located at a position farther than a reference position in a first direction; and determine the position of the second input area so that the second input area is located at a position farther than the reference position in a second direction, the second direction being opposite to the first direction.
[0426] In general, for example, when the touch position reciprocates between the first input region existing at a position farther from the reference position in the first direction and the second input region existing at a position farther from the reference position in the second direction during the touch period, there is a high probability that the touch position will deviate from the desired position in the first direction or the second direction. Specifically, compared with the case where the first input region is set at a position on the opposite side of the second input region as viewed from the reference position, when the first input region is set on the opposite side of the second input region as viewed from the reference position, there is a high probability that the distance between any position in the first input region and any position in the second input region will become larger. That is, compared with the case where the first input region is set at a position on the opposite side of the second input region as viewed from the reference position, when the first input region is set on the opposite side of the second input region as viewed from the reference position, there is a high probability that the deviation amount of the touch position from the desired position in the first input region or the second input region will become larger. In contrast, the determiner according to the present aspect corrects the positions of the first input region and the second input region based on: a first position based on the touch position in the first input region; and a second position based on the touch position in the second input region. That is, when a deviation of the touch position from the desired position occurs, the determiner according to the present aspect is capable of correcting the positions of the first input area and the second input area based on the first position and the second position determined in response to the deviation. In the present aspect, as described above, the first input area is set on the opposite side of the second input area as viewed from the reference position. Therefore, compared with the case where the first input area is set at a position on the opposite side that is not the second input area as viewed from the reference position, there is a high possibility that the first position and the second position will be at a position that quickly reflects the deviation of the touch position from the desired position. Therefore, in the present aspect, even if the touch position deviates in the first direction or the second direction, the determiner is capable of correcting the positions of the first input area and the second input area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the positions of the first input area and the second input area are fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced.
[0427] Note 10
[0428] The recording medium according to another aspect of the present invention is the recording medium described in Note 9, wherein: the determiner is configured to: determine at least a portion of an area that has an angle with a first baseline extending in a first direction from a reference position and the angle is equal to or less than the first angle as a first input area; and determine at least a portion of an area that has an angle with a second baseline extending in a second direction from the reference position and the angle is equal to or less than the second angle as a second input area.
[0429] In this aspect, for example, the determiner determines the first input area as a fan-shaped area extending in the first direction from the reference position, and determines the second input area as a fan-shaped area extending in the second direction from the reference position. Therefore, according to this aspect, for example, when the user touches the touch panel with a finger, the user touches the reference position with the finger and tilts the finger in the first direction, thereby allowing the first input area to be touched. In addition, the user touches the reference position with the finger and tilts the finger in the second direction, thereby allowing the second input area to be touched. That is, according to this aspect, for example, when the user touches the touch panel with a finger, the user can touch two input areas as the first input area and the second input area without moving the finger away from the touch panel. Therefore, according to this aspect, for example, compared with the case where the finger needs to leave the touch panel between the touch in the first input area and the touch in the second input area, the user can easily switch between the operation for inputting the indication in the first operation direction and the operation for inputting the indication in the second operation direction.
[0430] In the above aspect, the "first angle" may be equal to or less than 90 degrees. For example, the "first angle" may be 45 degrees. The "second angle" may be equal to or less than 90 degrees. For example, the "second angle" may be 45 degrees.
[0431] Note 11
[0432] A recording medium according to another aspect of the present invention is a recording medium as described in any one of Notes 1 to 10, wherein: a determiner is configured to: determine a position of a first input area so that the first input area is located at a position farther than a reference position in a first direction; determine a position of a second input area so that the second input area is located at a position farther than the reference position in a second direction; and determine a position of a third input area for receiving an input of an indication in a third operating direction based on the first position and the second position identified by the identifier, the indication being related to a game to be input therein, and the third input area being positioned farther than the reference position in a third direction, the second direction being opposite to the first direction, and the third direction being a direction intersecting the first direction and intersecting the second direction.
[0433] According to this aspect, the determiner determines the positions of the first input area, the second input area, and the third input area based on the first position and the second position. Therefore, according to this aspect, for example, compared with the case where the touch position is identified as the third position when the touch position is in the third input area, even if the frequency of touching the third input area is lower than the frequency of touching the first input area and the second input area, the correct position of the third input area can be determined. The positions of the first input area, the second input area, and the third input area are determined based on the positions of the first position, the second position, and the third position.
[0434] In the above aspect, for example, the "third direction" may be a direction orthogonal to the first direction and the second direction.
[0435] Note 12
[0436] According to another aspect of the present invention, a recording medium is a recording medium as described in any one of Notes 1 to 11, wherein: if the identifier identifies a first position and a second position, the determiner is configured to: determine a direction indicating the first position starting from a reference position as a first direction; determine a direction indicating the second position starting from the reference position as a second direction; and determine the positions of the first input area and the second input area based on the first direction and the second direction.
[0437] In this aspect, the determiner determines the positions of the first input area and the second input area based on the first direction determined according to the first position and the second direction determined according to the second position. Therefore, in this aspect, even when the touch position in the input area gradually deviates, the determiner can correct the inclination of the input area in the coordinate system fixed to the touch panel in response to the deviation of the touch position. Therefore, in this aspect, for example, compared with the case where the inclination of the input area in the coordinate system fixed to the touch panel is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced.
[0438] Note 13
[0439] According to another aspect of the present invention, a recording medium is a recording medium as described in any one of Notes 1 to 12, so that the processor is further used as: a vibration controller, which is configured to vibrate the touch panel in at least one of the following situations: a state where continuous touching of the touch panel is not implemented is changed to a state where continuous touching of the touch panel is implemented; a state where the touch position indicated by the touch position information acquired by the acquirer is changed from a state outside the first input area to a state in the first input area; and a state where the touch position indicated by the touch position information acquired by the acquirer is changed from a state outside the second input area to a state in the second input area.
[0440] According to this aspect, for example, when the user touches the touch panel with a finger, the user can tactilely and intuitively understand at least one of the following as vibration of the touch panel: a change in the presence or absence of touch; or a change in the touch position.
[0441] Note 14
[0442] An information processing device according to one aspect of the present invention includes: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; and an identifier configured to: if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first input area for receiving input of instructions related to a game to be input therein in a first operating direction, and the touch position satisfies a first condition related to the touch position, then identify a position based on the touch position as a first position; and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area for receiving input of instructions related to a game to be input therein in a second operating direction, and the touch position satisfies a second condition related to the touch position, then identify a position based on the touch position as a second position; and a determiner configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0443] In the present aspect, the determiner determines the position of the input area based on the characteristic position. Therefore, in the present aspect, even if the touch position in the input area gradually moves away from the original position, the determiner can correct the position of the input area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the position of the input area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced. According to the present aspect, the determiner uses two characteristic positions to determine the positions of the first input area and the second input area. Therefore, according to the present aspect, compared with the comparative example, for any user, the operability of the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction can be well maintained.
[0444] Note 15
[0445] According to another aspect of the present invention, a non-transitory computer-readable recording medium having a program recorded thereon causes a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; and an identifier configured to: if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first input area for receiving an input of a first indication related to a game to be input therein, and the touch position satisfies a first condition related to the touch position, then identify a position based on the touch position as a first position; and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area for receiving an input of a second indication related to a game to be input therein, and the touch position satisfies a second condition related to the touch position, then identify a position based on the touch position as a second position; and a determiner configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0446] In the present aspect, the determiner determines the position of the input area based on the characteristic position. Therefore, in the present aspect, even if the touch position in the input area gradually moves away from the original position, the determiner can correct the position of the input area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the position of the input area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced. According to the present aspect, the determiner uses two characteristic positions to determine the positions of the first input area and the second input area. Therefore, according to the present aspect, compared with the comparative example, for any user, the operability of the operation for inputting the first indication and the operation for inputting the second indication can be well maintained.
[0447] In the above aspect, for example, the "first indication" may be an indication related to a game provided using the touch panel, or may be an indication related to any service provided using the touch panel. For example, the "second indication" may be an indication different from the first indication and related to a game provided using the touch panel, or may be an indication different from the first indication and related to any service provided by the touch panel.
[0448] Note 16
[0449] According to another aspect of the present invention, a non-transitory computer-readable recording medium having a program recorded thereon causes a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on a touch panel; an identifier configured to: if, during a touch period of implementing continuous touching of the touch panel, the touch position indicated by the touch position information acquired by the acquirer is in a first input area for receiving input of instructions related to a game to be input therein in a first operating direction, then identify a position based on the touch position as a first position; and if, during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input area for receiving input of instructions related to a game to be input therein in a second operating direction, then identify a position based on the touch position as a second position; and a determiner configured to determine the positions of the first input area and the second input area based on the first position and the second position identified by the identifier.
[0450] In this aspect, the determiner determines the position of the input area based on the characteristic position. Therefore, in this aspect, even if the touch position in the input area gradually deviates, the determiner can correct the position of the input area in response to the deviation of the touch position. Therefore, in this aspect, for example, compared with the case where the position of the input area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced. According to this aspect, the determiner uses two characteristic positions to determine the positions of the first input area and the second input area. Therefore, according to this aspect, compared with the comparative example, for any user, the operability of the operation for inputting an indication in the first operation direction and the operation for inputting an indication in the second operation direction can be well maintained.
[0451] Note 17
[0452] According to an aspect of the present invention, a non-transitory computer-readable recording medium (e.g., memory 1001) having a program recorded thereon causes a processor (e.g., processor 1000) of an information processing device (e.g., terminal device 10B) to function as: an acquirer (e.g., touch position information acquirer 113) configured to acquire touch position information indicating a touch position on a touch panel (e.g., touch panel 1002); a feature position determiner (e.g., feature position determiner 114B) configured to: if, during a touch period in which continuous touching of the touch panel is implemented, the touch position indicated by the touch position information acquired by the acquirer is in a position for receiving an instruction related to a game to be inputted in a first operation direction (e.g., +Xs direction), If the touch position is in a first area for input (e.g., input area RDr), a first feature position (e.g., feature position CPr) is determined based on the touch position; if the touch position is in a second area (e.g., input area RDl) for receiving input of instructions related to the game to be input therein in a second operation direction (e.g., -Xs direction), a second feature position (e.g., feature position CP1) is determined based on the touch position; and an arrangement determiner (e.g., operation area determiner 115B) is configured to determine the position of a third area (e.g., neutral area RN) based on the first feature position and the second feature position determined by the feature position determiner, the third area being arranged between the first area and the second area and not receiving instructions in an operation direction related to the game.
[0453] In the present aspect, the feature position determiner determines the position of the third area, which is arranged between the first area and the second area and does not receive instructions on the operation direction related to the game, based on the following items: a first feature position, which is based on the position of the touch position in the first area; a second feature position, which is based on the position of the touch position in the second area (hereinafter, in some cases, the first feature position and the second feature position are collectively referred to as "feature positions"). Therefore, in the present aspect, even if the touch position in the first area or the second area gradually moves away from the original position, the feature position determiner is able to correct the position of the third area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the position of the third area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced.
[0454] The following aspect can be considered: determining the position of the third area based on a characteristic position (hereinafter, this aspect is referred to as a "comparative example"). Specifically, in the comparative example, for example, a first representative position representing the position of the first area (such as the center position or centroid of the first area) is determined at a position corresponding to a characteristic position. In addition, a second representative position representing the position of the second area (such as the center position or centroid of the second area) is determined at a position corresponding to the first representative position (hereinafter, in some cases, the first representative position and the second representative position are collectively referred to as "representative positions"). For example, in the comparative example, a characteristic position is determined as the first representative position. A position having a predetermined positional relationship with the first representative position is determined as the second representative position. The position between the first representative position and the second representative position is determined at the center position of the third area. That is, in the comparative example, the relative positional relationship between the characteristic position and the representative positions of the first area and the second area, or the interval between the characteristic position and the representative positions of the first area and the second area cannot be adjusted. In other words, the comparison example determines the positions of the first region, the second region, and the third region only under any one of the constraints that the relative positional relationship between the characteristic position and the representative positions of the first region and the second region is maintained as a predetermined positional relationship, and the interval between the characteristic position and the representative positions of the first region and the second region is maintained as a predetermined interval.
[0455] On the contrary, for example, when a user touches the touch panel with a finger, the size and shape of each user's finger are different from each other. For example, when a user touches the touch panel with a finger, the pressure when the user touches the touch panel with a finger, the inclination of the finger and the touch panel, the way of moving the finger, etc. are different for each user. As described above, when a user touches the touch panel with a finger, the touch mode is different for each user. Therefore, when a user touches the touch panel with a finger, for each user, there are the following differences: the relative positional relationship between the characteristic position and the representative position of the first area and the second area, and the interval between the characteristic position and the representative position of the first area and the second area. Therefore, in order to well maintain the operability of the operation for inputting the indication in the first operation direction and the operation for inputting the indication in the second operation direction, for any user, it is preferred to adjust the relative positional relationship between the characteristic position and the representative position of the first area and the second area, and the interval between the characteristic position and the representative position of the first area and the second area according to the touch mode of each user.
[0456] However, in the comparative example, as described above, it is difficult to adjust any of the relative positional relationship between the characteristic position and the representative positions of the first and second regions and the interval between the characteristic position and the representative positions of the first and second regions. Therefore, in the comparative example, it is difficult for any user to well maintain the operability of the operation for inputting an indication in the first operation direction, the operation for inputting an indication in the second operation direction, and the case where no indication in any operation direction is input.
[0457] In contrast, according to this aspect, the feature position determiner uses the first feature position and the second feature position to determine the position of the third area arranged between the first area and the second area. Generally, there is a high possibility that the relative positional relationship between the first feature position and the second feature position and the interval between the first feature position and the second feature position are determined in accordance with the touch pattern of each user. Therefore, according to this aspect, compared with the comparative example, for any user, the operability of the following items can be well maintained: an operation for inputting an indication in the first operation direction; an operation for inputting an indication in the second operation direction; and a case where an indication in any operation direction is not input.
[0458] In the above aspect, the "first operation direction related to the game" is an example of the "operation direction related to the game". For example, the "operation direction related to the game" may be a direction in a virtual space related to the game, or a direction on a screen related to the game. For example, the "direction in the virtual space related to the game" refers to the direction of change of one or both of the position and orientation of the game element in the virtual space related to the game. Here, for example, the "game element" may be a virtual object existing in a virtual space related to the game, or may be a virtual camera that captures an image of the virtual space related to the game. Among them, the "virtual object existing in a virtual space related to the game" may be a concept including a character related to the game and an object related to the game. The "direction on the screen related to the game" may be the direction of change of one or both of the position and orientation of an image, which indicates a virtual object displayed on a screen related to the game. Alternatively, the "direction on the screen related to the game" may be the direction of movement of an image on a menu screen related to the game, which indicates a game element, which is a pointer displayed on the menu screen, etc. and has nothing to do with the progress of the game.
[0459] In the above aspect, the “second operation direction related to the game” is another example of the “operation direction related to the game”. Here, the “second operation direction” is a direction different from the first operation direction. For example, the “second operation direction” may be a direction opposite to the first operation direction.
[0460] In the above aspect, for example, the "first area" may be an area that is visibly set on the touch panel to receive input of instructions in a first operation direction and related to the game. Alternatively, for example, the "first area" may be a virtual area that is invisibly set on the touch panel to receive input of instructions in a first operation direction and related to the game. The "second area" may be an area that is different from the first area and is visibly set on the touch panel to receive input of instructions in a second operation direction, wherein the second operation direction is related to the game to be input therein. Alternatively, for example, the "second area" may be a virtual area that is different from the first area and is invisibly set on the touch panel to receive input of instructions in a second operation direction, wherein the instructions are related to the game to be input therein. The "third area" may be an area for not receiving instructions in an operation direction related to the game, and is an area that is visibly set on the touch panel between the first area and the second area. Alternatively, for example, the "third area" may be an area that is invisibly set on the touch panel between the first area and the second area. In the case of focusing on the progress related to the game, the "state of touching the third area with a finger" is a state similar to the "state of leaving the touch panel with a finger". The state in which “the third region is arranged between the first region and the second region” refers to a state in which the first region, the second region, and the third region are arranged to have a positional relationship that allows drawing of a line with end points in the first region and the second region and passing through the third region.
[0461] In the above aspect, "determining the first characteristic position based on the touch position" may refer to the following case. For example, there is a case where the first area is located at a position farther than the second area in the first direction. In this case, in the period in which the touch position indicated by the touch position information is in the first area, the position based on the touch position farthest from the second area in the first direction may be determined as the first characteristic position. Here, for example, "the position based on the touch position" may be the same position as the touch position, or may be a position with a predetermined distance or less from the touch position. In addition, "determining the first characteristic position based on the touch position" may refer to the following case. For example, there is a case where, in the period in which the touch position indicated by the touch position information is in the first area, the touch position is not the touch position farthest from the second area in the first direction. In this case, it may be determined to maintain the current first characteristic position. Alternatively, "determining the first characteristic position based on the touch position" may refer to the following case. For example, there is a case where, in the first area, the touch position indicated by the touch position information is at substantially the same position for at least a predetermined period of time. In this case, the position based on the touch position at substantially the same position for at least a predetermined period of time may be determined as the first characteristic position. Here, for example, the fact that a certain position and another position are at "substantially the same position" may indicate that the certain position and the other position may be the same position, or may be a positional relationship in which the certain position and the other position have a predetermined distance or less. In addition, "determining the first characteristic position based on the touch position" may refer to the following case. For example, there is a case where the time period in which the touch position indicated by the touch position information is at substantially the same position in the first region is less than the predetermined time period. In this case, it can be determined to maintain the current first characteristic position. "Determining the second characteristic position based on the touch position" may refer to the following case. For example, there is a case where the second region is farther away from the first region in the second direction. In this case, during the period in which the touch position indicated by the touch position information is in 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 addition, "determining the second characteristic position based on the touch position" may refer to the following case. For example, there is a case where the touch position indicated by the touch position information is at substantially the same position in the second region for at least a predetermined time period. In this case, the position based on the touch position that is at substantially the same position for at least a predetermined time period may be determined as the second characteristic position. In addition, similar to the case of “determining the first feature position based on the touch position”, “determining the second feature position based on the touch position” may be determining to maintain the current second feature position.
[0462] Note 18
[0463] A recording medium according to another aspect of the present invention is the recording medium as recited in Supplementary Note 17, wherein the arrangement determiner is configured to determine the size of the third area based on at least one of the first characteristic position and the second characteristic position.
[0464] In this aspect, the arrangement determiner determines the size of the third area based on at least one of the first feature position and the second feature position. For example, the arrangement determiner determines the size of the third area so as to keep the distance between the feature position and the third area at a predetermined distance. Therefore, when the user moves the finger from the third area to any one of the first area and the second area, the user can return the touch position to the third area by returning the finger by a constant amount corresponding to the predetermined distance. Therefore, according to this aspect, compared with the case where the size of the third area is fixed, the operability can be improved.
[0465] In the above aspect, for example, "determining the size of the third area based on at least one of the first feature position and the second feature position" may be determining the size of the third area so as to keep the distance between the feature position updated by the continuous touch and the third area among the first feature position and the second feature position constant or substantially constant. The size of the third area may be determined by adjusting the distance from the updated feature position according to the magnitude of the movement amount of the updated feature position in the first direction (second direction). Here, the "distance between the updated feature position and the third area" may be, for example, the distance from the first feature position (or the second feature position) to the boundary line (edge) of the third area, where the distance is on the line connecting the updated first feature position (or the second feature position) and the center of the third area. Specifically, the boundary line of the third area is the boundary line between the third area and the first area (the second area in the case where the second feature position is an endpoint). If it is assumed that the line extending in the first direction (second direction) from the center of the third area is the first axis, then the "distance between the updated feature position and the third area" may be the distance represented by the difference between the coordinates of the first feature position (or the second feature position) on the first axis and the intersection of the boundary line of the third area and the first axis.
[0466] Note 19
[0467] A recording medium according to another aspect of the present invention is the recording medium as recited in Supplementary Note 17, the arrangement determiner being configured to determine the size of the third region based on a distance between the first characteristic position and the second characteristic position.
[0468] In this aspect, for example, the layout determiner determines the size of the third area to maintain the ratio of the size of the third area (e.g., the width of the third area, etc.) to the distance between the first feature position and the second feature position. In this aspect, the size of the third area is determined based on the distance between the first feature position and the second feature position. Therefore, it is possible to prevent the third area from having a size that reduces operability. Therefore, according to this aspect, compared with a case where the size of the third area is fixed, operability can be improved.
[0469] In the above aspect, “determining the size of the third region based on the distance between the first feature position and the second feature position” may be, for example, determining the size of the third region to maintain a ratio of the distance (DCP) between the first feature position and the second feature position to the diameter (2·r) of the third region (DCP / (2·r)=constant). The diameter (2·r) of the third region may be determined based on the distance (DCP) between the first feature position and the second feature position to maintain the distance from the updated feature position at a predetermined value (DIS) (2·r=DCP-2·DIS).
[0470] Note 20
[0471] According to another aspect of the present invention, a recording medium is a recording medium as described in Note 18 or 19, wherein, if the size of the third area calculated based on at least one of the first feature position and the second feature position exceeds a predetermined upper limit value, the layout determiner is configured to determine the upper limit value as the size of the third area as the upper limit value.
[0472] In this aspect, 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 determiner determines the size of the third area as the upper limit value. Therefore, it is possible to prevent the third area from having a size that reduces operability. Therefore, according to this aspect, compared with a case where the upper limit value of the size of the third area is not determined, operability can be improved.
[0473] 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” includes “the size of the third region calculated based on the distance between the first characteristic position and the second characteristic position”.
[0474] Note 21
[0475] A recording medium according to another aspect of the present invention is the recording medium as described in any one of Supplementary Notes 17 to 20, wherein a lower limit value is determined in advance for the size of the third area.
[0476] According to this aspect, a lower limit value is determined in advance for the size of the third area. Therefore, it is possible to prevent the third area from having a size that reduces operability. Therefore, in this aspect, operability can be improved compared to a case where a lower limit value for the size of the third area is not determined.
[0477] Note 22
[0478] A recording medium according to another aspect of the present invention is a recording medium as described in any one of Notes 17 to 21, wherein the arrangement determiner is configured to determine a distance between one of the first feature position and the second feature position and a third area based on a distance between the first feature position and the second feature position.
[0479] Typically, when the distance between the first feature position and the second feature position increases, it is assumed that the finger has moved a large amount. When the finger moves a large amount, the finger slightly returns to the third area in some cases. In this case, when the distance between the feature position and the third area is small, the touch position to be in any area among the first area and the second area moves to the third area, and this may cause an unexpected operation input. In the present aspect, as the distance between the first feature position and the second feature position increases, the distance between the feature position and the third area increases, which can prevent the touch position to be in any area among the first area and the second area from moving to the third area. As a result, the possibility of causing an unexpected operation input is reduced.
[0480] In this aspect, as the distance between the first characteristic position and the second characteristic position increases, the distance between the characteristic position and the third region increases, which can prevent the third region from increasing in size excessively. Therefore, in this aspect, operability is improved compared to a case where the distance between the characteristic position and the third region is fixed.
[0481] In the above aspect, for example, "the distance between one of the first characteristic position and the second characteristic position and the third region" is the distance from the first characteristic position (or the second characteristic position) to the boundary line (edge) of the third region, which is on the line connecting the first characteristic position (or the second characteristic position) with the center of the third region. Alternatively, if it is assumed that a line extending in the first direction (or the second direction) from the center of the third region is the first axis, "the distance between one of the first characteristic position and the second characteristic position and the third region" can be a distance represented by the difference between the coordinates of the first characteristic position (or the second characteristic position) on the first axis and the intersection of the boundary line of the third region and the first axis.
[0482] Note 23
[0483] A recording medium according to another aspect of the present invention is the recording medium as recited in any one of Supplementary Notes 17 to 22, wherein the arrangement determiner is configured to determine the position of the third area based on a distance between the first feature position and the second feature position.
[0484] In the present aspect, for example, the feature position determiner determines the position of the third area so that the position based on the distance between the first feature position and the second feature position (for example, the midpoint between the first feature position and the second feature) is the center of the third area. When adjusting the position of the third area, only one of the first feature position and the second feature position is moved. Therefore, if the midpoint between the first feature position and the second feature position is regarded as the "position based on the distance between the first feature position and the second feature position", then there is no problem. Therefore, in the present aspect, even if the touch position in the first area or the second area gradually deviates, the feature position determiner is able to correct the position of the third area in response to the deviation of the touch position. Therefore, in the present aspect, for example, compared with the case where the position of the third area is fixed, the possibility of accidental input due to the deviation of the touch position on the touch panel is reduced.
[0485] Note 24
[0486] A recording medium according to another aspect of the present invention is a recording medium as described in any one of Notes 17 to 23, wherein, if the touch position is in a first directional area (for example, the first directional area RR) including the first area, the arrangement determiner is configured to determine the first characteristic position based on the touch position, and if the touch position is in a second directional area (for example, the second directional area RL) including the second area, the arrangement determiner is configured to determine the second characteristic position based on the touch position.
[0487] In this aspect, the feature position determiner uses two feature positions as the first feature position and the second feature position to determine the positions of the first area and the second area. Therefore, in this aspect, even if the touch position in the first area or the second area gradually deviates, the feature position determiner can correct the positions of the first area, the second area, and the third area in response to the deviation of the touch position. According to this aspect, the feature position determiner uses two feature positions to determine the positions of the first area and the second area. Therefore, compared with the comparative example, the operability of the operation for inputting the indication in the first operation direction, the operation for inputting the indication in the second operation direction, and the case where the indication in any operation direction is not input can be well maintained for any user. According to this aspect, the position of the touch position in the first direction area including the first area is identified as the first feature position, and the position of the touch position in the second direction area including the second area is identified as the second feature position. That is, according to this aspect, even if the touch position moves to the outside of the first area and the second area, the position of the first area, the second area, and the third area can be corrected using the feature position based on the touch position. Therefore, according to the present aspect, for example, compared to a case where the positions of the first, second, and third regions are corrected only when the touch position is in any one of the first and second regions, the first, second, and third regions can be set to flexibly support various touch modes.
[0488] In the above aspect, for example, the "first direction region" may be the same region as the first region, or may be a region wider than the first region and including the first region. For example, the "second direction region" may be a region excluding the first direction region and the same region as the second region, or may be a region excluding the first direction region and the wider than the second region and including the second region.
[0489] Note 25
[0490] A recording medium according to another aspect of the present invention is a recording medium as described in any one of Notes 17 to 24, wherein the layout determiner is configured to: determine the position of the first area so that the first area is located farther than the third area in the first direction; and determine the position of the second area so that the second area is located farther than the third area in the second direction, the second direction being opposite to the first direction. ...
Claims
1. A non-transitory computer-readable recording medium having recorded thereon a program, the program causing a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on the touch panel; A recognizer that is configured as: If (a) during a touch period in which continuous touching of the touch panel is performed, the touch position indicated by the touch position information acquired by the acquirer is in a first input region for receiving input of instructions related to a game to be input therein in a first operation direction, and (b) the touch position satisfies a first condition related to the touch position, a position based on the touch position is identified as a first position, and if (c) during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input region for receiving input of an instruction related to a game to be input therein in a second operation direction, and (d) the touch position satisfies a second condition related to the touch position, identifying a position based on the touch position as a second position; as well as a determiner configured to determine positions of the first input area and the second input area based on the first position and the second position recognized by the recognizer, The first input area is an area of the touch panel for receiving a touch input along the first operation direction from a reference position on the touch panel, and the second input area is an area of the touch panel for receiving a touch input along the second operation direction from a reference position on the touch panel and is different from the first input area, Wherein the positions of the first input area and the second input area are determined based on the reference position, and the reference position changes according to changes in the first position and the second position.
2. The recording medium according to claim 1, in, If, during the touch period, (e) the touch position indicated by the touch position information acquired by the acquirer is in a first area including the first input area, and (f) the touch position satisfies the first condition, the recognizer is configured to recognize a position based on the touch position as the first position, and If, during the touch period, (g) the touch position indicated by the touch position information acquired by the acquirer is in a second area including the second input area, and (h) the touch position satisfies the second condition, the identifier is configured to identify a position based on the touch position as the second position.
3. The recording medium according to claim 1, in, If, during the touch period, the touch position indicated by the touch position information acquired by the acquirer changes from a state of being outside the first input area to a state of being in the first input area, the recognizer is configured to recognize a position based on the changed touch position as the first position, and If, during the touch period, the touch position indicated by the touch position information acquired by the acquirer changes from a state of being outside the second input area to a state of being in the second input area, the identifier is configured to identify a position based on the changed touch position as the second position.
4. The recording medium according to claim 1 or 3, in, If the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a first touch period in the first input area, the touch position is farthest from a reference position in a first direction, the recognizer is configured to recognize a position based on the touch position as the first position, and If the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a second touch period in the second input area, and the touch position is farthest from the reference position in the second direction, the identifier is configured to identify a position based on the touch position as the second position.
5. The recording medium according to claim 1 or 3, in, If the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a first touch period in the first input area, the touch position is located at a position farther than a first reference position in the first direction, the recognizer is configured to recognize a position based on the touch position as the first position, the first reference position being defined based on a history of the touch position during the first touch period, and If the touch position indicated by the touch position information included in the touch period and acquired by the acquirer is in a second touch period in the second input area, and the touch position is located farther in the second direction than a second reference position, the identifier is configured to identify a position based on the touch position as the second position, and the second reference position is defined based on the history of the touch position during the second touch period.
6. The recording medium according to claim 4, in, The determiner is configured to: determining a position between the first position and the second position as the reference position; determining a position of the first input area so that the first input area is located at a position farther than the reference position in the first direction; as well as The position of the second input area is determined so that the second input area is located at a position farther than the reference position in the second direction.
7. The recording medium according to claim 4, in, If the state in which the touch of the touch panel is not applied changes to the state in which the touch of the touch panel is applied, the determiner is configured to determine a position based on the touch position indicated by the touch position information acquired by the acquirer after the change as the reference position.
8. The recording medium according to claim 1 or 3, in, If, in the touch period, the touch position indicated by the touch position information acquired by the acquirer is located at substantially the same position in the first input area for at least a predetermined period of time, the recognizer is configured to recognize a position based on the touch position as the first position, and If, in the touch period, the touch position indicated by the touch position information acquired by the acquirer is located at substantially the same position in the second input area for at least the predetermined period of time, the recognizer is configured to recognize a position based on the touch position as the second position.
9. The recording medium according to any one of claims 1 to 3, in, The determiner is configured to: determining a position of the first input area so that the first input area is located at a position farther than a reference position in a first direction; as well as The position of the second input area is determined so that the second input area is located at a position farther than the reference position in a second direction, the second direction being opposite to the first direction.
10. The recording medium according to claim 9, in, The determiner is configured to: determining at least a portion of a region having an angle with a first reference line extending from the reference position in the first direction and the angle being equal to or smaller than a first angle as the first input region; and At least a portion of a region having an angle with a second reference line extending from the reference position in the second direction and the angle being equal to or smaller than a second angle is determined as the second input region.
11. The recording medium according to any one of claims 1 to 3, in, The determiner is configured to: determining a position of the first input area so that the first input area is located at a position farther than a reference position in a first direction; determining a position of the second input area so that the second input area is located at a position farther than the reference position in the second direction; as well as determining the position of a third input area for receiving an input of an instruction related to a game to be input therein in a third operation direction based on the first position and the second position recognized by the recognizer, and the third input area is located farther than the reference position in the third direction, The second direction is opposite to the first direction, and The third direction is a direction that intersects the first direction and intersects the second direction.
12. The recording medium according to any one of claims 1 to 3, in, If the identifier identifies the first position and the second position, the determiner is configured to: determining a direction indicating the first position from a reference position as a first direction; determining a direction indicating the second position from the reference position as a second direction; as well as Positions of the first input region and the second input region are determined based on the first direction and the second direction.
13. The recording medium according to any one of claims 1 to 3, causing the processor to further function as a vibration controller configured to vibrate the touch panel in at least one of the following situations: A case where a state where continuous touching of the touch panel is not performed is changed to a state where continuous touching of the touch panel is performed; a case where the touch position indicated by the touch position information acquired by the acquirer changes from a state of being outside the first input area to a state of being in the first input area; as well as A case where the touch position indicated by the touch position information acquired by the acquirer changes from a state of being outside the second input area to a state of being in the second input area.
14. An information processing device, the information processing device include: an acquirer configured to acquire touch position information indicating a touch position on the touch panel; A recognizer that is configured to: If (a) during a touch period in which continuous touching of the touch panel is performed, the touch position indicated by the touch position information acquired by the acquirer is within a first input region for receiving input of an instruction related to a game to be input therein in a first operation direction, and (b) the touch position satisfies a first condition related to the touch position, a position based on the touch position is identified as a first position, and if (c) during the touch period, the touch position indicated by the touch position information acquired by the acquirer is in a second input region for receiving input of an instruction related to a game to be input therein in a second operation direction, and (d) the touch position satisfies a second condition related to the touch position, identifying a position based on the touch position as a second position; as well as a determiner configured to determine positions of the first input area and the second input area based on the first position and the second position recognized by the recognizer, The first input area is an area of the touch panel for receiving a touch input along the first operation direction from a reference position on the touch panel, and the second input area is an area of the touch panel for receiving a touch input along the second operation direction from a reference position on the touch panel and is different from the first input area, Wherein the positions of the first input area and the second input area are determined based on the reference position, and the reference position changes according to changes in the first position and the second position.
15. A non-transitory computer-readable recording medium having recorded thereon a program causing a processor to function as: an acquirer configured to acquire touch position information indicating a touch position on the touch panel; A feature location determiner, the feature location determiner being configured to: if, during a touch period in which continuous touching of the touch panel is performed, the touch position indicated by the touch position information acquired by the acquirer is in a first area for receiving input of an instruction related to a game to be input therein in a first operation direction, determining a first characteristic position based on the touch position, and if the touch position is in a second area for receiving an input of an instruction related to a game to be input therein in a second operation direction, determining a second characteristic position based on the touch position; as well as an arrangement determiner configured to determine a position of a third area based on the first feature position and the second feature position determined by the feature position determiner, the third area being arranged between the first area and the second area and not receiving an indication of an operation direction related to the game, The position of the third area changes according to changes in the first characteristic position and the second characteristic position.
16. The recording medium according to claim 15, in, The arrangement determiner is configured to determine a size of the third area based on at least one of the first feature position and the second feature position.
17. The recording medium according to claim 15, in, The arrangement determiner is configured to determine a size of the third area based on a distance between the first feature position and the second feature position.
18. The recording medium according to claim 16 or 17, in, If the size of the third region calculated based on at least one of the first feature position and the second feature position exceeds a predetermined upper limit value, the arrangement determiner is configured to determine the upper limit value as the size of the third region as the upper limit value.
19. The recording medium according to any one of claims 15 to 17, in, A lower limit value is determined in advance for the size of the third area.
20. The recording medium according to any one of claims 15 to 17, in, The arrangement determiner is configured to determine a distance between one of the first feature position and the second feature position and the third area based on a distance between the first feature position and the second feature position.
21. The recording medium according to any one of claims 15 to 17, in, The arrangement determiner is configured to determine a position of the third area based on a distance between the first feature position and the second feature position.
22. The recording medium according to any one of claims 15 to 17, in, If the touch position is in a first direction area including the first area, the arrangement determiner is configured to determine the first feature position based on the touch position, and If the touch position is in a second direction area including the second area, the arrangement determiner is configured to determine the second feature position based on the touch position.
23. The recording medium according to any one of claims 15 to 17, in, The arrangement determiner is configured to: determining a position of the first region such that the first region is located farther than the third region in a first direction; and The second region is located at a position farther than the third region in a second direction, the second direction being opposite to the first direction.
24. An information processing device, the information processing device include: an acquirer configured to acquire touch position information indicating a touch position on the touch panel; A feature location determiner, the feature location determiner being configured to: If, during a touch period in which continuous touching of the touch panel is performed, a touch position indicated by the touch position information acquired by the acquirer is in a first area for receiving input of an instruction related to a game to be input therein in a first operation direction, a first characteristic position is determined based on the touch position, and if the touch position is in a second area for receiving an input of an instruction related to a game to be input therein in a second operation direction, determining a second characteristic position based on the touch position; and an arrangement determiner configured to determine a position of a third area based on the first feature position and the second feature position identified by the feature position determiner, the third area being arranged between the first area and the second area and not receiving an indication of an operation direction related to the game, The position of the third area changes according to changes in the first characteristic position and the second characteristic position.
