From fb8e64cb5a1cec37f3c6293e41ea1fe87ff0107d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 3 Jun 2014 00:53:24 -0400 Subject: [PATCH] Removed a TODO from area_windows.go after verifying that what it flagged (GetKeyState() vs. GetAsyncKeyState()) is indeed what we want to do (the former). --- area_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/area_windows.go b/area_windows.go index 11802c9..ace3cba 100644 --- a/area_windows.go +++ b/area_windows.go @@ -421,7 +421,7 @@ var ( func getModifiers() (m Modifiers) { down := func(x uintptr) bool { - // TODO this might not be related to the actual message; GLFW does it + // GetKeyState() gets the key state at the time of the message, so this is what we want r1, _, _ := _getKeyState.Call(x) return (r1 & 0x80) != 0 }