5.4.2 Mac
The table below contains the Mac OS keys identifiers on a standard Mac keyboard “Apple keyboard 109 keys” with U.S. symbols. Only “convertible” identifiers can be mapped between Windows and Mac.
Mac OS Key ID |
Mac key or U.S. symbol |
Convertible |
macVK_Esc |
«Esc» |
+ |
macVK_F1 |
«F1» |
+ |
macVK_F2 |
«F2» |
+ |
macVK_F3 |
«F3» |
+ |
macVK_F4 |
«F4» |
+ |
macVK_F5 |
«F5» |
+ |
macVK_F6 |
«F6» |
+ |
macVK_F7 |
«F7» |
+ |
macVK_F8 |
«F8» |
+ |
macVK_F9 |
«F9» |
+ |
macVK_F10 |
«F10» |
+ |
macVK_F11 |
«F11» |
+ |
macVK_F12 |
«F12» |
+ |
macVK_F13 |
«F13» |
+ |
macVK_F14 |
«F14» |
+ |
macVK_F15 |
«F15» |
+ |
macVK_Oem3 |
«`~» |
+ |
macVK_1 |
«1» |
+ |
macVK_2 |
«2» |
+ |
macVK_3 |
«3» |
+ |
macVK_4 |
«4» |
+ |
macVK_5 |
«5» |
+ |
macVK_6 |
«6» |
+ |
macVK_7 |
«7» |
+ |
macVK_8 |
«8» |
+ |
macVK_9 |
«9» |
+ |
macVK_0 |
«0» |
+ |
macVK_Minus |
«-» |
+ |
macVK_Plus |
«+» |
+ |
macVK_BkSpace |
«Delete» («Backspace») |
+ |
macVK_Tab |
«Tab» |
+ |
macVK_Q |
«Q» |
+ |
macVK_W |
«W» |
+ |
macVK_E |
«E» |
+ |
macVK_R |
«R» |
+ |
macVK_T |
«T» |
+ |
macVK_Y |
«Y» |
+ |
macVK_U |
«U» |
+ |
macVK_I |
«I» |
+ |
macVK_O |
«O» |
+ |
macVK_P |
«P» |
+ |
macVK_Oem4 |
«[{« |
+ |
macVK_Oem6 |
«]}» |
+ |
macVK_Oem5 |
«\|» |
+ |
macVK_CapsLk |
«Caps Lock» |
- |
macVK_A |
«A» |
+ |
macVK_S |
«S» |
+ |
macVK_D |
«D» |
+ |
macVK_F |
«F» |
+ |
macVK_G |
«G» |
+ |
macVK_H |
«H» |
+ |
macVK_J |
«J» |
+ |
macVK_K |
«K» |
+ |
macVK_L |
«L» |
+ |
macVK_Oem1 |
«;:» |
+ |
macVK_Oem7 |
«'“» |
+ |
macVK_Enter |
«Enter» |
- |
macVK_Shift |
«Shift» |
+ |
macVK_Z |
«Z» |
+ |
macVK_X |
«X» |
+ |
macVK_C |
«C» |
+ |
macVK_V |
«V» |
+ |
macVK_B |
«B» |
+ |
macVK_N |
«N» |
+ |
macVK_M |
«M» |
+ |
macVK_Comma |
«,<« |
+ |
macVK_Dot |
«.>« |
+ |
macVK_Oem2 |
«/?» |
+ |
macVK_Ctrl |
«Control» |
+ |
macVK_Cmd |
«Command» |
+ |
macVK_Alt |
«Alt» or «Option» |
+ |
macVK_Space |
«Space» |
+ |
macVK_Menu |
Undefined |
+ |
macVK_Up |
«Up» |
+ |
macVK_Down |
«Down» |
+ |
macVK_Left |
«Left» |
+ |
macVK_Right |
«Right» |
+ |
macVK_Ins |
Undefined |
+ |
macVK_Home |
«Home» |
+ |
macVK_PgUp |
«Page Up» |
+ |
macVK_Del |
«Delete» |
+ |
macVK_End |
«End» |
+ |
macVK_PgDown |
«Page Down» |
+ |
macVK_Clear |
Num Pad: «Clear» |
- |
macVK_NSep |
Num Pad: «=» |
+ |
macVK_NSlash |
Num Pad: «/» |
+ |
macVK_NStar |
Num Pad: «*» |
+ |
macVK_NMinus |
Num Pad: «-» |
+ |
macVK_NPlus |
Num Pad: «+» |
+ |
macVK_NDot |
Num Pad: «.» |
+ |
macVK_N0 |
«0» |
+ |
macVK_N1 |
«1» |
+ |
macVK_N2 |
«2» |
+ |
macVK_N3 |
«3» |
+ |
macVK_N4 |
«4» |
+ |
macVK_N5 |
«5» |
+ |
macVK_N6 |
«6» |
+ |
macVK_N7 |
«7» |
+ |
macVK_N8 |
«8» |
+ |
macVK_N9 |
«9» |
+ |
