[ Version ( since = "1.6" ) ]
public unowned InputDevice get_source_device ()
Retrieves the hardware device that originated the event.
If you need the virtual device, use get_device.
If no hardware device originated this event, this function will return the same device as get_device.
this |
a Event |
a pointer to a InputDevice or |