Patent ID: 8000924

Claim:
A non-transitory computer readable recording medium recording an information processing program that is executed by a computer of an information processing apparatus for performing a predetermined information process based on a motion detection signal output from an input device including a motion detection sensor for detecting its own motion, wherein the process comprises: repeatedly calculating a first attitude indicating an attitude of the input device based on the motion detection signal; calculating a motion of the first attitude based on the repeatedly calculated first attitude; determining whether or not the first attitude is performing a motion of approaching a predetermined attitude, which corresponds to a base position of the input device, based on the calculated motion of the first attitude; setting, as an input attitude, an attitude obtained by correcting the first attitude so that the first attitude coincides with or approaches the predetermined attitude direction if the first attitude is performing the motion of approaching the predetermined attitude, or setting the first attitude as an input attitude if the first attitude is not performing the motion of approaching the predetermined attitude; and performing a predetermined information process based on the input attitude.