keybinds 1.3.3__tar.gz → 1.3.4__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.
- {keybinds-1.3.3 → keybinds-1.3.4}/PKG-INFO +5 -6
- {keybinds-1.3.3 → keybinds-1.3.4}/README.md +458 -459
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/__init__.py +1 -1
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_backend.py +60 -20
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_keyboard.py +859 -857
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_mouse.py +341 -341
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/keyboard.py +1154 -1154
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/winput.py +12 -6
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/PKG-INFO +5 -6
- {keybinds-1.3.3 → keybinds-1.3.4}/pyproject.toml +1 -1
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_bind_wait_and_is_pressed.py +154 -154
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_runtime_edge_cases.py +590 -590
- {keybinds-1.3.3 → keybinds-1.3.4}/LICENSE +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_async.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_base_bind.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_bind_registry.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_constants.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_dispatcher.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_hook.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_parsing.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_state.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_window.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/bind.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/decorators.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/__init__.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/analysis.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/core.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/models.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/reporting.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/tracing.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/__init__.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/abbreviation.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/parsing.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/translate.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/presets.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/simple.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/types.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/LICENSE +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/__init__.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/vk_codes.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/SOURCES.txt +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/dependency_links.txt +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/requires.txt +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/top_level.txt +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/setup.cfg +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/setup.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_bind_registry.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_decorators_and_simple.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_diagnostics.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_logical_parsing.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_parsing.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_runtime_bindings.py +0 -0
- {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: keybinds
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: Flexible global keyboard & mouse hotkeys for Windows
|
|
5
5
|
Author: echolane
|
|
6
6
|
License: MIT License
|
|
@@ -209,11 +209,10 @@ bind.wait() # wait until the bind fires
|
|
|
209
209
|
bind.wait(0.5) # wait up to 0.5s, returns True/False
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
`is_pressed()`
|
|
213
|
-
`any_pressed()`
|
|
214
|
-
`pressed_keys()`
|
|
215
|
-
|
|
216
|
-
`wait(timeout=None)` blocks until the bind fires and returns `True`, or returns `False` on timeout.
|
|
212
|
+
- `is_pressed()` — the full chord is held.
|
|
213
|
+
- `any_pressed()` — any key/button of this bind is held.
|
|
214
|
+
- `pressed_keys()` — those keys (VKs, or the mouse button).
|
|
215
|
+
- `wait(timeout=None)` — block until the bind fires (`False` on timeout).
|
|
217
216
|
|
|
218
217
|
---
|
|
219
218
|
|