mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1027472 Support Symbol key value on Android and Gonk r=mwu+nchen+smaug
This commit is contained in:
parent
478c8eafdf
commit
4cefbaca68
@ -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)
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -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
|
||||
******************************************************************************/
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user