Skip to content

Commit

Permalink
Fix set key state.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed May 21, 2020
1 parent 7179e26 commit e84f3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScreenCast.Win/Services/KeyboardMouseInputWin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void SetKeyStatesUp()
try
{
var state = GetKeyState(key);
if (state == 1)
if (state == -127)
{
var union = new InputUnion()
{
Expand Down

0 comments on commit e84f3fe

Please sign in to comment.