master
grab_device
def grab_device(self, deviceid, time, grab_mode, paired_device_mode, owner_events, event_mask):