Patent ID: 8847927

Claim:
A non-transitory computer-readable storage medium having stored therein an information processing program which causes a computer in an information processing apparatus including a pointing device to at least perform: coordinate detection for detecting coordinates pointed to by the pointing device; first change amount calculation for calculating a change amount of the coordinates in a first direction, the coordinates obtained when inputting is continuously performed by the pointing device; second change amount calculation for calculating a change amount of the coordinates in a second direction, the coordinates obtained when inputting is continuously performed by the pointing device; first operation for performing a first operation based on the change amount in the first direction, the change amount calculated by the first change amount calculation; and second operation for performing, based on the change amount in the second direction, a second operation that is a different type of operation from the first operation, the change amount calculated by the second change amount calculation; wherein the first and second change amount calculations respectively calculate the first and second change amounts in a same set of detected coordinates which point in a direction other than the first direction and the second direction, wherein the information processing program further causes the computer in the information processing apparatus to perform computation for computing the change amount in the first direction and the change amount in the second direction, wherein when a value obtained by the computation is within a first predetermined range, the first operation is performed, and when the value obtained by the computation is within a second predetermined range, the first operation is not performed, wherein when a value obtained by the computation is within the second predetermined range, the second operation is performed, and when the value obtained by the computation is within the first predetermined range, the second operation is not performed, and wherein when the value obtained by the computation is neither within the first predetermined range nor within the second predetermined range, the first operation is performed and the second operation is performed.