Grx.Device.prototype.get_has_pointer

function get_has_pointer(): Boolean {
    // Gjs wrapper for grx_device_get_has_pointer()
}
  

Gets if the device has mouse capabilities.

Returns

true if the device can generate button/motion events, otherwise false.