Debounce Setting Clarification

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
mousetrap
New User
Posts: 9
Joined: Tue Oct 28, 2025 8:39 pm

Debounce Setting Clarification

Post by mousetrap »

XMBC Version: 2.20.5
Installed or Portable version: Portable
Windows Version: 11
How long have you used XMBC?: a few days :D
What language and keyboard layout do you use in Windows?: English

Question:
Should I increase or lower the ms if I am still getting errant double-clicks? I'm confused as to if I should make the window wider, as in longer time (to catch more potential clicks, but risk false-positives), or make it shorter? I couldn't figure this out from the manual or perusing the forum.

Pardon me for not intuitively understanding which it should be, and thank you for this excellent software! I am already appreciating other features SO much! :D
User avatar
phil
Site Admin
Posts: 7962
Joined: Sun Apr 06, 2003 11:12 pm

Re: Debounce Setting Clarification

Post by phil »

The de-bounce has been a tricky one - its difficult to do reliably at user level because the Windows scheduler has its impacts. It works by looking at the timestamps on the mouse messages, and if two click messages occur within the time frame, it should block the second one. Usually button bounce messages are very quick, and it needs to not block intentional double clicks, so the timing can be quite important. But generally, if the messages are not being blocked, you can try increasing the value, which should cause it to block more - but that might have a negative impact for double clicks.

If you enable debug logging, you can see the timestamps on those mouse messages - which might help you come to a suitable value (but beware that enabling debugging in itself can slow things down as it has to write much more to the log file - something to bear in mind!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
mousetrap
New User
Posts: 9
Joined: Tue Oct 28, 2025 8:39 pm

Re: Debounce Setting Clarification

Post by mousetrap »

Thank you much for those details/clarifications! I've been experimenting blindly, so it is helpful having confirmation that increasing the value will block more, so I will play with that further now with more confidence. :)