Skip to content

Commit e951ca9

Browse files
authored
Bump pynput to 1.8.* (#13583)
1 parent 8a21b85 commit e951ca9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

stubs/pynput/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "1.7.8"
1+
version = "1.8.*"
22
upstream_repository = "https://github.com/moses-palmer/pynput"
33

44
[tool.stubtest]

stubs/pynput/pynput/keyboard/_base.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,14 @@ class Key(enum.Enum):
7979
tab = cast(KeyCode, ...)
8080
up = cast(KeyCode, ...)
8181
media_play_pause = cast(KeyCode, ...)
82+
media_stop = cast(KeyCode, ...)
8283
media_volume_mute = cast(KeyCode, ...)
8384
media_volume_down = cast(KeyCode, ...)
8485
media_volume_up = cast(KeyCode, ...)
8586
media_previous = cast(KeyCode, ...)
8687
media_next = cast(KeyCode, ...)
88+
if sys.platform == "darwin":
89+
media_eject = cast(KeyCode, ...)
8790
insert = cast(KeyCode, ...)
8891
menu = cast(KeyCode, ...)
8992
num_lock = cast(KeyCode, ...)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy