Previously, all keyboard events, Down, Repeat, Up would trigger this event. We only need the first down or release. Doing actions on release might be a bit strange though, so I'll also try with KeyDown. I'm not super familiar with cross term though
How Has This Been Tested?
Set your keyboard repeat rate to high to test the code before this change, then try it with this change
Description
Only propagate events on KeyRelease.
Motivation and Context
Previously, all keyboard events, Down, Repeat, Up would trigger this event. We only need the first down or release. Doing actions on release might be a bit strange though, so I'll also try with KeyDown. I'm not super familiar with cross term though
How Has This Been Tested?
Set your keyboard repeat rate to high to test the code before this change, then try it with this change