Skip to content

Provide fallback value for FF_MAX_EFFECTS - #219

Merged
sezanzeb merged 1 commit into
gvalkov:mainfrom
KarsMulder:centos-patch-2
Apr 28, 2024
Merged

sezanzeb merged 1 commit into
gvalkov:mainfrom
KarsMulder:centos-patch-2

Conversation

@KarsMulder

@KarsMulder KarsMulder commented Apr 27, 2024 •

Copy link
Copy Markdown
Contributor

This is required to make python-evdev work on CentOS 7. On CentOS 7, the ecode FF_MAX_EFFECTS is not defined, which means that the function definition of UInput.__init__ fails to run, which causes the whole module to break on import.

This is required to make python-evdev work on CentOS 7.
@sezanzeb
sezanzeb merged commit 87c99f7 into gvalkov:main Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants