Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Demo/Demo/frmDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private void GlobalKeyHook_OnKeyPressed(object sender, GlobalKeyEventArgs e)
{
//If checkNoKeyPress is checked, we are not going to make a log for the key press event.
if (!checkNoLogKeyPress.Checked)
listLog.Items.Add(Misc.MakeKeyLog(e, Misc.KeyEventType.OnKeyUp));
listLog.Items.Add(Misc.MakeKeyLog(e, Misc.KeyEventType.OnKeyPress));
}

//If checkDisableAltF4 checkbox is checked and we are pressing alt + F4, let our system know that we are handling the input thus disabling it.
Expand All @@ -126,7 +126,7 @@ private void GlobalKeyHook_OnKeyDown(object sender, GlobalKeyEventArgs e)
if (!(checkNotLogModifier.Checked && e.IsModifierKey))
{
if (!checkNoLogKeyDown.Checked)
listLog.Items.Add(Misc.MakeKeyLog(e, Misc.KeyEventType.OnKeyUp));
listLog.Items.Add(Misc.MakeKeyLog(e, Misc.KeyEventType.OnKeyDown));
}

//If checkDisableAltF4 checkbox is checked and we are pressing alt + F4, let our system know that we are handling the input which in effect disabling it.
Expand Down