autoxkit 2.4.0__tar.gz → 2.4.1__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.0 → autoxkit-2.4.1}/PKG-INFO +1 -1
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/hook/hook_listener.py +3 -3
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit.egg-info/PKG-INFO +1 -1
- {autoxkit-2.4.0 → autoxkit-2.4.1}/pyproject.toml +1 -1
- {autoxkit-2.4.0 → autoxkit-2.4.1}/LICENSE.txt +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/README.md +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/adb.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/binary.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/client.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/control.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/control_backup.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/models.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/android/streams.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/constants.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/hook/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/hook/event.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/hook/hotkey_listener.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/match/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/match/match.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/mousekey/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/mousekey/input.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/mousekey/keyboard.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/mousekey/mouse.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/utils.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/window/__init__.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/window/window.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/window/window_action.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit/window/window_match.py +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit.egg-info/SOURCES.txt +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit.egg-info/dependency_links.txt +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit.egg-info/requires.txt +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/autoxkit.egg-info/top_level.txt +0 -0
- {autoxkit-2.4.0 → autoxkit-2.4.1}/setup.cfg +0 -0
|
@@ -230,14 +230,14 @@ class HookListener:
|
|
|
230
230
|
print(f"[hook_listener] Exception in mouseup callback: {e}", file=__import__("sys").stderr)
|
|
231
231
|
|
|
232
232
|
elif wParam == HHC["MWheel"]:
|
|
233
|
-
delta = ctypes.c_short(ms.mouseData >> 16).value
|
|
233
|
+
delta = ctypes.c_short(ms.mouseData >> 16).value / 120
|
|
234
234
|
if delta > 0:
|
|
235
235
|
event = MouseEvent("MouseUp", "MUWheel", x, y, distance=delta)
|
|
236
236
|
for cb in self._on_mouseup:
|
|
237
237
|
try:
|
|
238
238
|
result = cb(event)
|
|
239
239
|
if result is True:
|
|
240
|
-
return 1
|
|
240
|
+
return 1 # 截断事件传播
|
|
241
241
|
except Exception as e:
|
|
242
242
|
print(f"[hook_listener] Exception in mouseup callback: {e}", file=__import__("sys").stderr)
|
|
243
243
|
elif delta < 0:
|
|
@@ -246,7 +246,7 @@ class HookListener:
|
|
|
246
246
|
try:
|
|
247
247
|
result = cb(event)
|
|
248
248
|
if result is True:
|
|
249
|
-
return 1
|
|
249
|
+
return 1 # 截断事件传播
|
|
250
250
|
except Exception as e:
|
|
251
251
|
print(f"[hook_listener] Exception in mousedown callback: {e}", file=__import__("sys").stderr)
|
|
252
252
|
|
|
@@ -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.1"
|
|
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
|
|
File without changes
|