Pynput

Latest version: v1.8.1

Safety actively analyzes 724004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

1.7.3

-----------------------------------
* Corrected *keysym* handling on *Xorg*; not all groups were loaded, and the
fallback to our internal tables was never triggered. Thanks to *Philipp
Klaus*!
* Updated the version of *Quartz* used for the *macOS* backend to allow
*pynput* to be installed on *Big Sur*. Thanks to *Michael Madden*!
* Added missing function keys on *Windows*. Thanks to *Dave Atkinson*!
* Corrected scroll speed for mouse controller on *macOS*. Thanks to *Albert
Zeyer*!
* Corrected media keys for *Xorg*. Thanks to *Gabriele N. Tornetta*!
* Corrected parameter name in documentation. Thanks to *Jinesi Yelizati*!

1.7.2

--------------------------------------------------
* Corrected mapping of virtual key codes to characters for the *uinput*
backend.
* Corrected spelling errors. Thanks to *Martin Michlmayr*!
* Corrected and improved documentation.

1.7.1

---------------------------------------------
* Corrected thanks for arbitrary unicode character support for *Xorg*.

1.7.0

-----------------------------------------------------------------------
* Added a new *uinput* based keyboard backend for *Linux*, when no *X* server
is available.
* Allow typing arbitrary unicode characters on *Xorg* backend. Thanks to
*gdiShun*!
* Allow overriding the automatically selected backend with an environment
variable, and added a dummy backend.
* Added support for mouse side button on *Windows*. Thanks to *danielkovarik*!
* Added convenience method to tap keys.
* Allow specifying raw virtual key codes in hotkeys.
* Improved error messages when a backend cannot be loaded.
* Include more information in stringification of events.
* Corrected return value of ``Events.get`` to that specified by the
documentation.
* Corrected keyboard listener not to type random characters on certain
keyboard layouts.
* Corrected errors when pressing certain keys on *Windows*, where the
operating system reports that they are dead but no combining version exists.
* Improved documentation.

1.6.8

-----------------------------------
* Updated documentation.
* Corrected lint warnings and tests.
* Do not use internal types in ``argtypes`` for ``win32`` functions; this
renders them uncallable for other code running in the same runtime.
* Include scan codes in events on *Windows*. Thanks to *bhudax*!
* Correctly apply transformation to scroll event values on *Windows*. Thanks
to *DOCCA0*!

1.6.7

-----------------------------------
* Corrected infinite scrolling on *macOS* when providing non-integer deltas.
Thanks to *Iván Munsuri Ibáñez*!
* Corrected controller and listener handling of media keys on *macOS*. Thanks
to *Iván Munsuri Ibáñez*!

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.