diff options
author | JengHyun Kang <jhyuni.kang@samsung.com> | 2017-02-06 20:02:23 +0900 |
---|---|---|
committer | JengHyun Kang <jhyuni.kang@samsung.com> | 2017-02-06 20:02:23 +0900 |
commit | eb338adad0fed898e14e673e9ae3e4ab7aa95178 (patch) | |
tree | 2cfb0882fd5adca19a097b97e9357d00807264d8 | |
parent | 11d76a529b6ac06864d947ceb06fd999761cf10b (diff) | |
download | libxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.tar.gz libxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.tar.bz2 libxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.zip |
Change a key symbol generationg filesubmit/tizen/20170223.113357
Change-Id: I3e360b3233f60374e73e394b5621af18965e351b
-rwxr-xr-x | make_tizen_keymap.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make_tizen_keymap.sh b/make_tizen_keymap.sh index ef9a2db..47c4974 100755 --- a/make_tizen_keymap.sh +++ b/make_tizen_keymap.sh @@ -4,7 +4,7 @@ if [ "$TZ_SYS_RO_SHARE" = "" ]; then TZ_SYS_RO_SHARE="/usr/share" fi -KEYMAP_FILE_PATH="${TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt" +KEYMAP_FILE_PATH="${TZ_SYS_RO_SHARE}/X11/xkb/new_symbols.txt" BASE_KEYSYM="0x10090000" TARGET_HEADER_FILE="./xkbcommon/tizen_keymap.h" TEMP_TEXT_FILE="./temp_file.txt" @@ -15,16 +15,16 @@ BASE_KEYSYM_DEC=`python -c "print int('$BASE_KEYSYM', 16)"` if [ -e ${KEYMAP_FILE_PATH} ] then - echo "We have a key layout file: ${KEYMAP_FILE_PATH}" + echo "We have a new defined key symbols file: ${KEYMAP_FILE_PATH}" else - echo "We don't have a key layout file: ${KEYMAP_FILE_PATH}" + echo "We don't have a new defined key symbols file: ${KEYMAP_FILE_PATH}" exit fi echo "Generate a tizen keymap header file" touch $NEW_DEFINE_SYM_FILE -while read KEYNAME KEYCODE +while read KEYNAME do KEYSYM="XKB_KEY_${KEYNAME}" grep -rn "${KEYSYM}" $KEYMAP_HEADER_FILE > $TEMP_TEXT_FILE |