Patent ID: 7924264

Claim:
A non-transitory computer readable storage medium storing an information processing program executable by a computer included in an information processing apparatus which can communicate with an input device performing a pointing action by using an image capturing device for capturing an image of a target object, and calculating a pointing position on a screen of a display device based on the image captured by the image capturing device, wherein the input device comprises a motion-attitude detector configured to detect a motion or an attitude of the input device, the information processing program causing the computer to execute: calculating a tilt value indicating a tilt of the input device using a result of detection by the motion-attitude detector; determining whether or not the pointing position can be calculated based on the image captured by the image capturing device; comparing the calculated tilt value with a reference value when the pointing position cannot be calculated based on the captured image; and outputting information about the tilt of the input device based on the comparing.