Fix typo in input_examples.rst

This commit is contained in:
Nathan Lovato
2021-01-21 11:48:45 -06:00
parent bb8013bcc1
commit 359f09343a

View File

@@ -203,7 +203,7 @@ the :kbd:`T`:
{
if (inputEvent is InputEventKey keyEvent && keyEvent.Pressed)
{
if ((Keylist)keyEvent.Keycode == KeyList.T)
if ((KeyList)keyEvent.Keycode == KeyList.T)
{
GD.Print("T was pressed");
}