Skip to content
Discussion options

You must be logged in to vote

Hi! Thanks for asking! This looks like a problem with libuiohook, or even Windows itself. It sounds similar to issue #59 - what's described there is that a modifier key can get stuck in the pressed state. I will look into it.

As for your comments:

  1. The Fn key is a hardware key, and as far as I know, even the OS doesn't handle it.
  2. I think it's somehow related to message processing in Windows, but I'm not sure.
  3. I don't think Avalonia has anything to do here, to be honest.

As for your questions:

  1. Yes, when you press and release a key, it should emit a down event, and then an up event with the same key code.
  2. Yes, they can - SharpHook provides this possibility as well. But I don't think that …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TolikPylypchuk
Comment options

@tkefauver
Comment options

Answer selected by TolikPylypchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants