diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-03 00:53:24 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-03 00:53:24 -0400 |
| commit | fb8e64cb5a1cec37f3c6293e41ea1fe87ff0107d (patch) | |
| tree | ed55a05611f7c9241d931a331d359dd42f3d228a | |
| parent | 4ede7d497df1d76faea7de671a8fea73bc989dda (diff) | |
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).
| -rw-r--r-- | area_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
