cedric pushed a commit to branch master.

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

commit fec6d1207ac0b34f5ab83ef25e797c10e129cdc1
Author: pierre lamot <[email protected]>
Date:   Fri Feb 20 14:35:16 2015 +0100

    ecore_cocoa: add support for non latin keyboard events
    
    this patch adds support for non latin keyboard layout such as
    arabic, greek or hebrew, some language might not be functionnal
    tough like korean or chineese
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/ecore_cocoa/ecore_cocoa.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m 
b/src/lib/ecore_cocoa/ecore_cocoa.m
index a28dc99..a20c72b 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -139,6 +139,11 @@ _ecore_cocoa_event_key(NSEvent *event, int keyType)
                   break;
                }
           }
+        if (ev->keyname == NULL)
+          {
+             ev->keyname = "";
+             ev->key = "";
+          }
      }
 
    if ([keycharRaw length] == 0  && keyType == NSKeyDown)

-- 


Reply via email to