It's kind of disappointing when you think of something unique for once some time back in elementary school. Then some big movie company makes a movie off of it, or some game company makes a game off of it over 5 years later and people think you stole the idea from them.
trigger? checks if you just pressed it
repeat? checks if you've held it down. It should work itself out.