mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897885 part.1 Handle kVK_JIS_KeypadComma in widget::TextInputHandler r=smichaud
This commit is contained in:
parent
ea46bf3d63
commit
de06376613
@ -914,6 +914,7 @@ TISInputSourceWrapper::InitKeyEvent(NSEvent *aNativeKeyEvent,
|
||||
case kVK_ANSI_KeypadDivide:
|
||||
case kVK_ANSI_KeypadEquals:
|
||||
case kVK_ANSI_KeypadEnter:
|
||||
case kVK_JIS_KeypadComma:
|
||||
case kVK_Powerbook_KeypadEnter:
|
||||
aKeyEvent.location = nsIDOMKeyEvent::DOM_KEY_LOCATION_NUMPAD;
|
||||
break;
|
||||
@ -1223,6 +1224,8 @@ TISInputSourceWrapper::ComputeGeckoKeyCode(UInt32 aNativeKeyCode,
|
||||
case kVK_ANSI_KeypadDecimal: return NS_VK_DECIMAL;
|
||||
case kVK_ANSI_KeypadDivide: return NS_VK_DIVIDE;
|
||||
|
||||
case kVK_JIS_KeypadComma: return NS_VK_SEPARATOR;
|
||||
|
||||
// IME keys
|
||||
case kVK_JIS_Eisu: return NS_VK_EISU;
|
||||
case kVK_JIS_Kana: return NS_VK_KANA;
|
||||
|
Loading…
Reference in New Issue
Block a user