Skip to content

Error: An argument 'injected' accidentally missing when calling function 'on_press' #654

@fuyuzheju

Description

@fuyuzheju

Description

This is an apparent bug.
In pynput/keyboard/_darwin.py, line 313 and line 315
former source code:

self.on_press(self._SPECIAL_KEYS[key])

apparently, an argument 'injected' is missing here.
maybe the solution is simply add the argument afterwards.

Platform and pynput version

on macos, pynput v1.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions