Bug 865566 Support "Separator" key on Numpad of Brazilian ABNT keyboard and JIS keyboard for Mac r=jimm

This commit is contained in:
Masayuki Nakano 2013-05-01 08:19:04 +09:00
parent 6f0e4ac237
commit c550436181
2 changed files with 5 additions and 0 deletions

View File

@ -439,6 +439,7 @@ KEY_MAP_QT (Zoom, Qt::Key_Zoom)
// Separator
KEY_MAP_WIN (Separator, VK_SEPARATOR)
KEY_MAP_WIN (Separator, VK_ABNT_C2) // This is on Brazilian keyboard.
KEY_MAP_COCOA (Separator, kVK_JIS_KeypadComma)
KEY_MAP_GTK (Separator, GDK_KP_Separator)
KEY_MAP_ANDROID (Separator, AKEYCODE_NUMPAD_COMMA)

View File

@ -20,6 +20,10 @@
#define VK_OEM_PERIOD 0xBE
#define VK_OEM_2 0xBF
#define VK_OEM_3 0xC0
// '/?' for Brazilian (ABNT)
#define VK_ABNT_C1 0xC1
// Separator in Numpad for Brazilian (ABNT) or JIS keyboard for Mac.
#define VK_ABNT_C2 0xC2
#define VK_OEM_4 0xDB
#define VK_OEM_5 0xDC
#define VK_OEM_6 0xDD