xinput: more DeviceEvent improvements
xinput: more DeviceEvent improvements

- add DeviceEvent buttons state mask parsing
- map pointer events (ButtonPress, ButtonRelease, and Motion)

python-xlib/python-xlib,benoit-pierre/python-xlib,benoit-pierre/python-xlib,python-xlib/python-xlib