If the event contains a "device" field, this function will return it, else it will return NULL.
a GdkDevice, or NULL. [transfer none] Since 3.0
See Implementation
If the event contains a "device" field, this function will return it, else it will return NULL.