Skip to content

Commit

Permalink
win32: fix left/right control keys mapped to shift
Browse files Browse the repository at this point in the history
  • Loading branch information
sqweek committed Feb 7, 2016
1 parent 795bb4d commit 9c800e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win/keys_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ func keyFromVirtualKeyCode(vk uintptr) string {
case w32.VK_RSHIFT:
return wde.KeyRightShift
case w32.VK_LCONTROL:
return wde.KeyLeftShift
return wde.KeyLeftControl
case w32.VK_RCONTROL:
return wde.KeyRightShift
return wde.KeyRightControl
case w32.VK_LMENU:
return wde.KeyLeftAlt
case w32.VK_RMENU:
Expand Down

0 comments on commit 9c800e5

Please sign in to comment.