A storage medium storing an input position processing program executed by a computer capable of performing a display operation of displaying images separately on a first display section (12 or 11) and a second display section (11 or 12), together forming a display device, based on an input position outputting from a pointing device according to a user operation, wherein: the computer is instructed to perform: an input position detection step (21; S43, S63, S68, S73, S84, S87, S92, S104, S107, S114, S120, S134, S139, S144) of detecting a series of pieces of position data in a display coordinate system of an image displayed on the display device based on input positions outputted from the pointing device, and storing the position data in a memory; a reference position storage step (21; S44) of defining, as a reference position, a first piece of position data among the series of pieces of position data stored in the input position storage step, and storing the reference position in the memory; a processing step (21; S69, S115, S135) of obtaining a rendered display image based on at least one piece of position data among the series of pieces of position data; and a display control step (21; S69, S115, S135) of, when an operation direction indicated by the series of pieces of position data in the display coordinate system with respect to the reference position indicates a reference direction that extends from a position of the first display section toward a position of the second display section, displaying the rendered display image obtained in the processing step on the second display section. the computer is instructed to perform: an input position detection step (21; S43, S63, S68, S73, S84, S87, S92, S104, S107, S114, S120, S134, S139, S144) of detecting a series of pieces of position data in a display coordinate system of an image displayed on the display device based on input positions outputted from the pointing device, and storing the position data in a memory; a reference position storage step (21; S44) of defining, as a reference position, a first piece of position data among the series of pieces of position data stored in the input position storage step, and storing the reference position in the memory; a processing step (21; S69, S115, S135) of obtaining a rendered display image based on at least one piece of position data among the series of pieces of position data; and a display control step (21; S69, S115, S135) of, when an operation direction indicated by the series of pieces of position data in the display coordinate system with respect to the reference position indicates a reference direction that extends from a position of the first display section toward a position of the second display section, displaying the rendered display image obtained in the processing step on the second display section. an input position detection step (21; S43, S63, S68, S73, S84, S87, S92, S104, S107, S114, S120, S134, S139, S144) of detecting a series of pieces of position data in a display coordinate system of an image displayed on the display device based on input positions outputted from the pointing device, and storing the position data in a memory; a reference position storage step (21; S44) of defining, as a reference position, a first piece of position data among the series of pieces of position data stored in the input position storage step, and storing the reference position in the memory; a processing step (21; S69, S115, S135) of obtaining a rendered display image based on at least one piece of position data among the series of pieces of position data; and a display control step (21; S69, S115, S135) of, when an operation direction indicated by the series of pieces of position data in the display coordinate system with respect to the reference position indicates a reference direction that extends from a position of the first display section toward a position of the second display section, displaying the rendered display image obtained in the processing step on the second display section.