diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pynput/files | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pynput/files')
| -rw-r--r-- | dev-python/pynput/files/patches/uinput.patch | 19 | ||||
| -rw-r--r-- | dev-python/pynput/files/patches/wheel.patch | 11 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pynput/files/patches/uinput.patch b/dev-python/pynput/files/patches/uinput.patch new file mode 100644 index 000000000000..44d17e803ed1 --- /dev/null +++ b/dev-python/pynput/files/patches/uinput.patch @@ -0,0 +1,19 @@ +diff --git a/lib/pynput/_util/uinput.py b/lib/pynput/_util/uinput.py +index b0a6a78..c891b83 100644 +--- a/lib/pynput/_util/uinput.py ++++ b/lib/pynput/_util/uinput.py +@@ -72,6 +72,14 @@ class ListenerMixin(object): + except OSError: + continue + ++ # Some programmable mouse devices report each programmable input as ++ # a separate capability, so it is possible for a mouse to exceed ++ # keyboards in capability count; for this reason we will prefer a ++ # device with "keyboard" in its name ++ if 'keyboard' in next_dev.name.lower(): ++ dev = next_dev ++ break ++ + # Does this device provide more handled event codes? + capabilities = next_dev.capabilities() + next_count = sum( diff --git a/dev-python/pynput/files/patches/wheel.patch b/dev-python/pynput/files/patches/wheel.patch new file mode 100644 index 000000000000..064b21ce5fe9 --- /dev/null +++ b/dev-python/pynput/files/patches/wheel.patch @@ -0,0 +1,11 @@ +diff --git a/setup.cfg b/setup.cfg +index 99723b7..8ae701e 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,6 +1,3 @@ +-[bdist_wheel] +-universal = 1 +- + [build_sphinx] + source-dir = docs + build-dir = build/docs |
