gdk.event.Event.getSourceDevice to get the slave device.
EventButton.device
gdk.device.Device device() @propertyGet device field.
Returns
the master device that the event originated from. Use
void device(gdk.device.Device propval) @propertySet device field.
Parameters
propval | the master device that the event originated from. Use gdk.event.Event.getSourceDevice to get the slave device. |