summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJengHyun Kang <jhyuni.kang@samsung.com>2017-02-06 20:02:23 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2023-12-22 08:42:49 +0900
commit908516e546af9b9d48dc64aa9199aea86528e3ce (patch)
treef4f8866197b60acac58886a93b1efe0014e85f1e
parent3a1707602f4a28bc81bff08c8b35bbe43c4243a3 (diff)
downloadlibxkbcommon-908516e546af9b9d48dc64aa9199aea86528e3ce.tar.gz
libxkbcommon-908516e546af9b9d48dc64aa9199aea86528e3ce.tar.bz2
libxkbcommon-908516e546af9b9d48dc64aa9199aea86528e3ce.zip
Change a key symbol generationg file
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