always come in keyboard/pointer pairs. Other device types will have a null associated device.
Device.associatedDevice
gdk.device.Device associatedDevice() @propertyGet associatedDevice property.
Returns
Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER