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.
Files changed (53) hide show
  1. {keybinds-1.3.3 → keybinds-1.3.4}/PKG-INFO +5 -6
  2. {keybinds-1.3.3 → keybinds-1.3.4}/README.md +458 -459
  3. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/__init__.py +1 -1
  4. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_backend.py +60 -20
  5. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_keyboard.py +859 -857
  6. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_mouse.py +341 -341
  7. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/keyboard.py +1154 -1154
  8. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/winput.py +12 -6
  9. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/PKG-INFO +5 -6
  10. {keybinds-1.3.3 → keybinds-1.3.4}/pyproject.toml +1 -1
  11. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_bind_wait_and_is_pressed.py +154 -154
  12. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_runtime_edge_cases.py +590 -590
  13. {keybinds-1.3.3 → keybinds-1.3.4}/LICENSE +0 -0
  14. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_async.py +0 -0
  15. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_base_bind.py +0 -0
  16. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_bind_registry.py +0 -0
  17. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_constants.py +0 -0
  18. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_dispatcher.py +0 -0
  19. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_hook.py +0 -0
  20. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_parsing.py +0 -0
  21. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_state.py +0 -0
  22. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/_window.py +0 -0
  23. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/bind.py +0 -0
  24. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/decorators.py +0 -0
  25. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/__init__.py +0 -0
  26. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/analysis.py +0 -0
  27. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/core.py +0 -0
  28. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/models.py +0 -0
  29. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/reporting.py +0 -0
  30. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/diagnostics/tracing.py +0 -0
  31. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/__init__.py +0 -0
  32. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/abbreviation.py +0 -0
  33. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/parsing.py +0 -0
  34. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/logical/translate.py +0 -0
  35. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/presets.py +0 -0
  36. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/simple.py +0 -0
  37. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/types.py +0 -0
  38. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/LICENSE +0 -0
  39. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/__init__.py +0 -0
  40. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds/winput/vk_codes.py +0 -0
  41. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/SOURCES.txt +0 -0
  42. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/dependency_links.txt +0 -0
  43. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/requires.txt +0 -0
  44. {keybinds-1.3.3 → keybinds-1.3.4}/keybinds.egg-info/top_level.txt +0 -0
  45. {keybinds-1.3.3 → keybinds-1.3.4}/setup.cfg +0 -0
  46. {keybinds-1.3.3 → keybinds-1.3.4}/setup.py +0 -0
  47. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_bind_registry.py +0 -0
  48. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_decorators_and_simple.py +0 -0
  49. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_diagnostics.py +0 -0
  50. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_logical_parsing.py +0 -0
  51. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_parsing.py +0 -0
  52. {keybinds-1.3.3 → keybinds-1.3.4}/tests/test_runtime_bindings.py +0 -0
  53. {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
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()` is true only when the current chord step is fully held (same `ChordPolicy` / `InjectedPolicy` rules as matching).
213
- `any_pressed()` is true if any key or button belonging to that step is held.
214
- `pressed_keys()` returns those held keys: sorted VK codes for keyboard/logical binds, or `[button]` / `[]` for mouse.
215
- Text-sequence and abbreviation binds: `any_pressed()` follows buffer/pending match; `pressed_keys()` returns `[]`.
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