mnscript
InputButtonDevice Device.FindInputButton(string)
Description ​
Finds a connected Input Button Device
Arguments ​
string
- The device name to search for
Returns ​
InputButtonDevice
- The found device
Example ​
msc
using Device;
// Finds an Input Button device with the name "My Input Button"
InputButtonDevice button = Device.FindInputButton("My Input Button");