GameInputDevice.ElementCount
From Xojo Documentation
Read-Only Property (As Integer )
This property is only available on macOS and Windows platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
The number of elements the device has.
Example
This example gets the number of GameInputDevices and then populates a PopupMenu with the names of those devices.