get_source_device
Description:
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.
Parameters:
this |
a Event |
Returns:
a pointer to a InputDevice or |