Skip to content

Problem calling CGEventTapCreate - wrong number of arguments. #9

@mckoss

Description

@mckoss

When I run the basic.py test, I get the error:

File "/Library/Python/2.6/site-packages/pymouse/mac.py", line 59, in run
None)
TypeError: function takes exactly 5 arguments (6 given)

Is there a change in the Event API? Note that I have XCode 4 installed. The C headers seem to match the 6-argument signature used in the python code.

I tried running this under root permissions as well as normal permissions.

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