GameInputManager.Device
From Xojo Documentation
Method
This method 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 method on an incompatible platform. |
GameInputManager.Device(Index as Integer) As GameInputDevice
Supported for all project types and targets.
Supported for all project types and targets.
Gets the device at the specified index and returns a GameInputDevice.
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.