forked from enlightenment/efl
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:
parent
c80f527dbc
commit
fec6d1207a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue