Grx.Event.prototype.get_device

function get_device(): Grx.Device {
    // Gjs wrapper for grx_event_get_device()
}
  

Gets the device associated with the event.

Returns

the device or null