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>
This commit is contained in:
pierre lamot 2015-02-20 14:35:16 +01:00 committed by Cedric BAIL
parent c80f527dbc
commit fec6d1207a
1 changed files with 5 additions and 0 deletions

View File

@ -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)