зеркало из https://github.com/mozilla/gecko-dev.git
Bug 748590 - Backout adea606b5694 to map KEYCODE_DPAD_CENTER to DOM_VK_RETURN. r=eeejay
This commit is contained in:
Родитель
310f71dc8b
Коммит
c6f4fe28ad
|
@ -1605,7 +1605,7 @@ static unsigned int ConvertAndroidKeyCodeToDOMKeyCode(int androidKeyCode)
|
|||
case AndroidKeyEvent::KEYCODE_DPAD_DOWN: return NS_VK_DOWN;
|
||||
case AndroidKeyEvent::KEYCODE_DPAD_LEFT: return NS_VK_LEFT;
|
||||
case AndroidKeyEvent::KEYCODE_DPAD_RIGHT: return NS_VK_RIGHT;
|
||||
case AndroidKeyEvent::KEYCODE_DPAD_CENTER: return NS_VK_ENTER;
|
||||
case AndroidKeyEvent::KEYCODE_DPAD_CENTER: return NS_VK_RETURN;
|
||||
// KEYCODE_VOLUME_UP (24) ... KEYCODE_Z (54)
|
||||
case AndroidKeyEvent::KEYCODE_COMMA: return NS_VK_COMMA;
|
||||
case AndroidKeyEvent::KEYCODE_PERIOD: return NS_VK_PERIOD;
|
||||
|
|
Загрузка…
Ссылка в новой задаче