0x72:Insert,// listed as the Help key but it's in the same position on an Apple keyboard as the Insert key on a Windows keyboard; thanks to SeanieB from irc.badnik.net and Psy in irc.freenode.net/#macdev for confirming they have the same code
0x73:Home,
0x74:PageUp,
0x75:Delete,
0x76:F4,
0x77:End,
0x78:F2,
0x79:PageDown,
0x7A:F1,
0x7B:Left,
0x7C:Right,
0x7D:Down,
0x7E:Up,
}
varkeycodeModifiers=map[uintptr]Modifiers{
0x37:Super,// left command
0x38:Shift,// left shift
0x3A:Alt,// left option
0x3B:Ctrl,// left control
0x3C:Shift,// right shift
0x3D:Alt,// right alt
0x3E:Ctrl,// right control
// the following is not in Events.h for some reason
// thanks to Nicole and jedivulcan from irc.badnik.net