An information processing program for processing input data outputted from a predetermined input device, the information processing program causing a computer to operate as: following value calculation means (18, S35) for calculating a following value which follows a target value which is an input coordinate set on the basis of the input data or an allowance coordinate, wherein when a distance between the latest input coordinate and the allowance coordinate is less than or equal to a predetermined distance, the allowance coordinate does not change, and when the distance between the latest input coordinate and the allowance coordinate is larger than the predetermined distance, the allowance coordinate moves toward the latest input coordinate such that the distance to the latest input coordinate and the allowance coordinate agrees with the predetermined distance, and wherein the following value is a value which is controlled so as to gradually approach the target value even when the target value stops; and interruption compensation means (18, S38, S39) for determining that input continues and correcting the input data, if the following value satisfies a predetermined condition when output of the input data from the input device is interrupted, wherein the predetermined condition is at least either of, if the change amount of the following value per unit time is equal to or more than a predetermined value, or if the difference between the following value and the target value is greater than a predetermined value, wherein the following value calculation means calculates the following value such that the following value follows the target value at a predetermined rate. following value calculation means (18, S35) for calculating a following value which follows a target value which is an input coordinate set on the basis of the input data or an allowance coordinate, wherein when a distance between the latest input coordinate and the allowance coordinate is less than or equal to a predetermined distance, the allowance coordinate does not change, and when the distance between the latest input coordinate and the allowance coordinate is larger than the predetermined distance, the allowance coordinate moves toward the latest input coordinate such that the distance to the latest input coordinate and the allowance coordinate agrees with the predetermined distance, and wherein the following value is a value which is controlled so as to gradually approach the target value even when the target value stops; and interruption compensation means (18, S38, S39) for determining that input continues and correcting the input data, if the following value satisfies a predetermined condition when output of the input data from the input device is interrupted, wherein the predetermined condition is at least either of, if the change amount of the following value per unit time is equal to or more than a predetermined value, or if the difference between the following value and the target value is greater than a predetermined value, wherein the following value calculation means calculates the following value such that the following value follows the target value at a predetermined rate.