Returns the event mask for this corresponding to the device class specified by source.
source
a Window
a InputSource to define the source class.
source event mask for this