summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjhyuni.kang <jhyuni.kang@samsung.com>2015-04-28 01:15:54 +0900
committerjhyuni.kang <jhyuni.kang@samsung.com>2015-04-28 01:15:54 +0900
commit798282135d86cf396dd5e21892feaee8e7965bb4 (patch)
tree1dc9ff52d354803752d58df1d82141b7d9309236
parent253d5cfd0079f556a24b930bcac54cf637a8de31 (diff)
downloadxkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.tar.gz
xkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.tar.bz2
xkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.zip
-rwxr-xr-xmake_keycodes.sh7
-rwxr-xr-xmake_symbols.sh11
2 files changed, 4 insertions, 14 deletions
diff --git a/make_keycodes.sh b/make_keycodes.sh
index 616854a9..abf8ecad 100755
--- a/make_keycodes.sh
+++ b/make_keycodes.sh
@@ -26,12 +26,7 @@ while read KEYNAME KERNEL_KEYCODE
do
KERNEL_KEYCODE=$(echo $KERNEL_KEYCODE $PLATFORM_BASE_KEYCODE | awk '{print $1 + $2}')
KEYCODE="${KERNEL_KEYCODE}"
- if [ "${TIZEN_WINDOW_SYSTEM}" = "x11" ]
- then
- FULL_KEY_LIST=${FULL_KEY_LIST}"\n\t<I${KEYCODE}>=${KEYCODE}; \/\/ ${KEYNAME}"
- else
- FULL_KEY_LIST=${FULL_KEY_LIST}"\n\t<${KEYNAME#XF86}>=${KEYCODE};"
- fi
+ FULL_KEY_LIST=${FULL_KEY_LIST}"\n\t<I${KEYCODE}>=${KEYCODE}; \/\/ ${KEYNAME}"
done < ${KEYMAP_FILE_PATH}
echo ${FULL_KEY_LIST}
diff --git a/make_symbols.sh b/make_symbols.sh
index 6ccdc5cb..11ffa6ec 100755
--- a/make_symbols.sh
+++ b/make_symbols.sh
@@ -46,14 +46,9 @@ echo "" >> ${TEMP_SYMBOLS_FILE}
echo "// Tizen common keys" >> ${TEMP_SYMBOLS_FILE}
while read KEYNAME KERNEL_KEYCODE
do
- if [ "${TIZEN_WINDOW_SYSTEM}" = "x11" ]
- then
- KERNEL_KEYCODE=$(echo $KERNEL_KEYCODE $PLATFORM_BASE_KEYCODE | awk '{print $1 + $2}')
- KEYCODE="${KERNEL_KEYCODE}"
- echo "key <I$KEYCODE> { [ ${KEYNAME} ] };" >> ${TEMP_SYMBOLS_FILE}
- else
- echo "key <"${KEYNAME#XF86}"> { [ "${KEYNAME}" ] };" >> ${TEMP_SYMBOLS_FILE}
- fi
+ KERNEL_KEYCODE=$(echo $KERNEL_KEYCODE $PLATFORM_BASE_KEYCODE | awk '{print $1 + $2}')
+ KEYCODE="${KERNEL_KEYCODE}"
+ echo "key <I$KEYCODE> { [ ${KEYNAME} ] };" >> ${TEMP_SYMBOLS_FILE}
done < ${KEYMAP_FILE_PATH}
echo "};" >> ${TEMP_SYMBOLS_FILE}