STORAGE MEDIUM HAVING STORED THEREON INFORMATION PROCESSING PROGRAM AND INFORMATION PROCESSING APPARATUS
First Claim
1. A computer readable storage medium having stored thereon an information processing program executed on a computer of an information processing apparatus which executes a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis directions applied to an input device, the information processing program causing the computer to function as:
- data obtaining means for repeatedly obtaining the acceleration data;
acceleration vector generation means for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining means, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining means time-sequentially following the first acceleration data;
cross product direction calculation means for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and
swing direction identification means for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product.
1 Assignment
0 Petitions
Accused Products
Abstract
Data obtaining means repeatedly obtains acceleration data. Acceleration vector generation means generates first acceleration vector in accordance with first acceleration data obtained by the data obtaining means, and generates second acceleration vector in accordance with second acceleration data time-sequentially obtained by the data obtaining means following the first acceleration data. The cross product direction calculation means calculates a direction of a cross product between the first acceleration vector and the second acceleration vector. The swing direction identification means identifies a swing direction in which the input device is swung in accordance with the direction of the cross product.
77 Citations
17 Claims
-
1. A computer readable storage medium having stored thereon an information processing program executed on a computer of an information processing apparatus which executes a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis directions applied to an input device, the information processing program causing the computer to function as:
-
data obtaining means for repeatedly obtaining the acceleration data; acceleration vector generation means for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining means, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining means time-sequentially following the first acceleration data; cross product direction calculation means for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and swing direction identification means for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An information processing apparatus performing a process using acceleration data outputted from an acceleration sensor detecting acceleration along at least two axis direction applied to an input device, comprising:
-
data obtaining means for repeatedly obtaining the acceleration data; acceleration vector generation means for generating first acceleration vector in accordance with first acceleration data obtained by the data obtaining means, and for generating second acceleration vector in accordance with second acceleration data obtained by the data obtaining means time-sequentially following the first acceleration data; cross product direction calculation means for calculating a direction of a cross product between the first acceleration vector and the second acceleration vector; and swing direction identification means for identifying a swing direction in which the input device is swung in accordance with the direction of the cross product.
-
Specification