Skip to content

convert doubleclicktime to seconds#85

Closed
vargbahu wants to merge 1 commit intoimbus:mainfrom
vargbahu:double-click-time
Closed

convert doubleclicktime to seconds#85
vargbahu wants to merge 1 commit intoimbus:mainfrom
vargbahu:double-click-time

Conversation

@vargbahu
Copy link
Contributor

Description

mouse_device().GetDoubleClickTime() retrieves milliseconds, but InputDevice.delay() takes seconds as argument, which results in 10 times higher delay in double click (or clicking the same button twice)

Fixes # (issue)

doubleclick time is fixed (it was retrieved as milliseconds, but should be handled as seconds)

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Click the same button twice.

Test Configuration:

  • Firmware version:
  • Hardware:
  • OS:
  • Browser (if applicable):

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.

Additional Notes

@vargbahu vargbahu closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant