Skip to content
Discussion options

You must be logged in to vote

2 not-so-nice things come to mind:

  1. listen to mousemove as well. Once you receive this event you can assume the user stopped dragging - this should be kept Windows only. Problem here is that this won't work if the user keeps their mouse completely still (fairly hard imo) on button release.
  2. use something like the rdev crate on the rust side, it keeps reporting events here.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Horbin-Magician
Comment options

@FabianLars
Comment options

@Horbin-Magician
Comment options

Answer selected by Horbin-Magician
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