From 744d2a63c56f983fa182e59e333bd0fefee498f4 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Sun, 29 Oct 2017 16:06:31 +0100 Subject: [PATCH] ecore_cocoa: fix the backspace key The backspace key is supposed to send an ASCII code of 0x08, not 0x7F (this would be the delete key). This has not be seen before as it is is rare to use the ASCII code for the BackSpace key. @fix --- src/lib/ecore_cocoa/ecore_cocoa_keys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h index 00ae045..9a3324c 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h @@ -121,7 +121,7 @@ static const struct _ecore_cocoa_keys_s keystable[] = { 123, "braceleft", "{" }, { 124, "pipe", "|" }, { 125, "braceright", "}" }, -{ 127, "BackSpace", "\177" }, +{ 127, "BackSpace", "\x08" }, { 126, "asciitilde", "~" }, { 160, "w0", "" }, -- 2.7.4