Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyboardHook - after using shift isn't resetting #202

Open
GoogleCodeExporter opened this issue Dec 13, 2015 · 4 comments
Open

KeyboardHook - after using shift isn't resetting #202

GoogleCodeExporter opened this issue Dec 13, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

If you're making a keyboard hook with shift you have to reset shift key
value (KeyboardHook.Shift to false).
Please fix it :)

Original issue reported on code.google.com by [email protected] on 3 Apr 2010 at 9:24

@GoogleCodeExporter
Copy link
Author

I don't exactly understand where the problem is happening here. Can you be more 
detailed? Thanks.

Original comment by [email protected] on 29 Sep 2010 at 5:27

@GoogleCodeExporter
Copy link
Author

Pseudocode:

KeyboardHook.Add(Keys.A, delegate()
{
if (KeyboardHook.Shift)
{
//some things
KeyboardHook.Shift = false;
//if you won't set Shift to false it will tell you that shift is pressed all 
the time
}
});

Original comment by [email protected] on 29 Sep 2010 at 2:37

@GoogleCodeExporter
Copy link
Author

muttdini, can you provide a patch for KeyboardHook.cs? That would be the best 
way to get this issue resolved.

Original comment by ian320 on 29 Sep 2010 at 5:03

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Well, I don't know what's wronq there

Original comment by [email protected] on 29 Sep 2010 at 5:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant