GdkEventMotion.device

the master device that the event originated from. Use gdk.event.Event.getSourceDevice to get the slave device.

struct GdkEventMotion
GdkDevice* device;