Skip to content

Commit

Permalink
Merge pull request gmamaladze#48 from Shujee/vNext
Browse files Browse the repository at this point in the history
Fixed Repeat Key issue
  • Loading branch information
gmamaladze committed Jan 8, 2016
2 parents 25e6ddb + a1d7c69 commit feb4088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MouseKeyHook/KeyEventArgsExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal static KeyEventArgsExt FromRawDataApp(CallbackData data)

Keys keyData = AppendModifierStates((Keys) wParam);

bool isKeyDown = !wasKeyDown && !isKeyReleased;
bool isKeyDown = !isKeyReleased;
bool isKeyUp = wasKeyDown && isKeyReleased;

return new KeyEventArgsExt(keyData, timestamp, isKeyDown, isKeyUp);
Expand Down

0 comments on commit feb4088

Please sign in to comment.