jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=744d2a63c56f983fa182e59e333bd0fefee498f4

commit 744d2a63c56f983fa182e59e333bd0fefee498f4
Author: Jean Guyomarc'h <[email protected]>
Date:   Sun Oct 29 16:06:31 2017 +0100

    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 00ae04590a..9a3324c2c7 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",           "" }, 

-- 


Reply via email to