GameInputManager.DeviceCount
From Xojo Documentation
Method
This method is only available on macOS and Linux platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Returns as an Integer the number of input devices.
Example
This example gets the list of all the devices on the user‘s computer and displays them in a ListBox. mManager is a GameInputDevice instance that has been added to the window.