Bug 1027472 Support Symbol key value on Android and Gonk r=mwu+nchen+smaug

This commit is contained in:
Masayuki Nakano 2014-12-30 10:47:55 +09:00
parent 478c8eafdf
commit 4cefbaca68
3 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,7 @@ DEFINE_KEYNAME_WITH_SAME_NAME(OS)
DEFINE_KEYNAME_WITH_SAME_NAME(ScrollLock)
DEFINE_KEYNAME_WITH_SAME_NAME(Shift)
// DEFINE_KEYNAME_WITH_SAME_NAME(Super)
// DEFINE_KEYNAME_WITH_SAME_NAME(Symbol)
DEFINE_KEYNAME_WITH_SAME_NAME(Symbol)
// DEFINE_KEYNAME_WITH_SAME_NAME(SymbolLock)
/******************************************************************************

View File

@ -170,6 +170,9 @@ KEY_MAP_QT (Shift, Qt::Key_Shift)
KEY_MAP_ANDROID (Shift, AKEYCODE_SHIFT_LEFT)
KEY_MAP_ANDROID (Shift, AKEYCODE_SHIFT_RIGHT)
// Symbol
KEY_MAP_ANDROID (Symbol, AKEYCODE_SYM)
/******************************************************************************
* Whitespace Keys
******************************************************************************/

View File

@ -1375,7 +1375,6 @@ ConvertAndroidKeyCodeToKeyNameIndex(AndroidGeckoEvent& aAndroidGeckoEvent)
case AKEYCODE_SOFT_RIGHT:
case AKEYCODE_CALL:
case AKEYCODE_ENDCALL:
case AKEYCODE_SYM: // Symbol modifier
case AKEYCODE_NUM: // XXX Not sure
case AKEYCODE_HEADSETHOOK:
case AKEYCODE_FOCUS: