STORAGE MEDIUM STORING INFORMATION PROCESSING PROGRAM, AND INFORMATION PROCESSING APPARATUS
First Claim
1. A computer-readable storage medium storing an information processing program executed by a computer of an information processing apparatus that executes predetermined processing based on acceleration data outputted from an input device including an acceleration sensor for detecting acceleration,the information processing program causing the computer to function as:
- data obtaining means for repeatedly obtaining the acceleration data;
change amount calculation means for calculating, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; and
gravity direction calculation means for calculating a direction of gravity of the input device by using the acceleration indicated by the acceleration data, based on the change amount of the acceleration.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing program is provided, which is executed by a computer of an information processing apparatus that executes predetermined processing based on acceleration data outputted from an input device including an acceleration sensor for detecting acceleration. The information processing program causes the computer to function as data obtaining means, change amount calculation means, and gravity direction calculation means. The data obtaining means repeatedly obtains the acceleration data. The change amount calculation means calculates, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device. The gravity direction calculation means calculates a direction of gravity of the input device by using the acceleration indicated by the acceleration data, based on the change amount of the acceleration.
-
Citations
19 Claims
-
1. A computer-readable storage medium storing an information processing program executed by a computer of an information processing apparatus that executes predetermined processing based on acceleration data outputted from an input device including an acceleration sensor for detecting acceleration,
the information processing program causing the computer to function as: -
data obtaining means for repeatedly obtaining the acceleration data; change amount calculation means for calculating, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; and gravity direction calculation means for calculating a direction of gravity of the input device by using the acceleration indicated by the acceleration data, based on the change amount of the acceleration. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An information processing apparatus that executes predetermined processing based on acceleration data outputted from an input device including an acceleration sensor for detecting acceleration, the information processing apparatus comprising:
-
data obtaining means for repeatedly obtaining the acceleration data; change amount calculation means for calculating, by using a history of acceleration indicated by the acceleration data, a change amount of acceleration generated in the input device; and gravity direction calculation means for calculating a direction of gravity of the input device by using the acceleration indicated by the acceleration data, based on the change amount of the acceleration. - View Dependent Claims (19)
-
Specification