mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1133741 - Add camera focus hardware button. r=masayuki
This commit is contained in:
parent
6b135c4dad
commit
53342df346
@ -30,6 +30,7 @@ DEFINE_KEYNAME_WITH_SAME_NAME(Unidentified)
|
||||
*****************************************************************************/
|
||||
DEFINE_KEYNAME_INTERNAL(PrintableKey, "MozPrintableKey")
|
||||
DEFINE_KEYNAME_INTERNAL(HomeScreen, "MozHomeScreen")
|
||||
DEFINE_KEYNAME_INTERNAL(CameraFocusAdjust, "MozCameraFocusAdjust")
|
||||
|
||||
/******************************************************************************
|
||||
* Modifier Keys
|
||||
|
@ -1301,6 +1301,10 @@ KEY_MAP_QT (ZoomToggle, Qt::Key_Zoom)
|
||||
// HomeScreen
|
||||
KEY_MAP_ANDROID (HomeScreen, AKEYCODE_HOME)
|
||||
|
||||
// Focus
|
||||
KEY_MAP_QT (CameraFocusAdjust, Qt::Key_CameraFocus)
|
||||
KEY_MAP_ANDROID (CameraFocusAdjust, AKEYCODE_FOCUS)
|
||||
|
||||
#undef KEY_MAP_WIN
|
||||
#undef KEY_MAP_WIN_JPN
|
||||
#undef KEY_MAP_WIN_KOR
|
||||
|
@ -1375,7 +1375,6 @@ ConvertAndroidKeyCodeToKeyNameIndex(AndroidGeckoEvent& aAndroidGeckoEvent)
|
||||
case AKEYCODE_ENDCALL:
|
||||
case AKEYCODE_NUM: // XXX Not sure
|
||||
case AKEYCODE_HEADSETHOOK:
|
||||
case AKEYCODE_FOCUS:
|
||||
case AKEYCODE_NOTIFICATION: // XXX Not sure
|
||||
case AKEYCODE_PICTSYMBOLS:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user