×

Computer-readable storage medium storing information processing program and information processing device

  • US 8,216,070 B2
  • Filed: 05/07/2008
  • Issued: 07/10/2012
  • Est. Priority Date: 02/15/2008
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer-readable storage medium storing an information processing program that is to be executed on a computing system that includes at least one processor that is configured to process data that is outputted from an acceleration sensor configured to detect accelerations in at least two axial directions, the information processing program comprising instructions configured to:

  • repeatedly receive acceleration data;

    repeatedly calculate a change amount vector based on the received acceleration data;

    repeatedly determine whether or not a magnitude of the calculated change amount vector is equal to or larger than a first threshold value;

    execute predetermined processing when the magnitude of the change amount vector is equal to or larger than the first threshold value;

    calculate a swinging direction based on the change amount vector when the magnitude of the change amount vector is equal to or larger than the first threshold value;

    set at least one second threshold value in a direction opposite to the swinging direction after the swinging direction is calculated;

    determine whether or not the change amount vector intersects with the second threshold value; and

    determine whether or not the magnitude of the change amount vector is smaller than a third threshold value which is equal to or smaller than the first threshold value after an intersection of the change amount vector with the second threshold value is determined,wherein after the magnitude of the change amount vector is determined to be equal to or larger than the first threshold value, subsequent determination of a magnitude of a subsequent change amount vector that is equal to or larger than the first threshold value waits for the magnitude of the change amount vector to be determined to be smaller than the third threshold value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×