diff --git a/Source/Engine/Platform/Mac/MacWindow.cpp b/Source/Engine/Platform/Mac/MacWindow.cpp index cf045377a..4309a70e5 100644 --- a/Source/Engine/Platform/Mac/MacWindow.cpp +++ b/Source/Engine/Platform/Mac/MacWindow.cpp @@ -265,6 +265,13 @@ Vector2 GetMousePosition(MacWindow* window, NSEvent* event) Input::Keyboard->OnKeyDown(key); // Send a text input event + switch (key) + { + // Ignore text from special keys + case KeyboardKeys::Delete: + case KeyboardKeys::Backspace: + return; + } NSString* text = [event characters]; int32 length = [text length]; if (length > 0)