summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJengHyun Kang <jhyuni.kang@samsung.com>2017-02-06 20:02:23 +0900
committerJengHyun Kang <jhyuni.kang@samsung.com>2017-02-06 20:02:23 +0900
commiteb338adad0fed898e14e673e9ae3e4ab7aa95178 (patch)
tree2cfb0882fd5adca19a097b97e9357d00807264d8
parent11d76a529b6ac06864d947ceb06fd999761cf10b (diff)
downloadlibxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.tar.gz
libxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.tar.bz2
libxkbcommon-eb338adad0fed898e14e673e9ae3e4ab7aa95178.zip
Change a key symbol generationg filesubmit/tizen/20170223.113357
Change-Id: I3e360b3233f60374e73e394b5621af18965e351b
-rwxr-xr-xmake_tizen_keymap.sh8
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