elm_entry: using keycode for main keyboard shortcuts
authorAli <ali198724@gmail.com>
Fri, 27 Mar 2020 06:07:16 +0000 (06:07 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 5 Apr 2020 21:33:56 +0000 (06:33 +0900)
commite64b481eea7a72ba860ba1059b47d6996e81271d
tree00d7f2133eb92ff1de24082d6a2bbd7a3e9229a7
parent8b829c9cdf360ed457f0eb0942589365b96e6638
elm_entry: using keycode for main keyboard shortcuts

Previously we use key strings to detect keyboard shortcuts (for example copy/paste/select_all, .. etc)
Now we will use key code alongside with these key strings (I do not remove the key string, because I am afraid something depends on them because some methods do not send keycode with keys)

This issue can be easily detected when the keyboard layout is not a Latin language, for example Hitting "C" will produce key string depends on related language not letter C, but Keycodes remain the same regardless of keyboard layout.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11606
src/lib/edje/edje_entry.c
src/tests/elementary/elm_test_entry.c