autoxkit 2.4.1__tar.gz → 2.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {autoxkit-2.4.1 → autoxkit-2.4.2}/PKG-INFO +1 -1
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/mousekey/mouse.py +3 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/window/window_action.py +4 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit.egg-info/PKG-INFO +1 -1
- {autoxkit-2.4.1 → autoxkit-2.4.2}/pyproject.toml +1 -1
- {autoxkit-2.4.1 → autoxkit-2.4.2}/LICENSE.txt +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/README.md +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/adb.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/binary.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/client.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/control.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/control_backup.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/models.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/android/streams.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/constants.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/hook/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/hook/event.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/hook/hook_listener.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/hook/hotkey_listener.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/match/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/match/match.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/mousekey/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/mousekey/input.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/mousekey/keyboard.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/utils.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/window/__init__.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/window/window.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit/window/window_match.py +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit.egg-info/SOURCES.txt +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit.egg-info/dependency_links.txt +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit.egg-info/requires.txt +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/autoxkit.egg-info/top_level.txt +0 -0
- {autoxkit-2.4.1 → autoxkit-2.4.2}/setup.cfg +0 -0
|
@@ -212,6 +212,8 @@ class WindowAction:
|
|
|
212
212
|
if mode == 'global':
|
|
213
213
|
if x is None or y is None:
|
|
214
214
|
self.mouse.mouse_down(button=button)
|
|
215
|
+
elif x == -1 and y == -1:
|
|
216
|
+
self.mouse.mouse_down(x, y, button)
|
|
215
217
|
else:
|
|
216
218
|
self.mouse.mouse_down(self.client_point.x + x, self.client_point.y + y, button)
|
|
217
219
|
return
|
|
@@ -243,6 +245,8 @@ class WindowAction:
|
|
|
243
245
|
if mode == 'global':
|
|
244
246
|
if x is None or y is None:
|
|
245
247
|
self.mouse.mouse_up(button=button)
|
|
248
|
+
elif x == -1 and y == -1:
|
|
249
|
+
self.mouse.mouse_up(x, y, button)
|
|
246
250
|
else:
|
|
247
251
|
self.mouse.mouse_up(self.client_point.x + x, self.client_point.y + y, button)
|
|
248
252
|
return
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "autoxkit"
|
|
7
|
-
version = "2.4.
|
|
7
|
+
version = "2.4.2"
|
|
8
8
|
description = "Python library for Windows automation and Android device screen casting and control"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|