aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.c
diff options
context:
space:
mode:
authorStefan Westerfeld <stefan@space.twc.de>2019-06-23 16:43:52 +0200
committerDavid Robillard <d@drobilla.net>2019-07-25 10:26:19 +0200
commit27dbe9421e63e253afd6ba9885d7988220be605f (patch)
treed0f3a5478967aced38f6b99a2e143b5225e608d2 /pugl/pugl_win.c
parentd746d66836757c0a43109ac79888da6fa4513cd8 (diff)
downloadpugl-27dbe9421e63e253afd6ba9885d7988220be605f.tar.gz
pugl-27dbe9421e63e253afd6ba9885d7988220be605f.tar.bz2
pugl-27dbe9421e63e253afd6ba9885d7988220be605f.zip
Handle backspace and delete consistently across platforms
Diffstat (limited to 'pugl/pugl_win.c')
-rw-r--r--pugl/pugl_win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c
index 6c47789..516b094 100644
--- a/pugl/pugl_win.c
+++ b/pugl/pugl_win.c
@@ -413,6 +413,8 @@ keySymToSpecial(WPARAM sym)
case VK_F10: return PUGL_KEY_F10;
case VK_F11: return PUGL_KEY_F11;
case VK_F12: return PUGL_KEY_F12;
+ case VK_BACK: return PUGL_KEY_BACKSPACE;
+ case VK_DELETE: return PUGL_KEY_DELETE;
case VK_LEFT: return PUGL_KEY_LEFT;
case VK_UP: return PUGL_KEY_UP;
case VK_RIGHT: return PUGL_KEY_RIGHT;