diff options
-rwxr-xr-x | make_keycodes.sh | 3 | ||||
-rwxr-xr-x | make_symbols.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/make_keycodes.sh b/make_keycodes.sh index abf8ecad..55a24c8c 100755 --- a/make_keycodes.sh +++ b/make_keycodes.sh @@ -22,8 +22,9 @@ cp ${KEYCODES_PATH}${DEFAULT_KEYCODES_NAME} ${KEYCODES_PATH}${NEW_KEYCODES_NAME} echo ${KEYCODES_PATH}${NEW_KEYCODES_NAME} -while read KEYNAME KERNEL_KEYCODE +while read KEYNAME KERNEL_KEYCODE KEYBOARD_KEY do + [ "$KEYBOARD_KEY" = "keyboard" ] && continue KERNEL_KEYCODE=$(echo $KERNEL_KEYCODE $PLATFORM_BASE_KEYCODE | awk '{print $1 + $2}') KEYCODE="${KERNEL_KEYCODE}" FULL_KEY_LIST=${FULL_KEY_LIST}"\n\t<I${KEYCODE}>=${KEYCODE}; \/\/ ${KEYNAME}" diff --git a/make_symbols.sh b/make_symbols.sh index 11ffa6ec..73caf722 100755 --- a/make_symbols.sh +++ b/make_symbols.sh @@ -44,8 +44,9 @@ done < ${SYMBOLS_PATH} echo "" >> ${TEMP_SYMBOLS_FILE} echo "// Tizen common keys" >> ${TEMP_SYMBOLS_FILE} -while read KEYNAME KERNEL_KEYCODE +while read KEYNAME KERNEL_KEYCODE KEYBOARD_KEY do + [ "$KEYBOARD_KEY" = "keyboard" ] && continue KERNEL_KEYCODE=$(echo $KERNEL_KEYCODE $PLATFORM_BASE_KEYCODE | awk '{print $1 + $2}') KEYCODE="${KERNEL_KEYCODE}" echo "key <I$KEYCODE> { [ ${KEYNAME} ] };" >> ${TEMP_SYMBOLS_FILE} |