aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index cede913..21684ea 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -238,6 +238,8 @@ keySymToSpecial(PuglView* view, NSEvent* ev)
case NSF10FunctionKey: return PUGL_KEY_F10;
case NSF11FunctionKey: return PUGL_KEY_F11;
case NSF12FunctionKey: return PUGL_KEY_F12;
+ case NSDeleteCharacter: return PUGL_KEY_BACKSPACE;
+ case NSDeleteFunctionKey: return PUGL_KEY_DELETE;
case NSLeftArrowFunctionKey: return PUGL_KEY_LEFT;
case NSUpArrowFunctionKey: return PUGL_KEY_UP;
case NSRightArrowFunctionKey: return PUGL_KEY_RIGHT;