Get the hardware mouse creation properties (:get_properties)
This method is available in versions after 20260805
Declaration
properties = mouse_obj:get_properties()
Returns
- properties Table. A copy of the configuration properties saved when the device was created.
Description
Returns the configuration saved at creation time, which may include system-managed properties. This is not live system state, and the values ultimately used by iOS may differ.
Example
local m = assert(mouse.connect())
local properties = m:get_properties()
print(properties.Product)
print(properties.Transport)
assert(m:disconnect())