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

Add Linux Support for Double Click Interval and Distance #1

Open
wants to merge 859 commits into
base: main
Choose a base branch
from

Conversation

R-ohit-B-isht
Copy link
Owner

@R-ohit-B-isht R-ohit-B-isht commented Jun 18, 2024

Add Linux Support for Double Click Interval and Distance

Description

This pull request adds Linux support for the get_double_click_interval_seconds and get_double_click_distance_pixels functions in the utils.py file. The implementation uses the xset q command to retrieve the double-click interval and distance on Linux. If the command fails, default values are returned.

Changes Made

  • Added Linux support for get_double_click_interval_seconds function.
  • Added Linux support for get_double_click_distance_pixels function.
  • Defined default values for double-click interval and distance on Linux if the xset q command fails.

Issue Reference

This pull request addresses the issue mentioned in OpenAdaptAI/OpenAdapt#144.

Testing

The changes have been tested to ensure they resolve the issue and work correctly on Linux platforms.

OpenAdapt Bot and others added 30 commits July 26, 2023 21:05
Automatically generated by python-semantic-release
* style: modify flake8 config

* add platform check for macOS in pyobjc-framework-avfoundation version

* remove file exclusion in .flake8 and add ignore comment in openadapt/strategies/__init__.py

* resolve lint errors from recent merge
Automatically generated by python-semantic-release
* add scrub toggle + write dark_mode to env

* Update config.py

* Update util.py

* Update config.py

* address comments

* Update config.py

* run isort

* from first

* Update openadapt/config.py

* Update openadapt/config.py

* Update openadapt/config.py

* Update openadapt/config.py

* Update openadapt/config.py

* Update openadapt/config.py

* add env file path (also where did the toggle go??)

* Update config.py

* Update config.py

* Update config.py

* isort

* Update util.py

* linted

---------

Co-authored-by: Richard Abrich <[email protected]>
Automatically generated by python-semantic-release
* chore: suppress identical warnings

* add max_num_warnings_per_second to limit number of allowed warnings per cond

* remove MAX_NUM_REPEAT_WARNINGS and check for max num warnings per second in utils.py

* Update openadapt/config.py

* address linting errors and set new variable

* use class for filter_log_messages and track message_timestamps with instance variable

* create logging.py to replace logging class using namespace

* test github actions with empty commit

* replaced variable name with MESSAGES_TO_FILTER

* Update openadapt/logging.py

---------

Co-authored-by: Richard Abrich <[email protected]>
* remove trf from toml and then ran `poetry update`

* update all neccessary files
Automatically generated by python-semantic-release
* check if modified flake8 works

* Add release github action

* Add oa-pynput and oa-atomacos and refactor accordingly

* Use simpler publish github action and rename to release-and-publish.yml

* add preview check in main.yml

* add documentation on publishing direct dependencies

* chore: resolve publishing github action errors
* add tray icon

* move to tray.py

* add notifications & guards

* pyinstaller currently broken

* Update tray.py

* Update cards.py

* hide icon in taskbar + minor improvements

* add dropdown for visualize

* Update tray.py

* Update tray.py

* add py6tray + notifier

* BYE BYE PYSTRAY !!!

hello dependency inversion?

* os.sep + fix console + other

* use path.join

* run -> _run

* add replays

* fix conflicting action items

* fix database is locked + threading

* type annotations

* Update cards.py

* Create visualize1.py

* Revert "Create visualize1.py"

This reverts commit 753f691.

* fix typo

* fix merge conflicts : still broken

* fix

* Revert "fix"

This reverts commit 9d84446.

* Revert "fix merge conflicts : still broken"

This reverts commit 82e62d9.

* Update pyproject.toml

* styling / linting

* Update tray.py

* Update build.py

* return vals

* Update build.py

* show app

* changes
Automatically generated by python-semantic-release
OpenAdapt Bot and others added 10 commits June 13, 2024 03:41
Automatically generated by python-semantic-release
* add scripts/downloads.py

* add total cumulative downloads to title

* add module docstring

* pagination

* add datetime

* accumulate by release_date

* black/flake8
Automatically generated by python-semantic-release
* fix: Fix broken posthog api

* fix types

---------

Co-authored-by: Richard Abrich <[email protected]>
Automatically generated by python-semantic-release
Automatically generated by python-semantic-release
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.

10 participants