Skip to content

Add EventCode.is_defined to determine which event codes are known

Peter Hutterer requested to merge whot/python-libevdev:wip/is_defined into master

This makes it easier to determine which one of the codes actually exist and which ones are just made up because they fit below the respective REL_MAX, KEY_MAX, ...

cc @bentiss

Merge request reports