Returns the number of mouse devices currently attached to the system.
When true, built-in pointing devices (e.g. the MacBook built-in trackpad) are included. Defaults to false.
true
false
The number of attached mouse devices.
Returns the number of mouse devices currently attached to the system.