The past tense of keystroke is keystroked.
The third-person singular simple present indicative form of keystroke is keystrokes.
The present participle of keystroke is keystroking.
The past participle of keystroke is keystroked.