This script will be attachd to rules corresponding to change action of
mouse/pointer devices. At this time it will gather all pointers add
reattach them to the Virtual core pointer (Overhead of this approach can
be ignored as we will have very limited number of devices and addition
or removal of such devices wouldn't be a common thing.
In this commit module `xutil` is added which will contain utility
functions relatd to xorg (e.g. xinput, xrandr and ...).
modules and classes inside xutil are wrappers around those binaries.
This handler runs callback on usb events.
When a usb is connected following events will capture:
- add
- change
- add
- bind
- bind
and when usb mouse is removed following will captured:
- unbind
- remove
- unbind
- remove
these effects are tested with device logitech (R) B100 mouse.