diff options
author | jhyuni.kang <jhyuni.kang@samsung.com> | 2015-04-28 01:15:54 +0900 |
---|---|---|
committer | jhyuni.kang <jhyuni.kang@samsung.com> | 2015-04-28 01:15:54 +0900 |
commit | 798282135d86cf396dd5e21892feaee8e7965bb4 (patch) | |
tree | 1dc9ff52d354803752d58df1d82141b7d9309236 | |
parent | 253d5cfd0079f556a24b930bcac54cf637a8de31 (diff) | |
download | xkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.tar.gz xkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.tar.bz2 xkeyboard-config-798282135d86cf396dd5e21892feaee8e7965bb4.zip |
Modify rule of keycode defined namesubmit/tizen_mobile/20150506.095952submit/tizen/20150506.045915accepted/tizen/wearable/20150506.095653accepted/tizen/tv/20150506.095539accepted/tizen/mobile/20150506.125702accepted/tizen/common/20150506.091430tizen_3.0.2015.q2_common
-rwxr-xr-x | make_keycodes.sh | 7 | ||||
-rwxr-xr-x | make_symbols.sh | 11 |
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} |