METHOD FOR MAPPING MOVEMENTS OF A HAND-HELD CONTROLLER TO GAME COMMANDS
One embodiment provides a method for use in a game that includes the steps of receiving position information for a controller that is being manipulated by a user, analyzing the position information to determine whether a predetermined movement of the controller associated with a command has been performed, and executing the command if the predetermined movement of the controller associated with the command has been performed.
1 . A method for use in a game, comprising the steps of:
receiving position information for a controller that is being manipulated by a user;
analyzing the position information to determine whether a predetermined movement of the controller associated with a command has been performed; and
executing the command if the predetermined movement of the controller associated with the command has been performed.
2 . A method in accordance with claim 1 , further comprising the step of:
generating an interrupt for the game if the predetermined movement of the controller associated with the command has been performed.
3 . A method in accordance with claim 1 , wherein the step of analyzing comprises the step of:
determining whether the position information for the controller indicates that it has fallen within certain ranges associated with the a predetermined movement of the controller associated with a command.
4 . A method in accordance with claim 1 , further comprising the step of:
receiving on an image plane of a camera a projection of a geometric shape established on the controller.
5 . A method in accordance with claim 4 , further comprising the step of:
analyzing movements and deformities in the projection of the geometric shape.
6 . A computer program product comprising a medium for embodying a computer program for input to a computer and a computer program embodied in the medium for causing the computer to perform steps of:
receiving position information for a controller that is being manipulated by a user;
analyzing the position information to determine whether a predetermined movement of the controller associated with a command has been performed; and
executing the command if the predetermined movement of the controller associated with the command has been performed.
7 . A computer program product in accordance with claim 6 , further comprising the step of:
generating an interrupt for the game if the predetermined movement of the controller associated with the command has been performed.
8 . A computer program product in accordance with claim 6 , wherein the step of analyzing comprises the step of:
determining whether the position information for the controller indicates that it has fallen within certain ranges associated with the a predetermined movement of the controller associated with a command.
9 . A computer program product in accordance with claim 6 , further comprising the step of:
receiving on an image plane of a camera a projection of a geometric shape established on the controller.
10 . A computer program product in accordance with claim 9 , further comprising the step of:
analyzing movements and deformities in the projection of the geometric shape.