Patent ID: 8810527

Claim:
An information processing apparatus comprising: an acquisition unit configured to acquire a plurality of touching positions on a locus of a touching operation for moving positions of touching a touch panel without releasing the touching on the touch panel; a determination unit configured to determine an operation direction of the touching operation by using a determination condition based on the plurality of touching positions acquired by the acquisition unit; a control unit configured to execute control, according to the operation direction determined by the determination unit, to perform an action predetermined in association with the operation direction; a storage control unit configured to execute control to store, on a memory, the operation direction determined by the determination unit; and a changing unit configured to change the determination condition based on the operation direction stored on the memory to determine an operation direction of a touching operation executed after the touching operation for which the operation direction has been determined and stored, is released, wherein the determination unit is configured, if a touching operation for moving positions of touching the touch panel without releasing the touching on the touch panel is executed within a specific time after a previous touching operation has released, to determine the operation direction by using the determination condition changed by the changing unit, and is configured, if a touching operation for moving positions of touching the touch panel without releasing the touching on the touch panel is executed after a specific time has elapsed after a previous touching operation has released, to determine the operation direction by using the determination condition that has not been changed by the changing unit.