summaryrefslogtreecommitdiff
path: root/events_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-06 19:35:26 -0400
committerPietro Gagliardi <[email protected]>2014-06-06 19:35:26 -0400
commitb6ca65069244ef4d85ae7f26e6bfee046cb4b6a8 (patch)
tree4a634373a8ae694bcc379f5619a8a2ef3413cce3 /events_darwin.go
parent3f45feab0bdacc971a24a1c8722bc06afc29e01e (diff)
Added Help key handling (as Insert) on Mac OS X.
Diffstat (limited to 'events_darwin.go')
-rw-r--r--events_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/events_darwin.go b/events_darwin.go
index e725d37..e2ec2e3 100644
--- a/events_darwin.go
+++ b/events_darwin.go
@@ -90,7 +90,7 @@ var keycodeExtKeys = map[uintptr]ExtKey{
0x67: F11,
0x6D: F10,
0x6F: F12,
-// 0x72: kVK_Help,
+ 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,