forked from OpenAdaptAI/OpenAdapt
-
Notifications
You must be signed in to change notification settings - Fork 0
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
R-ohit-B-isht
wants to merge
859
commits into
main
Choose a base branch
from
linux-support-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
* 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]>
Co-authored-by: M <[email protected]>
…/puterbot into share-magic-wormhole
* 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
* 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
* add scripts/downloads.py * add total cumulative downloads to title * add module docstring * pagination * add datetime * accumulate by release_date * black/flake8
* fix: Fix broken posthog api * fix types --------- Co-authored-by: Richard Abrich <[email protected]>
…tAI#758) * repair VisualReplayStrategy * black/flake8
R-ohit-B-isht
force-pushed
the
linux-support-fix
branch
from
June 21, 2024 10:20
1f9e207
to
489bbb6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Linux Support for Double Click Interval and Distance
Description
This pull request adds Linux support for the
get_double_click_interval_seconds
andget_double_click_distance_pixels
functions in theutils.py
file. The implementation uses thexset q
command to retrieve the double-click interval and distance on Linux. If the command fails, default values are returned.Changes Made
get_double_click_interval_seconds
function.get_double_click_distance_pixels
function.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.