summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorpierre lamot <pierre.lamot@openwide.fr>2015-02-20 14:35:16 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 10:42:51 +0100
commitfec6d1207ac0b34f5ab83ef25e797c10e129cdc1 (patch)
treed4f73382836f1056dcac437ba1c2b1ba006f71bf /src/lib/ecore_cocoa
parentc80f527dbc2a0714014263401310ee0eef69b889 (diff)
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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m
index a28dc99770..a20c72ba2f 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)
139 break; 139 break;
140 } 140 }
141 } 141 }
142 if (ev->keyname == NULL)
143 {
144 ev->keyname = "";
145 ev->key = "";
146 }
142 } 147 }
143 148
144 if ([keycharRaw length] == 0 && keyType == NSKeyDown) 149 if ([keycharRaw length] == 0 && keyType == NSKeyDown)